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
Mark Vejvoda
39ad29ba3d
- attempt to improve rendering speed by rolling back render code to be more like 3.3.4
...
- added new ini setting to adjust http timeout and set default timeout to 10 seconds now
2010-07-07 18:50:55 +00:00
Mark Vejvoda
8478ab80b3
- bugfixes for malformed debug statements
...
- updated version to 3.3.5.1
- added more null checks
- changes to try to fix crash when ending a game (delete cells bug)
2010-07-06 05:30:34 +00:00
Mark Vejvoda
87b4706940
- Attempt to use libcurl in a thread safe manner
2010-06-23 14:49:20 +00:00
Mark Vejvoda
085d4e4bfe
- added more debug statements to try to track beta bugs
...
- added safer customization of ini files
- added ability to customize game keys
- added more error checking for ogg file loading
- added faction loader progress
- added a few more thread protections on custom menu
2010-06-12 18:27:39 +00:00
Mark Vejvoda
4fd75e5d7d
- fixed two nasty AI bugs which would cause out of synch and memory corruption problems
...
- added new glest.ini setting to log commands for each client
2010-06-08 07:40:32 +00:00
Mark Vejvoda
1d0836f0ba
-added another mutex release to fix a bug found from a segfault
...
-added a safer debug buffer output method
-added ability to specify precsion for floating point conversion
2010-06-05 15:48:50 +00:00
Mark Vejvoda
57f28913d0
- commented out streflop from random # generator
2010-06-01 19:48:35 +00:00
Mark Vejvoda
f70f0cc896
- a few changes to properly compile in win32
2010-06-01 01:17:37 +00:00