38 GetGameFlag(gameflag) -- returns true/false |
38 GetGameFlag(gameflag) -- returns true/false |
39 PlaceSprite(x, y, sprite, frameIdx [, landFlag, ... ]) -- sprite refers to an id from the TSprite list |
39 PlaceSprite(x, y, sprite, frameIdx [, landFlag, ... ]) -- sprite refers to an id from the TSprite list |
40 SetWaterLine(waterline) -- moves water level to the specified y. the current value is in read-only global waterline |
40 SetWaterLine(waterline) -- moves water level to the specified y. the current value is in read-only global waterline |
41 SetNextWeapon() -- make current hedgehog switch to next weapon. e.g. use in trainings to preselect weapon |
41 SetNextWeapon() -- make current hedgehog switch to next weapon. e.g. use in trainings to preselect weapon |
42 SetWeapon(ammoType) -- decide which weapon the current hedgehog should equip |
42 SetWeapon(ammoType) -- decide which weapon the current hedgehog should equip |
|
43 + Map Drawing: |
|
44 -- to be used in onGameInit() -- first set MapGen to mgDrawn and then use the commands below |
|
45 AddPoint(x, y [, width [, erase] ]) -- takes x,y location, a width (means start of a new line) and erase (if line should erase, not draw) |
|
46 FlushPoints() -- makes sure that all the points/lines specified using the command above are actually applied to the map |
43 + New global enumerations: |
47 + New global enumerations: |
44 Mapgens: mgRandom, mgMaze, mgPerlin, mgDrawn |
48 Mapgens: mgRandom, mgMaze, mgPerlin, mgDrawn |
45 TSprite values |
49 TSprite values |
46 LandFlags: lfIndestructible, lfIce, lfBouncy |
50 LandFlags: lfIndestructible, lfIce, lfBouncy |
47 + Changed functions: |
51 + Changed functions: |