Mark Vejvoda
2267011cbc
- try to optimize debug flag checking
2012-05-03 01:25:34 +00:00
Mark Vejvoda
897346d1f5
- added the beginning work to support translatable techtrees
2012-05-02 20:46:47 +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
8488b9c2b4
- speed up leak checker
...
- fix a few bugs that were discovered
2012-04-17 07:12:07 +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
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
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
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
Mark Vejvoda
c5331b7e8a
- initial work to save game state to XML. Current only saves when out of synch or game end occurs and saves to same folder as log files and file is called: megaglest-saved.xml
...
(Currently we store way too much info but this is a starting point)
2012-03-10 03:27:25 +00:00
Mark Vejvoda
835c886705
- few tweaks to get things compiling under mingw
2011-12-25 03:09:39 +00:00
Mark Vejvoda
9852325da6
- fixed Martiño Figueroa's name in all copyrights in source code
...
- added copyrights to files that were missing it
2011-12-14 07:40:48 +00:00
Mark Vejvoda
8bdf863636
- cleanup of masterserver global flag
...
- attempt to cut down on resources required for masterserver mode to minimize RAM
2011-12-02 22:04:02 +00:00
Mark Vejvoda
d33e1174a5
- bugfixes related to cppcheck report
...
- bugfixes found using valgrind (memory leaks)
2011-12-02 16:07:59 +00:00
Mark Vejvoda
30e1f45cc7
- intro is now fully translatable and configurable (see english.lng file at the bottom for intro strings)
...
- added game loading text strings to language file
- ONLY load the font type we are using
2011-11-02 17:17:28 +00:00
Mark Vejvoda
26afb589a3
- code cleanup (removing / commenting uneeded items)
2011-10-17 20:56:11 +00:00
Mark Vejvoda
aed293bba2
- fixed a bunch of memory leaks that will hopefully mean less overall memory requirements.
2011-09-28 06:57:42 +00:00
Mark Vejvoda
34ef62c59f
- fix win32 build (around definition of byte keyword)
2011-06-26 15:41:32 +00:00
Mark Vejvoda
1d5dcb4ded
- better bullet proofing of reading lng files
...
- able to run in old font mode for comparison
2011-06-11 10:31:24 +00:00
Mark Vejvoda
fc3f5bbfa0
- added some logic to 'try' to figure out when to render font test right to left and when not to
2011-06-09 05:54:04 +00:00
Mark Vejvoda
ef0fbc5886
- fixed broken win32 compiling
2011-06-08 08:00:23 +00:00
Mark Vejvoda
f65bfe8710
- added some bug fixes to check if lng files are utf-8 or not and deal with it appropriately
2011-06-08 07:18:06 +00:00
Mark Vejvoda
449e3f25c8
- updates to commondata handling. From now on commondata tag specified the commondata folder under a techtree making it easier to share data and portable since you just need to copy the techtree and its contents, this means no sharing data between techtrees (which is good since we don't want such dependencies)
2011-05-06 22:12:16 +00:00
Mark Vejvoda
8dbef7d7ea
- fixed configurator to properly read / write mg ini files
2011-04-17 07:04:38 +00:00
Mark Vejvoda
8be4bafdcf
- bugfix for segfault with new debug method needs to properly init debug system in a new area
2011-03-28 04:30:52 +00:00
Mark Vejvoda
6079e6de2b
- better handling of mod menu threading when user has no internet connection
2011-03-26 05:03:38 +00:00
Mark Vejvoda
8a9505e1e8
- added conditional check to only issue a stop command to units if they are not already stopped
...
- memory cleanup on unit errors
- mutex for checksum class
2011-03-23 00:49:21 +00:00
Mark Vejvoda
ae97a1306c
- added another special variable (application path) that can be used for variable substituion in ini file values
2011-03-10 19:19:14 +00:00
Mark Vejvoda
2101a83a5d
- added support for special tags in ini file strings in preparation for storing userdata in ~/.megaglest
2011-03-10 01:23:34 +00:00
Mark Vejvoda
cc973f3427
- bugfixes, some related to things pointed out by valgrind, some from opengl research and some for more stable operation
2011-02-12 07:34:32 +00:00
Mark Vejvoda
d10054f1c3
- moved sound system debug into a new debugSound property to lessen the impact of regular debug logging since sound processing is now threaded and therefore logging sound system items may slow down performance
...
- added texture caching for faction preview textures
2011-01-26 09:09:59 +00:00
Mark Vejvoda
66261ad662
- updated line endings to unix style characters to fix Bug #3085838
2011-01-20 15:56:30 +00:00
Mark Vejvoda
4649f761f6
- some libcurl usage bugfixes for multi-thread use
2011-01-15 22:42:33 +00:00
Mark Vejvoda
a7ca23d18e
- speed improvement for anti-hack checking
2011-01-15 04:13:15 +00:00
Mark Vejvoda
3dd6f244e6
- bugfix for CRC handling in connected menu
2011-01-10 00:33:40 +00:00
Mark Vejvoda
21c1da2e18
- added a new commandline parameter to display merged ini settings and also to filter on a specific ini setting
2011-01-03 20:59:18 +00:00
Titus Tscharntke
d09d29f520
new default settings for ultra/easy/mega ; dansk.lng up to date ; code cleanup
2011-01-02 12:18:14 +00:00
Mark Vejvoda
bd12b10e29
- bugfixes for debuglog filelist which crashes on windows platform on program exit
2010-12-31 01:53:16 +00:00
Mark Vejvoda
d997e2af5d
- bugfix, threaded logging was NOT ever enabled because of a timing bug. Now threaded logging is enabled by default.
...
- Updated debug UI view to show threaded debug buffer count
2010-12-25 09:15:49 +00:00
Mark Vejvoda
809d56e86c
- added option to log debug info using a worker thread, by default logging is NOT threaded. To enable:
...
ThreadedLogging=true
2010-12-23 19:47:40 +00:00
Mark Vejvoda
69e0130296
- added new --verbose commandline option
2010-12-22 00:31:30 +00:00
Mark Vejvoda
06b9d7eef7
- cleaned up a whole pile of compiler warnings
2010-10-21 15:21:46 +00:00
Mark Vejvoda
d5117ed7fa
- cleaned up a whole pile of compiler warnings
2010-10-21 07:20:17 +00:00
Mark Vejvoda
59c5fd2581
- moved version checking into one common method in the util file. Now all network related checks use this common method to determine version compatibility
2010-10-15 17:27:00 +00:00
Mark Vejvoda
0d050f62d4
- added code to now output all eerors to console (with option to save in log file)
...
- added more LUA debug info
2010-10-06 20:22:06 +00:00
Mark Vejvoda
ab44c83168
- added leak_dumper header all over the place (not yet functional in linux)
...
- Bugfix for particle cleanup
2010-09-07 05:25:40 +00:00
Mark Vejvoda
5ae0430928
- added more LUA functions:
...
int registerCellTriggerEventForUnitToUnit(int sourceUnitId, int destUnitId);
int registerCellTriggerEventForUnitToLocation(int sourceUnitId, const Vec2i &pos);
int registerCellTriggerEventForFactionToUnit(int sourceFactionId, int destUnitId);
int registerCellTriggerEventForFactionToLocation(int sourceFactionId, const Vec2i &pos);
int getCellTriggerEventCount(int eventId);
void unregisterCellTriggerEvent(int eventId);
int startTimerEvent();
int stopTimerEvent(int eventId);
int timerEventSecondsElapsed(int eventId);
int triggeredCellEventId();
int triggeredTimerEventId();
LUA events:
timerTriggerEvent
cellTriggerEvent
2010-08-29 04:45:15 +00:00
James McCulloch
e73324d317
* added DebugType debugPathFinder
2010-07-24 11:43:03 +00:00
Mark Vejvoda
add0275120
- now show more info when loading factions (which faction is currently being loaded)
...
- when AllowGameDataSynchCheck=true we now show count of files found in CRC check both to log and screen output
2010-07-17 20:10:16 +00:00
Mark Vejvoda
d1fa4975de
- added another xerces XML validation flag
...
- added new commandline option: opengl-info to output graphics card info
- added some opengl rendering optimzations
2010-07-12 06:30:54 +00:00
James McCulloch
bdd4f306f4
* added GAE path finder (SearchEngine and friends)
...
* some small changes to Unit, UnitType, Vec2<> & Map needed for the new path finder
* compiles, but not hooked up yet, old PathFinder still in use
2010-07-11 18:31:02 +00:00