Mark Vejvoda
505206059b
- added new lua method for Muwuum:
...
void giveStopCommand(int unitId)
bool selectUnit(int unitId)
void unselectUnit(int unitId)
void addUnitToGroupSelection(int unitId,int groupIndex)
void recallGroupSelection(int groupIndex)
void removeUnitFromGroupSelection(int unitId,int group)
void setAttackWarningsEnabled(bool enabled)
bool getAttackWarningsEnabled()
2012-10-17 20:15:50 +00:00
Mark Vejvoda
b65bdee592
- added more info to error message
2012-10-15 00:48:05 +00:00
Mark Vejvoda
e63e634e1e
- added a bit more lua and updated capture enemy flag
2012-10-13 07:33:33 +00:00
Mark Vejvoda
0180aa6bba
- added new lua functions:
...
triggeredCellEventUnitId()
showMarker(int flashCount, int factionIndex, string note, string textureFile,Vec2i pos)
1. The first one can be called in a cell trigger event and tell you which unit triggered the event
2. The second flashes a position in the minimap
2012-10-13 05:06:53 +00:00
Mark Vejvoda
87c3a11876
- bugfix for lua setUnitPosition method
2012-10-12 21:50:00 +00:00
Mark Vejvoda
a9d5af5261
- updated unit already in cell error with more detail
2012-10-11 14:23:31 +00:00
Mark Vejvoda
165f281f92
- added a few new lua functions to check if a cell is free
2012-10-09 20:03:09 +00:00
Titus Tscharntke
b05adbc6d5
make sure humans cannot cheat with multipliers
2012-10-06 10:05:34 +00:00
Mark Vejvoda
5e42c6dc03
- loads of code cleanup based on verbose output from the latest git version of cppcheck
2012-10-06 07:06:40 +00:00
Mark Vejvoda
97ba1a27e2
- cleaned up some warnings from VC++ compiler
2012-10-06 02:40:24 +00:00
Mark Vejvoda
a8b8dcf464
- humans may now have a custom resource multiplier
2012-10-05 22:43:00 +00:00
Mark Vejvoda
7c0e10684a
- added lua functions to add / remove cell markers:
...
addCellMarker(0,'test from scenario!','',cellMarker)
param1=factionindex
param2=cell hint
param3=empty string
param4=cellPosition
removeCellMarker(0,{46,13})
param1=factionindex
param2=cellPosition
2012-09-25 07:05:52 +00:00
Mark Vejvoda
3ede912b9a
- added support for custom video's on battle end screen:
...
look for videos in the following order:
1. check faction xml file for the following attributes (depends on win/lose) on the faction tag:
faction-battle-end-win-video="<path to video>"
faction-battle-end-lose-video="<path to video>"
if not defined 2. check the faction folder for the files:
battle_end_win_video.*
battle_end_lose_video.*
if not found check the data/core/menu/videos/ paths for:
battle_end_win.*
battle_end_lose.*
2012-09-25 00:23:25 +00:00
Mark Vejvoda
9e75b9144c
- removed cell marker from popup menu and moved to hotkeys (f2 add f3 remove)
...
- added a new experiemntal feature called 'follow unit'. select 1 unit then press f4 and when the unit moves the camera tries to look from the units perspective. To turn this off select no unit and press f4.
2012-09-24 17:13:27 +00:00
Mark Vejvoda
8e88b36723
- removed pathfinder from GAE and all references
2012-09-22 21:39:13 +00:00
Mark Vejvoda
871b6c4a6e
- removed deprecated 'fast' pathfinder that wasn't fast enough and is not going to be used
2012-09-22 21:05:06 +00:00
Mark Vejvoda
1c211e4ce6
- lots of code cleanup from the cppcheck
2012-09-22 20:13:57 +00:00
Titus Tscharntke
5b6ffbd361
again new morphing feature: better way to handle the blocked places for morphing units
2012-09-21 23:45:59 +00:00
Titus Tscharntke
78643ddcfc
savegame/loadgame works too now with the new blocking feature.
2012-09-15 23:43:31 +00:00
Titus Tscharntke
ed91a7c59b
morph with blocking places works now. I still want to cleanup this after some discussion with softcoder ( some things marked with TT )
2012-09-13 21:50:07 +00:00
Titus Tscharntke
75032c3287
reserve unit place while morphing. (first try)
2012-09-11 21:16:24 +00:00
Mark Vejvoda
e2fcf9ed94
- bugfix for lighting of tileset objects, when rotated objects had weird lighting causing random light patterns to show on them.
2012-08-13 21:46:27 +00:00
Mark Vejvoda
0b9ad4c457
- added support for throwing known errors and skipping stack traces (For friendlier error messages)
2012-07-20 23:51:10 +00:00
Mark Vejvoda
ed9ae076c5
- attempt to fix pizza's crash
...
- safer use of random # in unit updater (not backward compatible with other builds)
2012-07-20 23:07:44 +00:00
Mark Vejvoda
c42d44a53a
- attempt to fix pizza's crash
2012-07-20 22:18:34 +00:00
Mark Vejvoda
2b0e9e40d3
- added more error checking in scenarios
2012-07-18 00:35:39 +00:00
Mark Vejvoda
e4cec7319e
- added more error checking in scenarios
2012-07-18 00:21:39 +00:00
Mark Vejvoda
de2e889a4f
- added more error checking in scenarios
2012-07-18 00:15:39 +00:00
Mark Vejvoda
4d97c80561
- added more error checking in scenarios
2012-07-18 00:04:24 +00:00
Mark Vejvoda
9f0546c008
- set correct exit codes (for tomreyn)
...
- fix loading when too many units on map (do not segfault)
- deprecate ThreadedNetworkClient setting
2012-07-17 23:04:30 +00:00
Titus Tscharntke
e311c439f6
sound is no more switched on when switching factions ( not a 100% fix but I think good enough )
2012-07-15 19:45:55 +00:00
Mark Vejvoda
d9e2a64bb3
*NOTE: This is not backwards compatible with previous builds
...
- disable the alpha fog of war cache as it takes too much RAM (not sure if it really improves performance that much)
- inline some common functions for speed
2012-07-03 19:31:52 +00:00
Mark Vejvoda
0f5cb29919
- build silhouette now uses team colour and you see all team players building placement
...
- improve performance when rending cell markers
2012-06-22 13:30:15 +00:00
Mark Vejvoda
acc2a5f9c9
- show light green with alpha silhouette of building when unit is moving to a location to build another unit
2012-06-22 04:58:44 +00:00
Titus Tscharntke
ca39f8c6b1
new try with changed fighting behaviour of ultra and mega;
...
fix for "*" in chat
2012-06-04 21:53:20 +00:00
Titus Tscharntke
3f604ae359
I give up on this :( . Softcoder must help me here I don't understand whats going on. We still see out of syncs if this is commented in.
2012-05-31 21:54:00 +00:00
Titus Tscharntke
d6f04c66e0
ctNetworkCpuUltra was the problem ...
2012-05-31 20:59:04 +00:00
Titus Tscharntke
4a70d090a8
commented out all my last changes to hunt down out of sync
2012-05-30 23:17:17 +00:00
Titus Tscharntke
1595eb3043
Skill can be NULL ....
2012-05-30 22:26:55 +00:00
Titus Tscharntke
b8401bf208
Making it a bit random if standing or runnning units are attacked by Ultra/Mega CPUs
2012-05-30 21:53:41 +00:00
Titus Tscharntke
00b1bea1ac
CPU-Ultra and Mega attack standing units in attack range first now. Lets see if this is good ...
2012-05-30 20:35:27 +00:00
Mark Vejvoda
8fd436b612
- added new lua method to play video's in scenarios:
...
playStaticVideo
2012-05-22 06:17:56 +00:00
Mark Vejvoda
0f25276e6f
- applied patch from MuwuM
2012-05-21 20:15:37 +00:00
Mark Vejvoda
e2844938b7
- updated to not segfault when loading a saved game and tileset is not found
2012-05-11 19:52:34 +00:00
Mark Vejvoda
bf3e5a15bf
- modders can now override land and air field names using lng specific files for a tileset (follows same principle as techtree lng files). Currently supported translatable strings:
...
FieldLandName=Land
FieldAirName=Air
2012-05-11 05:49:47 +00:00
Mark Vejvoda
2d6cda1f6f
- more pathfinder tweaks to try improve performance
2012-05-09 23:56:14 +00:00
Mark Vejvoda
1b2b1f9821
- improved the new pathfinder using hashmap
2012-05-05 06:23:09 +00:00
Mark Vejvoda
f79222defa
- more pathfinder in progress changes, nothing to test yet
2012-05-05 04:38:49 +00:00
Mark Vejvoda
3ff0796bec
- some in progress pathfinder work
2012-05-04 21:03:52 +00:00
Mark Vejvoda
771ff91c1c
- added a new pathfinder to test to see if it performs better than the old one
2012-05-04 14:57:59 +00:00