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
3b56aa4475
- performance changes... (problem found by titi) most debug calls line are skipped when the debug flag is disabled even BEFORE getting into the handledebug method.
...
This improves performance VERY MUCH.
2011-03-28 03:54:23 +00:00
Mark Vejvoda
472fc2989a
- changed win32 to substitute $APPDATA for the current users app data folder instead of all users
2011-03-27 16:08:20 +00:00
Mark Vejvoda
5af6de5aec
- win32 now looks/stores userdata in the default windows appdata folder: C:\Documents and Settings\All Users\Application Data\megaglest (all dev users should copy all contents of mydata into this new location).. NOT INCLUDING the mydata folder itself
2011-03-27 15:16:28 +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
fcb1681de9
- now all libcurl calls support http redirection
2011-03-25 19:19:59 +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
7d38aec84a
- new commandline options to discover and optional delete unused files in techtrees
2011-03-15 15:30:28 +00:00
Mark Vejvoda
39bf1b986e
- added new commandline option to convert folders of g3d models to use specified texture format
...
- added new utility methods and changed code to use them (like adding trailing slash on paths)
2011-03-13 08:23:43 +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
819831a287
- misc logs and screenshots now also go in userdata folder
2011-03-10 17:31:55 +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
James McCulloch
87f21b71d6
init pathfinder log-file
2011-02-12 00:42:21 +00:00
Mark Vejvoda
0b4eef10c5
- added a very useful way to track mutex usage and performance timings of mutex locking to discover thread lock issues
2011-01-31 23:01:39 +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
9ba8668751
- win32 winsock bugfixes causing havok and grief for win32 users (corrupt winsock stack due to extra call to wsacleanup)
2011-01-17 23:45:09 +00:00
Mark Vejvoda
3814702b18
- more ftp bugfixes
2011-01-16 03:05:11 +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
f5ef3157e2
- compiler fix for win32 build
2011-01-11 22:16:47 +00:00
Mark Vejvoda
ccbd707ae1
- numerous bugfixes including fixing a slowdown introduced in a previous recent checkin.
...
- Added Network Text Message queue as this is required in some tricky cases
- added more logging of memory cleanup events
- added memory safe snprintf calls
2011-01-11 22:09:46 +00:00
Mark Vejvoda
3dd6f244e6
- bugfix for CRC handling in connected menu
2011-01-10 00:33:40 +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
03eaa2c033
numerous important bugfixes:
...
- observers and end game fog of war enable would most likely cause out of synch, I think its fixed now
- better handling of threaded logging
- cleanup of socket thread processing to ensure all network packets get processed properly and in order
2010-12-24 08:43:09 +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
mnaumann
d1c1d27584
* change HTTP user agent to conform with new software title (no dash)
...
* configure HTTP client to follow redirections ("Location:" header/3xx status)
* glest.ini: update master server, announcement and version check URLs; reorder MasterServerExternalPortList; add introduction text
2010-12-21 00:32:54 +00:00
Mark Vejvoda
045c2f95e8
- added new commandline options to tell the game where to look for data, ini's and where to write logs
2010-12-09 20:41:11 +00:00
Mark Vejvoda
df042b5bf2
- added another debug entry for client vs server version comparison
2010-12-05 03:41:44 +00:00
Mark Vejvoda
b02da7d1e0
- finally found and fixed out of synch related to AI.
...
- added ability to log all unit activity to world synch logfiles so we can diff game info from different network clients
2010-11-30 23:32:39 +00:00
Mark Vejvoda
960dfcabfb
- when calculating CRC on game data ignore XMl comments
2010-11-07 01:48:25 +00:00
Mark Vejvoda
edebc78d44
- when calculating CRC on game data ignore XMl comments
2010-11-07 01:39:57 +00:00
Mark Vejvoda
9e55d8e46b
- added a small cache to improve pathfinding a bit
...
- added logic to IGNORE the following characters when doing CRC checks in XML files
(space,tab,CR,LF)
2010-11-07 01:06:14 +00:00
Mark Vejvoda
79318735ab
- cleanup of last compiler warnings in Linux (hurray!)
2010-10-21 18:24:54 +00:00
Mark Vejvoda
cbe6860826
- more compiler warning cleanup
2010-10-21 16:36:26 +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
9490e64750
- turned on a flag for libcurl so timeout issues don't cause segfaults in threads
2010-10-15 17:49:18 +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
1353f61069
- added some additional safety around the logger in case we have problems opening files on the filesystem
2010-10-15 16:22:35 +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
958184e018
- more memory cleanup
2010-09-07 21:01:22 +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
2276df63b8
- attempt to speed up file CRC algorithm
2010-07-17 19:41:58 +00:00
Mark Vejvoda
7979c6568e
- attempt to speed up file CRC algorithm
2010-07-17 19:05:56 +00:00