Commit Graph

3107 Commits

Author SHA1 Message Date
Mark Vejvoda 3ff0796bec - some in progress pathfinder work 2012-05-04 21:03:52 +00:00
Mark Vejvoda 85f98e8f55 - added ini setting to enable new pathfinder (its off by defualt now).
EnableFastPathFinder=true
2012-05-04 16:48:14 +00:00
Mark Vejvoda b5d49bf9b6 - updated windows projects to include new pathfinder 2012-05-04 15: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
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 0120c5211a - added a default translation file for techtrees, <techtreename>_default.lng 2012-05-03 14:43:28 +00:00
Mark Vejvoda 2267011cbc - try to optimize debug flag checking 2012-05-03 01:25:34 +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 5c0db25c86 - added a few new lua methods to register cell 'areas' for unit or for factions for wciwow 2012-05-02 06:07:11 +00:00
Mark Vejvoda 35e9577d77 - does this fix the build on Arch Linux? 2012-05-01 20:22:18 +00:00
Mark Vejvoda 8d1300d9a1 - does this fix the build on Arch Linux? 2012-05-01 20:11:32 +00:00
Mark Vejvoda 20ffdbcf2d - fixed on windows platform 2012-05-01 15:21:09 +00:00
Mark Vejvoda a70b1a9881 - patch to compile on gcc 4.7 2012-05-01 14:55:06 +00:00
Mark Vejvoda 2c8b1739e5 - removed printf's as they slowed down pathfinding 2012-05-01 05:12:38 +00:00
Mark Vejvoda 624237ed47 - attempt to tweak the pathfinder a bit for performance when units are consistently having a hard time pathfinding we scale back their max cell count used in pathfinding until they have better success in pathfinding 2012-04-29 04:45:51 +00:00
Mark Vejvoda 4ee365e1ed - updated 2008 bat file 2012-04-26 19:47:29 +00:00
Mark Vejvoda a61f2941ec - try to fix build on 2010 2012-04-26 19:44:44 +00:00
Mark Vejvoda c5855874f0 - try to fix build on 2010 2012-04-26 19:24:52 +00:00
Mark Vejvoda 37c06ebcb0 - try to fix build on 2010 2012-04-26 19:17:16 +00:00
Mark Vejvoda 266c2cb4e1 - added more info to 2010 build file 2012-04-26 18:45:41 +00:00
Mark Vejvoda 1352f42854 - added support for checking if LuaJit library is installed and use that instead of normal Lua for increased lua performance (Currently only implemented in gcc builds) 2012-04-26 16:17:12 +00:00
Mark Vejvoda 2a1ee15a54 - applied patch for lua 5.2 2012-04-26 00:46:49 +00:00
Mark Vejvoda e5d1cada0e - fixed cmake build to work again with mingw 2012-04-24 03:52:06 +00:00
Mark Vejvoda c60900b4f5 - fix the maxcpucount commandline option 2012-04-23 22:42:42 +00:00
Mark Vejvoda 7423b4c6fa - added script to build eclipse project files for importing into eclipse so we can compile and debug from within eclipse 2012-04-21 18:37:48 +00:00
Mark Vejvoda b8fb60b325 - speed up the pathfinder a bit 2012-04-21 03:42:25 +00:00
Mark Vejvoda 12a76aec02 - small tweak to support multiple processors during build 2012-04-20 15:05:36 +00:00
Mark Vejvoda d46d073213 - updated build batch files to auto download deps test thier integrity and build mg 2012-04-20 14:28:25 +00:00
Mark Vejvoda 2fde84f93c - updated vc++ 2010 build file 2012-04-20 02:26:32 +00:00
Mark Vejvoda 7328304220 - fixed build for VC++ 2008 2012-04-20 02:18:23 +00:00
Mark Vejvoda 5d2c15ecec - added new build files for VC++ 2010 2012-04-20 02:16:06 +00:00
Mark Vejvoda 81890b0077 - fixed build on linux 2012-04-20 02:11:15 +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 329bb58b04 - a few code cleanup items while doing some testing in VC++ 2010 2012-04-17 19:42:53 +00:00
Mark Vejvoda aa831dbb61 - inlined a few more functions 2012-04-17 15:25:31 +00:00
Mark Vejvoda 6e7d4aeec5 - speed up some heavily used functions 2012-04-17 07:51:45 +00:00
Mark Vejvoda 8488b9c2b4 - speed up leak checker
- fix a few bugs that were discovered
2012-04-17 07:12:07 +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 ae91368a99 - memory leak checker fixed a few issues 2012-04-16 16:57:10 +00:00
Mark Vejvoda 1403a3fe44 - fixed a memory leak and fixed a segfault in a thread class 2012-04-16 15:46:22 +00:00
Mark Vejvoda a37dc8a7b3 - fix headless server crash due to new call to setgama in headless mode
- a few code optimizations to start to improve performance
2012-04-16 06:14:10 +00:00
Titus Tscharntke f612707849 "PleaseWait"-message while calculating all CRCs in mod menu. 2012-04-16 00:15:11 +00:00
Titus Tscharntke fe59fe8703 Bugfix: particles are also colored with daylight effect if they are created. ( if isDaylightAffected is set ) 2012-04-15 22:38:41 +00:00
Mark Vejvoda 5cfb7e85d5 - Added stack traces to win32 build when we detect an error 2012-04-14 22:48:49 +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
Titus Tscharntke ed201fa5d3 "save game" in ingame menu( I don't know how a quick "load last saved game" ould work from ingame menu :-/ ) 2012-04-13 23:13:02 +00:00
Mark Vejvoda 7f0b439d5d - some initial work for pathfinder changes (nothing enabled yet)
- added savegame info for network games to start thinking about how to allow players to reconnect to a network game.
2012-04-13 20:20:40 +00:00
Mark Vejvoda c83cfc6e03 - bugfix to save server ip's in join menu 2012-04-13 19:37:52 +00:00