cybermind
13ffa1d0b3
[+] Added CUnit flag Summoned to mark units which are summoned by spells
...
[*] Summoned units don't bother AI when attacked and join into AI attack forces to help in attack wave
[*] Some animation code clean-up
2013-05-12 21:09:02 +06:00
cybermind
a5d5580115
[*] Limit the count of AI forces available through Lua functions to 25.
...
The forces from 25 to 49 are used to hold attacking forces.
This fixes a situation when user couldn't use forces with bigger indexes because they were used to hold attacking force
2013-05-12 18:17:20 +06:00
cybermind
71f78c119e
[-] Fix crash when resource unit is destroyed
2013-05-12 18:12:43 +06:00
cybermind
a126ed9962
[+] Add CPreference::PauseOnLeave parameter to control the game pause when the window is inactive
2013-05-12 18:11:08 +06:00
cybermind
e6d1b09470
[*] Check button-specific allow conditions when Allowed field is filled with user condition
2013-05-12 14:32:57 +06:00
cybermind
aae9643d4a
[-] Fixed bug when research don't modify the stats of non-ready buildings
2013-05-12 14:30:06 +06:00
cybermind
92d8da8469
[-] Fixed bug when player loses resources if he stops resource-using action (upgrade-to, research etc)
2013-05-12 14:27:20 +06:00
cybermind
e0542ff0e1
[-] Fixed action freeze when speeds are lower than 100
2013-05-12 14:24:45 +06:00
cybermind
70d2627204
[+] Added CAnimation_SetVar changes into CAnimation_SetPlayerVar
2013-05-10 23:21:37 +06:00
cybermind
fbd6c30113
[+] Added AND, OR, XOR and NOT operators in CAnimation_SetVar
...
[+] Added string aliases for operators
2013-05-10 22:29:43 +06:00
cybermind
9cbf372306
[+] Added CclDefineSpell parameter "force-use-animation" to use animation code for "self" targeted spells (enables to use spells as some type of commands promted through button panel)
2013-05-10 22:16:08 +06:00
joris
cb88d6b3f7
Fix compilation with gcc
2013-05-10 15:08:16 +02:00
Tim Felgentreff
dc9f3e7485
merge lp:~timfelgentreff/stratagus/timfelgentreff-zoomeable-view
2013-05-10 09:16:26 +02:00
cybermind
2fa0216c2f
[+] Added CAnimation_LuaCallback which allows user to call lua functions from animations.
...
Usage: "lua-callback func_name arg1 [argN ...]"
2013-05-09 22:32:37 +06:00
cybermind
a63a4fff61
[+] Added drawlevel sorting for particles
2013-05-09 11:07:50 +06:00
cybermind
b9fb1bfd1b
[-] Spell_Teleport uses standard method for mana subtraction
2013-05-08 18:17:28 +06:00
cybermind
c25f13d6d4
[+] Added CUnitType::TeleportCost and CUnitType::TeleportEffect to customize portals
2013-05-08 18:10:35 +06:00
joris
da22b538d9
Fix clang warnings
2013-05-06 20:18:00 +02:00
cybermind
f7a5a173f7
[-] Fixed life bar drawing bug for extremly low values
2013-05-05 11:45:42 +06:00
cybermind
2901ead35c
[+] Added OnInit lua callback for CUnitType to initialize unit variables after creation
2013-05-04 19:45:27 +06:00
Tim Felgentreff
1f83197c56
print error message to stderr, not stdout
2013-05-01 18:41:37 +02:00
Tim Felgentreff
727ed53949
Only show -Z option in help text if compiled with OpenGL(ES) and make certain that -Z only works with OpenGL enabled
2013-05-01 18:37:39 +02:00
Tim Felgentreff
dae3545a7b
always translate mouse coordinates if we are zoomed
2013-05-01 13:56:24 +02:00
Tim Felgentreff
8ed21f7b44
use Viewport dimensions for video when using OpenGL
2013-05-01 12:42:41 +02:00
Tim Felgentreff
b137d90835
merge lp:stratagus
2013-04-30 20:36:53 +02:00
joris
e82dd1e975
Fix gcc warnings.
...
Fix Assert and DebugPrint macros.
2013-04-30 16:37:18 +02:00
cybermind
9c7004c8cc
[*] Spawn-portal spell improvement
2013-04-30 19:34:46 +06:00
cybermind
7383712a0d
[-] Fixed compilation for metaserver and in release mode
2013-04-30 17:33:12 +06:00
cybermind
b45c081b0b
[+] Added information in help for new command line parameters
2013-04-29 19:31:19 +06:00
cybermind
9c15e7939b
[+] Allow user to dump unit info in log using "-i" command line parameter
2013-04-29 19:22:59 +06:00
cybermind
befeb12084
[-] Correctly handle RegenerationRate modify in CclSetUnitVariable
2013-04-29 18:49:22 +06:00
cybermind
9a1f64f00e
[+] Player can enable and disable asserts or debug messages. Use -a or -p command line options.
...
[-] Replaced RefsAssert by Assert
2013-04-29 18:46:12 +06:00
cybermind
2e5a50d7e4
[-] Fixed incorrect in-game screenshots in software mode
2013-04-29 16:29:27 +06:00
cybermind
75bf724a78
[+] Added Opponents field in CServerSetup
2013-04-29 16:26:50 +06:00
joris
d06e4a584a
Replace CMap::ClearTile by Clear{Wood,Rock}Tile
...
Move MapField flags from tile.h to tileset.h
Add accessor for some CMapField members.
2013-04-26 15:04:33 +02:00
joris
be4b634e72
Clean up: Add const
...
Replace some code by more concise code.
2013-04-25 16:27:24 +02:00
joris
a1c9b4cebf
Add helpers in script.cpp to get value inside table directly.
2013-04-25 15:57:02 +02:00
joris
c89449df41
Fix previous commits.
2013-04-24 14:17:40 +02:00
joris
8610491675
Rename some arguments of CTileset methods.
...
Change some methods of CTileset as private.
Move hardcoded getDefaultTileIndex into CTileset.
2013-04-23 22:49:57 +02:00
joris
69246a0896
Add class CTile : regroups CTileset::NumTiles Table, FlagsTable, Tiles into CTileset::tiles.
...
Remove useless code.
Fix minimap of Editor.
2013-04-23 15:45:52 +02:00
joris
41969f7e94
Remove duplicated test.
...
Some factorisation in map_wall.cpp
2013-04-23 10:36:10 +02:00
cybermind
4a37c36524
[+] Added particle drawing check
2013-04-22 19:40:31 +06:00
joris
4b744633a1
Some clean up and renaming of tileset.
...
Fix docu.
2013-04-22 14:34:27 +02:00
Tim Felgentreff
ea34d6948e
merge lp:stratagus
2013-04-22 12:42:50 +02:00
Tim Felgentreff
b98da23503
Ensure we use absolute mouse coordinates on Windows touchscreen devices in fullscreen
2013-04-22 12:36:39 +02:00
Tim Felgentreff
13f388fea8
Fix bogus rectangle select when touch events jump around
2013-04-22 11:22:24 +02:00
Tim Felgentreff
30ff59a443
* Translate touch coordinates when using OpenGL zoom
...
* have the resolution option affect the viewport when using OpenGL zoom
2013-04-22 10:58:46 +02:00
joris
afe6b7e8cc
Move CMapField code into its own file. (and so remove map_save file)
2013-04-21 15:35:48 +02:00
joris
888fe50184
Remove dead code.
...
Fix docu.
Replace unsigned short *VisibleTable by std::vector..
2013-04-21 15:34:33 +02:00
joris
805ee08cdf
Fix compilation under MSVC.
2013-04-21 10:35:10 +02:00