Mark Vejvoda
646d11f143
- if unit harvests a resource, stops and harvest the same type again they do not need to return to the store house
2013-02-12 21:51:25 +00:00
Mark Vejvoda
589962868b
- added ability for units to return harvested resources in an emergency by clicking a store house when a unit has a load
2013-02-12 08:44:12 +00:00
Mark Vejvoda
c0fe242504
- allow for translated names to be shown for tutorials and scenarios in selection menu
2013-02-12 02:10:00 +00:00
Mark Vejvoda
7dae926cf2
- do not show errors on console for scenarios without a description
2013-02-09 17:18:34 +00:00
Mark Vejvoda
50e64e9564
- scenario description patch applied from Muwuum
2013-02-09 07:17:10 +00:00
Mark Vejvoda
9bc6d33f1d
- bug fixes to stabilize the windows build
2013-02-09 06:57:05 +00:00
Mark Vejvoda
adc62b7df8
- updated code to protect against null pointers and uninitialized values and threading issues
2013-02-05 00:01:40 +00:00
Mark Vejvoda
196d1240f1
- attempt to fix the crash in game originally reported by nig
2013-02-04 23:47:54 +00:00
Mark Vejvoda
f87b8b6ee2
- updated code to protect against null pointers and uninitialized values and threading issues
2013-02-04 08:30:43 +00:00
Mark Vejvoda
8dc637527a
- tighten up code.. ensure pointers set to null after delete, etc
2013-02-01 17:25:49 +00:00
Mark Vejvoda
fe942809e6
- fixed a few issues found by JeffM (debian games team irc channel) while testing on Windows 7 64 bit
2013-01-30 06:08:14 +00:00
Mark Vejvoda
d9fac85d21
- added more debug logging
2013-01-27 07:26:35 +00:00
Mark Vejvoda
8cd7aa0e43
- code cleanup from cppcheck
2013-01-25 02:55:28 +00:00
Mark Vejvoda
4d0811f0ec
- update debug stats to remove unused items
...
- disable interpolation when doing unit or resource selection
2013-01-12 07:36:14 +00:00
Mark Vejvoda
69a15d4544
- added a new skill to toggle fog of war for any command.
2013-01-11 18:40:47 +00:00
Mark Vejvoda
7b99501697
- added a new skill to toggle fog of war for any command.
2013-01-11 18:18:58 +00:00
Mark Vejvoda
5d2066fdbb
- added a new thread manager to try to see if it takes less CPU cycles while the thread controller waits for slaves to do their work. To enable the experimental thread manager set: EnableNewThreadManager=true
2013-01-10 21:16:28 +00:00
Mark Vejvoda
b96eba3829
- a better way to cache fog of war and use much less memory
2013-01-04 18:00:51 +00:00
Mark Vejvoda
1f49886755
- re-enabled fog of war cache to improve performance
...
- improve xml file loading speed
2013-01-03 17:30:59 +00:00
Mark Vejvoda
838d42599d
- attempt to see if this fixes some strange problems for user 'gonse'
2012-11-17 12:07:51 +00:00
Mark Vejvoda
1dbcabf12c
- minor feature request added from sourceforge, when command given cannot be executed, sometimes we show the requirements of the command so the user knows why it failed
2012-11-10 19:39:55 +00:00
Mark Vejvoda
ff58a868b3
- attempt to bugfix windows using proper printf syntax for data types
2012-11-10 06:37:23 +00:00
Mark Vejvoda
e0efa229c5
- more updates to support big endian
2012-11-01 06:36:35 +00:00
Mark Vejvoda
81989f5947
- bugfix if user clicks around while game loading
...
- cleanup from last checkin (corrections)
2012-10-26 04:35:14 +00:00
Mark Vejvoda
28d65e8d55
- cleanup from last checkin (corrections)
2012-10-26 03:08:40 +00:00
Mark Vejvoda
3419127632
- proper way to handle size_t objects (cleanup warning on other platforms)
2012-10-26 02:42:10 +00:00
Mark Vejvoda
2796922914
- a bit more code cleanup from cppcheck
...
- cleanup of english hints
2012-10-24 06:54:10 +00:00
Mark Vejvoda
64058b17e7
- code cleanup from cppcheck
...
- added more checks when loading models, maps and textures
2012-10-20 07:15:13 +00:00
Mark Vejvoda
011e0263b0
- lots more code cleanup, using safe buffer size code to avoid buffer overflows
2012-10-19 01:31:20 +00:00
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