Commit Graph

2999 Commits

Author SHA1 Message Date
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
Mark Vejvoda 9aca26a0f0 - bugfix for unit selection segfault on game exit
- added thread hardening to try to ensure we never try to delete a thread more than once.
2012-04-12 20:43:19 +00:00
Mark Vejvoda 76c3fa1949 - fixed segfault when a unit is selected and they die (this is a long standing bug and not related to savegame) 2012-04-12 15:38:53 +00:00
Mark Vejvoda 80e1e45ba8 - bugfix for over-riding irc channel and server 2012-04-12 06:03:21 +00:00
Titus Tscharntke f495a41a05 Extra option for menu rain effect ( needs update in language files german/english done ) 2012-04-11 22:19:50 +00:00
Mark Vejvoda cd5bce3b91 - removed configurator from cmake file
- applied libircclient patch from forums 'the Chakra project'
2012-04-11 18:58:38 +00:00
Mark Vejvoda 22f43f4267 - added new lua method for setting the direct position of a unit (can be used for teleporting):
setUnitPosition(int unitId, Vec2i pos)
2012-04-11 05:41:40 +00:00
Mark Vejvoda 7328875160 - bugfix for rain effect, now dynamically turns on/off when toggled in menu and hopefully fixes strange water splash bug 2012-04-11 05:18:00 +00:00
Mark Vejvoda ac015c8819 - fixed hp and ep regeneration so they can use negative values. 2012-04-11 04:48:36 +00:00