EMType

From Project X Wiki
Revision as of 13:25, 2 August 2012 by DonaldTurner (talk | contribs) (minor updates)
Jump to: navigation, search
Up one category:
Scripting

enum EMType = (M_FRAME = 2, M_DRAWQUEUE = 3, M_INPUT = 4, M_EXPLOSION = 28, M_ENTER = 36, M_SPACE = 38, M_GUNEXP = 75, M_REBUILDWPANEL = 106, M_SHOWMESSAGE = 85, M_SETTEAM = 67, M_TURNBEGIN = 52, M_AFTERRETREAT = 53, M_TURNEND = 55, M_SKIPTURN = 40, M_SETDELAY = 47, M_SETDELAYB = 48, M_UPDATEWIND = 84, M_SETWORM = 63, M_AFTERSHOOT = 73);


Enumeration that describes possible types of messages.

2. M_FRAME - This message is sent by CTurnGame to every object each game physics step.

3. M_DRAWQUEUE - Time to build queue of drawing sprites. Use RenderSprite etc. for it.

4. M_INPUT - This message sent by game before M_FRAME, for preparing reaction to user's input.

28. M_EXPLOSION - Explosion message.

36. M_ENTER - This is sent when the player presses enter (TODO: where is it called?)

38. M_SPACE - This is sent when the player presses space (TODO: where is it called?)

40. M_SKIPTURN - Sent when the player skips the turn

47. M_SETDELAY - Sent when the player sets the delay using the 1-5 keys.

48. M_SETDELAYB - huh (bounce?)

52. M_TURNBEGIN - Called when the turn begins. (Called when the worm becomes active)

53. M_AFTERRETREAT - Called when the retreat time is over.

55. M_TURNEND - Called when the turn ends. (Called when the worm becomes inactive)

63. M_SETWORM - idk

67. M_SETTEAM - wat

??. M_SETWEAPON - Called when the weapon selected.

73. M_AFTERSHOOT - Called after the player shoots.

75. M_GUNEXP

84. M_UPDATEWIND - Updates the wind bar at the bottom right

85. M_SHOWMESSAGE

106. M_REBUILDWPANEL - wat

Bangladesh rickshaw puller starts clinic for the poor

Joynal Abedin still remembers the rainy and windy night when he saw his father die because there was no medical treatment. His village in the northern Mymensingh district of Bangladesh did not have any medical facility at that time, and the nearest hospital was about 20km (12 miles) away.

[Bangladesh rickshaw puller starts clinic for the poor]

[GoodvilleNews.com - good, positive news, inspirational stories, articles]

Starting A Slow Story Movement

"It is said that we become the stories that we tell among ourselves. This might have been true before we became salespersons. For a few decades now, I think we have become numb to the stories that we tell among ourselves. So stories have become shorter and crisper to the length of a tweet. We are so committed to telling a story to the point that finally what remains is a dimensionless point.

[Starting A Slow Story Movement]

[GoodvilleNews.com - good, positive news, inspirational stories, articles]

Starting A Slow Story Movement

"It is said that we become the stories that we tell among ourselves. This might have been true before we became salespersons. For a few decades now, I think we have become numb to the stories that we tell among ourselves. So stories have become shorter and crisper to the length of a tweet. We are so committed to telling a story to the point that finally what remains is a dimensionless point.

[Starting A Slow Story Movement]

[GoodvilleNews.com - good, positive news, inspirational stories, articles]

Three Qualifications for the New Politician

There are plenty of politicians who genuinely desire to serve their communities and nations with humility and integrity, dedicating their lives to the cultivation of a wisdom that will benefit society at large; sadly, they are a minority.

[Three Qualifications for the New Politician]

[GoodvilleNews.com - good, positive news, inspirational stories, articles]

Not Your Usual Panhandler

Doug Eaton wanted to celebrate his birthday on June 11 in a big way, so he turned to his friends for ideas -- ended up marking the day with random acts of kindness, including handing out free money to people passing by.

[Not Your Usual Panhandler]

[GoodvilleNews.com - good, positive news, inspirational stories, articles]