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
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
8cd7aa0e43
- code cleanup from cppcheck
2013-01-25 02:55:28 +00:00
Mark Vejvoda
51a0b50bc2
- applied changes from Muwuum for full translatable game experience
2013-01-16 21:16:59 +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
4ea22920bf
- added a new skill to toggle fog of war for any command.
2013-01-11 18:26:30 +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
f40447cc96
- make most of the attack boost xml settings optional instead of required as requested
2012-12-26 07:57:10 +00:00
Mark Vejvoda
aea1643ed1
- updated for debian compliance
2012-11-12 04:55:33 +00:00
Mark Vejvoda
8ba5524f35
- updated error handling to be more flexible so we can display better error details (like bad tga file, etc)
2012-11-10 23:19:42 +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
5c15a0e9f4
- cast to unsigned int for all calls to srand
2012-10-30 17:12:04 +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
011e0263b0
- lots more code cleanup, using safe buffer size code to avoid buffer overflows
2012-10-19 01:31:20 +00:00
Mark Vejvoda
9634ba58d4
- fixed faction previews for linked factions
2012-10-16 19:07:50 +00:00
Mark Vejvoda
0c7d089b93
- bugfix for validation (Accidentally removed morph command check)
2012-10-15 06:13:08 +00:00
Mark Vejvoda
6c62d675c3
- validation now checks for spawn attack units so it does not mis-report suck skills
...
- badly named texture in g3d model now reports which model file has the problem
2012-10-14 23:57:49 +00:00
Mark Vejvoda
4a972c9499
- fix invalid report of missing files of the linked faction xml when using linked factions
2012-10-14 21:59:35 +00:00
Mark Vejvoda
68b1ae54b5
- validation now works on techtree's with linked factions
2012-10-14 21:40:35 +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
eecbed5090
- updated game loading info to show # skills loading
2012-10-04 06:01:47 +00:00
Mark Vejvoda
5e57921fef
- some speed optimizations in areas mentioned by perf tool
2012-09-27 15:04:28 +00:00
Mark Vejvoda
4e195e10af
- updated random seed generation to be more random
2012-09-27 06:42:57 +00:00
Mark Vejvoda
1c211e4ce6
- lots of code cleanup from the cppcheck
2012-09-22 20:13:57 +00:00
Mark Vejvoda
366160fee7
- updated error message to be more clear and specify which techtree is involved
2012-07-20 15:31:56 +00:00
Mark Vejvoda
48b3a81cbd
- bugfix for validation techtree (resources with particles caused crash on validate)
2012-05-24 07:08:31 +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
3b9f799d26
- it is now possible to explicitly specify which units should count towards victory conditions. In the unit's xml file add:
...
<?xml version="1.0" standalone="no"?>
<unit>
<parameters>
<!-- valid values are true or false for this optional parameter -->
<count-in-victory-conditions value="false"/>
</parameters>
</unit>
2012-05-03 20:25:35 +00:00
Mark Vejvoda
b84c69a93b
- translatable techtrees, currently supported resource names, unit names and upgrade names. For each techtree created a lang folder in the techtree main folder. Now create language specific files <techtree>_language.lng as we do for scenarios. In the file add:
...
ResourceTypeName_<name>=My new resource name
UnitTypeName_<name>=<name>=my new unit name
UpgradeTypeName_<name>=my new upgrade name
2012-05-02 21:00:57 +00:00
Mark Vejvoda
897346d1f5
- added the beginning work to support translatable techtrees
2012-05-02 20:46:47 +00:00
Mark Vejvoda
b8fb60b325
- speed up the pathfinder a bit
2012-04-21 03:42:25 +00:00
Mark Vejvoda
dbb116f250
- load of changes to get things compiling under VC++ 2010 (with updated deps seperate for vc2010)
2012-04-20 01:04:05 +00:00
Mark Vejvoda
aa831dbb61
- inlined a few more functions
2012-04-17 15:25:31 +00:00
Mark Vejvoda
c8fdc9269f
- fix win32 build
...
- cleanup a lot of win32 compiler warnings
2012-04-16 20:15:57 +00:00
Mark Vejvoda
3b8dd289ac
- updated cmake to check for support of backtraces in gcc compiler
...
- fixed numerous bugs / warnings from cppcheck
2012-04-16 19:29:37 +00:00
Mark Vejvoda
8c0bf75bf5
- got built in memory leak working. Just edit leak_dumper.h and uncomment:
...
//#define SL_LEAK_DUMP
- got better / more accurate stack dumps when we detect errors in game.
- Both of these need to be worked on in windows next, win32 may not compile for now until i fix it on that platform.
- BE VERY CAREFUL when working in leak_dumper.* it may cause GCC and your system to crash if you don't know what you are doing!
2012-04-14 21:21:09 +00:00
Mark Vejvoda
ac015c8819
- fixed hp and ep regeneration so they can use negative values.
2012-04-11 04:48:36 +00:00
Mark Vejvoda
2ab041813f
- code cleanup based on cppcheck report
2012-04-05 03:53:59 +00:00
Mark Vejvoda
a23a9396c2
- added new over-ridable minimum spacing between buildings for the AI player
2012-04-02 16:11:13 +00:00
Mark Vejvoda
d16396db0a
- more save / loadgame bugfixes
2012-04-02 15:17:31 +00:00
Mark Vejvoda
0254f8a507
- added ability for 'air' and 'land' to be internationalized in the lng files:
...
FieldAir=Air
FieldLand=Land
- next step is to make a way for tilesets to have lng files (like scenarios)
2012-04-02 02:07:32 +00:00
Titus Tscharntke
7f0aaebf50
XML option to hide a resource from the HUD
2012-04-01 19:42:59 +00:00
Titus Tscharntke
45ff24dbd7
new switch "count-kill-for-unit-upgrade" if a unit has set this switch to false , killing it does not count up the number of kills of the attacking unit.
2012-03-31 10:14:42 +00:00
Mark Vejvoda
030582c1ef
- added a new EnumParser class to convert enum to string and vice versa
...
- factions can now customize some more of the AI behavior
2012-03-31 05:54:24 +00:00
Titus Tscharntke
d8ba2443cf
new switches "count-unit-death-in-stats", "count-unit-production-in-stats" and "count-unit-kill-in-stats" for unit.xml ( allows better "resource" production for example )
2012-03-30 23:38:05 +00:00
Mark Vejvoda
9286130138
- bugfixes and code cleanup found using cppcheck
2012-03-28 06:25:57 +00:00