Commit Graph

689 Commits

Author SHA1 Message Date
Mark Vejvoda a9534e727e - attempt to look for corrupt XML data 2011-01-10 21:19:54 +00:00
Mark Vejvoda fb91c2b624 - added a new check for duplicate data (maps, tilesets and techtree names) 2011-01-10 20:27:25 +00:00
Mark Vejvoda 1e2da898b7 - bugfix for ftp client using wrong ftp username in some cases 2011-01-10 07:43:52 +00:00
Mark Vejvoda 3dd6f244e6 - bugfix for CRC handling in connected menu 2011-01-10 00:33:40 +00:00
Mark Vejvoda 7bc6b603b9 - lua bugfix for fog of war toggling
- ftp client bugfix for reported segfault
2011-01-10 00:05:31 +00:00
Mark Vejvoda 6c5163d1e9 - attempt to improve openal's buffer underruns 2011-01-09 09:46:10 +00:00
Mark Vejvoda 26cdb8ccad - more bugfixes for ftp painting 2011-01-09 09:05:34 +00:00
Mark Vejvoda 34c089b9ad - protect against socket signal in ftp server 2011-01-09 08:01:14 +00:00
Mark Vejvoda 74824fe753 - added some ftp logging to network debug log 2011-01-09 07:37:59 +00:00
Mark Vejvoda 912188679c - some ftp bugfixes and cleanup on ftp client that have failed transfers 2011-01-09 05:49:59 +00:00
Mark Vejvoda 1c78fca0fb - Added tileset and map CRC check in the network lobby
- numerous bugfixes
2011-01-09 04:49:21 +00:00
Mark Vejvoda e477fe647f - updates to codeblocks so win32 debug builds ok and cleanup of cmake that was using settings that compiler did not use 2011-01-08 00:42:12 +00:00
Mark Vejvoda e12692293a - cleanup a compiler warning 2011-01-07 06:28:42 +00:00
Mark Vejvoda 528b9cfb58 - compile fix for win32 VC++ 2011-01-07 06:26:23 +00:00
Mark Vejvoda b30fe62528 - to appease the security freaks, ONLY clients that are ALREADY connected in the lobby are able to connect to the built in FTP server now 2011-01-07 06:21:23 +00:00
Mark Vejvoda 6b89e38512 - forgot to apply a bugfix to feathery's win32 code, now more menu freeze for windows users who had FTP enabled 2011-01-07 04:57:54 +00:00
Mark Vejvoda a6cd69d9ed - a few bugfixes pointed out by tomreyn.. thanks 2011-01-07 04:32:41 +00:00
Mark Vejvoda 055293d027 - bugfix for code compiled in VC++ 2011-01-06 23:13:36 +00:00
Mark Vejvoda 180611c3e8 - bugfix for code compiled in VC++ 2011-01-06 23:05:58 +00:00
Mark Vejvoda 8ec51051c4 - fixed win32 build 2011-01-06 06:39:58 +00:00
Mark Vejvoda a5a744fcad - updated FTP code to use specific ports for MG and not random FTP ports 2011-01-06 00:52:00 +00:00
Mark Vejvoda 02e591c41d - some code cleanup 2011-01-04 20:55:10 +00:00
Mark Vejvoda b8e272519c - updates to file transfer progress bar 2011-01-04 20:00:39 +00:00
Mark Vejvoda f3eee457c0 - added an in progress bar when downloading tilesets
- clear the CRC cache after a new file is downloaded
2011-01-04 08:44:00 +00:00
Mark Vejvoda b385d4c2b1 - bugfix for static inclusion of libcurl 2011-01-04 02:55:45 +00:00
Mark Vejvoda f7d2631879 - added a few more special keys for available use as hotkeys (vkPause and vkPrint) 2011-01-03 22:22:52 +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 bcaf400689 No more MG Bot Messages; IRC chatting is disabled until really connected to irc. 2011-01-02 23:53:59 +00:00
Mark Vejvoda 3370fdd39f - attempt to fix socket freeze issue 2011-01-02 16:24:44 +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 83ff486e21 - code cleanup 2011-01-02 10:09:49 +00:00
Mark Vejvoda 5f4d3e9088 - numerous thread bugfixes related to menu stability and ftp server socket usage 2011-01-02 09:33:37 +00:00
Mark Vejvoda 2b1732e27e - overhaul of thread processing, especially in the menus, things now freeze much less and should be more reliable 2011-01-02 06:46:48 +00:00
Mark Vejvoda 9150701e70 - more thread guards for IRC Client 2011-01-02 04:16:24 +00:00
Mark Vejvoda 896b1c308c - added a backtrace for gcc compiled binary when we get a runtime error.
- added more out of synch checks and better error handling
2011-01-02 00:39:13 +00:00
Mark Vejvoda f63e76df74 - updated mingw cmake files to work with new libcurl version (requires new ming deps download) 2011-01-01 11:39:04 +00:00
Mark Vejvoda 539ab23e89 - updated cmake script to check for minimum libcurl version 2011-01-01 11:11:05 +00:00
Mark Vejvoda 8eeb0b550c - more ftp tileset bugfixes 2011-01-01 03:12:28 +00:00
Mark Vejvoda 7088f60425 - more ftp tileset bugfixes 2011-01-01 02:01:10 +00:00
Mark Vejvoda 79d2329559 - more ftp tileset bugfixes 2011-01-01 01:54:12 +00:00
Mark Vejvoda 093077810f - bugfix to add tileset requests into ftp client thread 2011-01-01 01:49:01 +00:00
Mark Vejvoda 2cdb8dd354 - initial work for tileset ftp transfers, needs some testing 2011-01-01 00:50:10 +00:00
Mark Vejvoda 7e55a545c4 - added code for ftp client to handle failures and menu exit more gracefully 2010-12-31 21:02:06 +00:00
Mark Vejvoda 1f29685803 - bugfixes for ftp server to work on windows, silly M$ compiler has issues with mixing C / C++ code so I had to make these changes 2010-12-31 21:00:25 +00:00
Mark Vejvoda d176053da9 - plenty of code cleanup (some refactoring of socket / UPNP code)
- FTP console output now only shows when --verbose used
2010-12-31 08:21:26 +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 0987536af8 - changed order of map searching, now we look in this order:
mydata/maps mgm file type
mydata/maps gbm file type
maps / mgm file type
maps/ gbm file type
2010-12-30 21:19:08 +00:00
Mark Vejvoda 973b546b04 - more bugfixes related to ftp and firewall handling 2010-12-30 20:02:30 +00:00
Mark Vejvoda 64446194e7 - more bugfixes related to ftp and firewall handling 2010-12-30 18:51:25 +00:00
Mark Vejvoda 1480d7c68d - bugfix for compiling in VC++ 2010-12-30 16:05:47 +00:00
Mark Vejvoda 3f0ee7a6cb - some initial changes to try to get ftp working over the Internet with firewalls etc 2010-12-30 15:56:02 +00:00
Mark Vejvoda 2ca50ee9f9 - attempt to avoid IRC client crashes on Internet menu if user does not have an Internet connection 2010-12-29 21:03:57 +00:00
Mark Vejvoda 4fb1b1092f - added ftp port # as an ini setting and added to UPNP for router auto-config
- added new language string for message box to prompt map file downloads
2010-12-29 20:28:25 +00:00
Mark Vejvoda 89a6ae3fe4 - updated win32 vc++ files to compile with new ftp server / client 2010-12-29 16:28:46 +00:00
Mark Vejvoda 0c3ceb7c99 - more ftp bugfixes 2010-12-29 08:04:31 +00:00
Mark Vejvoda a82f238d48 - more ftp bugfixes 2010-12-29 07:52:40 +00:00
Mark Vejvoda 99132eb23c - more ftp bugfixes 2010-12-29 07:35:31 +00:00
Mark Vejvoda 5e705d31c8 - more ftp bugfixes 2010-12-29 07:14:15 +00:00
Mark Vejvoda 385dd8733a - more ftp bugfixes 2010-12-29 07:02:14 +00:00
Mark Vejvoda c8c77f75e3 - more ftp bugfixes 2010-12-29 06:55:47 +00:00
Mark Vejvoda b84bede3df - ftp file xfer bugfixes 2010-12-29 06:11:06 +00:00
Mark Vejvoda e79147796f - more ftp updates 2010-12-29 01:32:55 +00:00
Mark Vejvoda 6e88e4be4c - got my plumbers suit on and added the plumbing for FTP file xfers 2010-12-29 01:10:53 +00:00
Mark Vejvoda 8d8afe78b5 - build fix for poor distros who have a hard time with libircclient (now we just include this small lib in the source tree) so no longer required as an external lib 2010-12-27 09:01:40 +00:00
Mark Vejvoda f7d95a6f6a - trying to tweak threaded logger performance when log entries are in the hundreds of thousands 2010-12-26 03:01:59 +00:00
Mark Vejvoda 8688ea955e - trying to tweak threaded logger performance when log entries are in the hundreds of thousands 2010-12-26 02:15:56 +00:00
Mark Vejvoda 40796f2d90 - attempt to bugfix threaded logger 2010-12-26 01:45:39 +00:00
Mark Vejvoda e4e7a456f5 - attempt to bugfix threaded logger 2010-12-26 01:27:49 +00:00
Mark Vejvoda 409c15d3f0 - more tweaking of threaded logging as well as removal of world synch logging items that are not needed 2010-12-26 01:13:04 +00:00
Mark Vejvoda 36f62ea084 - changes to threaded logging so when things get very busy the thread dumps log entries more quickly 2010-12-26 00:27:38 +00:00
Mark Vejvoda 2234928a35 - changes to threaded logging so when things get very busy the thread dumps log entries more quickly 2010-12-25 23:49:24 +00:00
Mark Vejvoda b006e72b53 - mutex cleanup in network classes to try to avoid game freeze( hangs) 2010-12-25 22:38:00 +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
nosogo 2a4c9a99cd help and bugfix editor and start of keyboard 2010-12-24 03:36:34 +00:00
Mark Vejvoda 97ee61165a updates to irc use in mastermenu:
- shows local username
- bugfixes for detecting new/dropped users in the irc channel
- lots of cleanup to remove use of so many static variables
2010-12-24 02:10:31 +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 c0c70217dc updated to support manual install of libircclient 2010-12-23 16:44:05 +00:00
Mark Vejvoda 8b0b6300ed - some cleanup for the new IRC client in the Masterserver menu, and changed default channel for in game IRC chat to megaglest-lobby 2010-12-23 07:42:15 +00:00
Mark Vejvoda 1d4de5e423 - updates to cmake for libircclient 2010-12-23 06:56:19 +00:00
Mark Vejvoda bafc574143 - added custom path for titi's old Ubuntu 2010-12-23 02:24:46 +00:00
Mark Vejvoda 7e6a7a85f7 - big fight to get libircclient compiled in VC++ but we won the battle (requires new win32 deps.. NOT ming deps) 2010-12-23 02:17:29 +00:00
Mark Vejvoda 313081f143 - bugfixes found when compiling on win32 2010-12-23 01:23:42 +00:00
Mark Vejvoda ea4f8e0bcd - added IRC client to the Internet game menu (still need to update VC++ projects) 2010-12-23 00:00:30 +00:00
Mark Vejvoda 69e0130296 - added new --verbose commandline option 2010-12-22 00:31:30 +00:00
Mark Vejvoda 8534fa59a9 - added more stable way of setting thread run state 2010-12-22 00:15:32 +00:00
Mark Vejvoda 443096d0db - updated win32 files / project to properly compile UPNP 2010-12-21 06:03:38 +00:00
Mark Vejvoda 628be74fb8 - added UPNP router auto-configure for Internet games (hurray) 2010-12-21 05:38:12 +00:00
Mark Vejvoda 3dd35c147b - updated codeblocks projects with new UPNP files 2010-12-21 05:24:22 +00:00
Mark Vejvoda bc90aa7ce4 - added UPNP router auto-configure for Internet games (hurray) 2010-12-21 05:07:10 +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 a844b79d3e - fixed an evil socket bug! Sockets in Linux were NOT properly set as non blocking and vice versa as expected. PErhaps this helps with the menu bug 2010-12-18 23:03:53 +00:00
Mark Vejvoda 6a99e2db8e - another attempt to guard socket thread access so avoid menu hang problems 2010-12-18 19:52:47 +00:00
Mark Vejvoda b148507411 - set anti-alias setting so it works if enabled 2010-12-17 02:53:52 +00:00
Mark Vejvoda 003d15c28a - updated cmake files to support toggling between release and debug builds (even release with debug info)
when calling CMAKE you may toggle debug or release like this:
cmake -D CMAKE_BUILD_TYPE=Debug ..
or
cmake -D CMAKE_BUILD_TYPE=Release ..
2010-12-12 08:10:18 +00:00
Mark Vejvoda 1984c61386 - final completion of tools now building in both linux and windows through cmake 2010-12-11 15:05:43 +00:00
Mark Vejvoda e34c8977e1 - a few changes to cmake windows build so that it runs properly (libglest must be a dll) 2010-12-11 13:35:27 +00:00
Mark Vejvoda f27cb6c8a3 - added support to cross compile win32 binary on Linux using cmake (just run build-mg-win32.sh) 2010-12-11 12:53:38 +00:00
Mark Vejvoda 755a7737fa - added CMAKE support for building MG in Windows using MingW 2010-12-11 06:32:21 +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 7f0a179340 - bugfix for vc++ compile (added #define for mingw) 2010-12-07 22:29:31 +00:00
Mark Vejvoda b605c65aa9 - updates to support both Windows and Linux targets from CodeBlocks Workspace 2010-12-07 07:00:11 +00:00
Mark Vejvoda 1e0a5dc304 - better stability of menu navigation and threads 2010-12-07 06:12:51 +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 7872e980e1 - updated thread handling slightly in menus to make things more stable 2010-12-05 01:52:38 +00:00
nosogo f545edad68 more fixes for editor 2010-12-05 01:33:28 +00:00
Mark Vejvoda 15aab7a581 - some intial changes to support cross-compilation under mingw 2010-12-04 23:19:43 +00:00
nosogo 04aee1098d update of editor and g3dviewer 2010-12-03 05:07:42 +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 664b2b1b7d - disabled another cache in pathfinder trying to hunt down xplatform out of synch 2010-11-28 00:07:08 +00:00
Mark Vejvoda d2de4eb22a - change to properly toggle socket blocking mode in Linux 2010-11-09 16:51:03 +00:00
Mark Vejvoda d89953ee96 - improved performance and bug fixes. 2010-11-09 09:06:52 +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 8e6609fdac - texture info now logged to debug log when appropriate instead of spamming the console 2010-11-05 09:49:57 +00:00
Mark Vejvoda 8ab95a5305 - added stack trace for windows users when exceptions occur (snagged the idea from sauerbraten) 2010-11-05 06:46:30 +00:00
Mark Vejvoda 3c7fbd1fd7 - for now disable refs to fbo's on windows platform till we decide if we include glew or not 2010-11-01 23:56:46 +00:00
Mark Vejvoda 9978cbeff5 - added some initial work to support FBO (frame buffer objects)
- added many NULL check guards throughout the code
- added a safe mutex around ptr access of background thread on custom menu
2010-11-01 16:44:05 +00:00
Mark Vejvoda d8c11ebe71 - thread synch bugfix in Internet Lobby Menu (thanks tomreyn for the stack trace) 2010-10-30 17:31:57 +00:00
Mark Vejvoda dec9dfe653 - added new attribute for tileset objects named "height". Air units will try to fly above the height of units and objects now (up to a max of terrain height + 15) 2010-10-30 04:05:48 +00:00
Mark Vejvoda 77bad3ce07 - added new default PNG format for doing screenshots AND the saving to disk is queued in a background thread allowing almost no delay when saving many screenshots! 2010-10-30 02:21:47 +00:00
Mark Vejvoda 369a0dc215 - fixed warnings when compiling in vc++ 2010-10-30 00:14:15 +00:00
Mark Vejvoda 13c4deb5b6 - added new screenshot format to be bmp (can be oveeriden by ini setting, and more formats may be added later) ScreenShotFileType=tga to revert to old default tga screenshots 2010-10-29 22:18:23 +00:00
Mark Vejvoda 27212dd962 - a bit of code cleanup related to supporting texture compression on Intel 2010-10-29 21:18:07 +00:00
Mark Vejvoda e299250f94 - try to add special texture compression types from GL_3DFX_texture_compression_FXT1 2010-10-29 20:53:20 +00:00
Mark Vejvoda 268730cfae - try to add special texture compression types from GL_3DFX_texture_compression_FXT1 2010-10-29 20:44:21 +00:00
Mark Vejvoda 200031874c - try to add special texture compression types from GL_3DFX_texture_compression_FXT1 2010-10-29 20:37:49 +00:00
Mark Vejvoda d5018d217e - try to add special texture compression types from GL_EXT_texture_sRGB 2010-10-29 19:58:43 +00:00
Mark Vejvoda 0e3ba69160 - try to add special texture compression types from GL_EXT_texture_sRGB 2010-10-29 19:55:47 +00:00
Mark Vejvoda 7ccca89dbf - try to add special texture compression types from GL_EXT_texture_sRGB 2010-10-29 19:54:35 +00:00
Mark Vejvoda 1a32bf165e - try to add special texture compression types from GL_EXT_texture_sRGB 2010-10-29 19:50:59 +00:00
Mark Vejvoda 32f429e3c3 - try to add special texture compression types from GL_EXT_texture_sRGB 2010-10-29 19:34:58 +00:00
Mark Vejvoda ba8704c5bd - try to add special texture compression types from GL_EXT_texture_sRGB 2010-10-29 19:29:26 +00:00
Mark Vejvoda 5888003aa6 - try to add special texture compression types from GL_EXT_texture_sRGB 2010-10-29 19:15:15 +00:00
Mark Vejvoda d558d896d4 - try to add special texture compression types from GL_EXT_texture_sRGB 2010-10-29 19:02:23 +00:00
Mark Vejvoda f0d9357d31 - try to add special texture compression types from GL_EXT_texture_sRGB 2010-10-29 18:54:55 +00:00
Mark Vejvoda 2cc28dda5e - more logging on texture init errors 2010-10-29 18:44:07 +00:00
Mark Vejvoda e0d338b583 - added more texture compression supported types
- some in progress work related to texture reloading
2010-10-29 16:27:22 +00:00
Mark Vejvoda 70927e5979 - added some console output to show which texture compression types the opengl driver supports 2010-10-29 00:45:09 +00:00
Mark Vejvoda 7f32456736 - changed default texture compression to non st3 for now 2010-10-28 22:07:44 +00:00
Mark Vejvoda 01c26b4224 - added the ability to track pixmap memory usage at start and end of a game 2010-10-28 21:06:20 +00:00
Mark Vejvoda df3f56a451 - cleanup of texture compression. We output stats for textures that we attempt to compress and what percent they were compressed (before and after byte sizes) 2010-10-28 06:59:43 +00:00
Mark Vejvoda de3a92081d - a bunch of in progress work related to texture compression and more timely texture memory management cleanup. For now to test texture compression use the following ini setting: EnableTextureCompression=true 2010-10-28 00:51:25 +00:00
Mark Vejvoda 3c57f16a4a - cleanup some compiler warnings in vc++ and removed commented out debug info for in progress texture compression 2010-10-27 17:06:40 +00:00
Mark Vejvoda 78f6f49cb6 - fixed shadow mapping by removing the use of the extension: GL_ARB_shadow_ambient
(thanks: asmodeus and Ishmaru)
- added some initial work for texture compression (but not active yet)
2010-10-27 15:04:47 +00:00
Mark Vejvoda fd3a8e4705 - minor bugfix when broadcasting on UDP (only one socket per unique subnet) 2010-10-23 05:12:28 +00:00
Mark Vejvoda 343fdb70b2 - fixed the cursor bug mentioned by claymore 2010-10-22 16:08:13 +00:00
Mark Vejvoda 362ae6f4fa - attempt to see if this fixes some lua problems 2010-10-21 22:12:05 +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 45a26a4597 - cleaned up more compiler warnings
- added unsigned 64 bit type for windows
2010-10-21 15:55:12 +00:00
Mark Vejvoda c6a4e53151 - fix compile error on linux 2010-10-21 15:35:13 +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 93e56df3d6 - fixed some misc code bugs (incorrect assignment) and cleaned up some compiler warnings 2010-10-21 01:07:11 +00:00
Mark Vejvoda 55b4f0bd2b - Incremented version to next major release # so new work can begin.
- some initial work to assist units from getting stuck when given commands. This is for both AI and human players and deals with the pathfinder and units getting constantly blocked from their destination.
2010-10-17 06:34:42 +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
Titus Tscharntke 15c6ea93b3 Bugfix for lua related crash 2010-10-12 10:20:00 +00:00
Mark Vejvoda 2519588148 - attempt to fix lua code that might be crashing the game 2010-10-11 23:39:44 +00:00
Mark Vejvoda fd4054e345 - attempt to fix lua code that might be crashing the game 2010-10-11 23:33:03 +00:00
Mark Vejvoda 3a94f1506f - attempt to fix lua code that might be crashing the game 2010-10-11 23:24:10 +00:00
Mark Vejvoda a84f0d1b6d - bugfix to fallback to a default configured font if the specified font in the ini property fails to load. The default font is 'fixed' but can be overriden in the ini using:
DefaultFont=yourfonttype
2010-10-09 20:35:53 +00:00
Mark Vejvoda 3963b99e37 - yaahhoo, now we properly detect invalid LUA functions etc for scenarios 2010-10-09 10:43:23 +00:00
Mark Vejvoda f345835fc4 - final bugfix for 3.3.7, playernames got mixed up when first slot was closed. Also fixed editing when typing playername 2010-10-08 01:41:53 +00:00
Mark Vejvoda fd60b30081 - updated announcement to use a safer compare and added announcement url to ini files 2010-10-07 18:43:29 +00:00
Mark Vejvoda 66725ad22d - added new commandline parameter: --lua-info 2010-10-06 23:40:26 +00:00
Mark Vejvoda 284d3bdbbe - Billy.. help!!! Your compiler stinks! (compiler fixes related to namespacing and xml) 2010-10-06 22:49:13 +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
Titus Tscharntke 268aa4793b particle limits are back again 2010-10-06 17:04:51 +00:00
Titus Tscharntke 0e084cabd3 minifix for particles
transparency works a bit better with existing transparent models
2010-09-27 21:02:06 +00:00
mnaumann 65ec94e22f FreeBSD and Mac OS X support by GeoVah, thanks a bunch! 2010-09-27 20:28:08 +00:00
Titus Tscharntke d3ccebef15 switch for map preview in ingame options
some language fixes
faction preview is default now
in unix systems text is better centered on the buttons
2010-09-26 21:34:00 +00:00
Titus Tscharntke 3b1ef055b1 - new switch for unit_particle _systems called static-particle-count
- Bugfix for "wild particles". ( the splash particle systems never died before! )
- Better german language file ( cpu  player have english words again, words like ultra are common enough in germany  )
2010-09-25 14:38:00 +00:00
Mark Vejvoda 635bf616de - patch for FreeBSD (thanks m0ellemeister) 2010-09-24 23:28:54 +00:00
Titus Tscharntke cd65927924 unit particles can now have float values for emission rates. This allows also emission rates smaller than 1 like 0.01 for example 2010-09-24 16:36:59 +00:00
Mark Vejvoda 61b66fb761 - applied Mac osX patch #4 from GeoVah (thank you) 2010-09-24 15:26:16 +00:00
Mark Vejvoda f3ea511c40 - attempt to help poor kobe and his mad need to press E continuously
- also cleanup a memory leak from code that was thus far unused
2010-09-17 04:59:32 +00:00
Mark Vejvoda a259e0d8e4 - nothing is easy is windoze (renamed duplicate filename cause VC chokes on it) 2010-09-16 22:47:33 +00:00
Mark Vejvoda b115292ee5 - added GeoVah's initila Mac osX support (via cmake) 2010-09-16 15:15:42 +00:00
Titus Tscharntke 3bfc7daddf renderMapPreview nearly done. 2010-09-15 23:49:26 +00:00
Titus Tscharntke 6d8f0137f5 chat fixed, still struggling with positioning 2010-09-14 23:28:03 +00:00
Titus Tscharntke a38778deb1 map preview is scree resolution resistant 2010-09-14 23:02:50 +00:00
Mark Vejvoda 7d6e21b1e7 - bugfix for mouse pointer rendering 2010-09-14 20:54:33 +00:00
Mark Vejvoda c9be7a8677 - fixed compile problem with abs on a float 2010-09-14 20:18:22 +00:00
Mark Vejvoda 689b810d46 - some cleanup related to image loaders (valgrind complaints) 2010-09-14 15:59:04 +00:00
Mark Vejvoda 25912fa2bb - added proper constructor and initialize member vars 2010-09-14 06:36:55 +00:00
Mark Vejvoda b95e2247cd - moved map render logic into a shared base class 2010-09-14 06:02:35 +00:00
Mark Vejvoda 0f5cd740a6 - moved game map entity into a shared source file in shared lib, which is now shared by the main game and the map editor 2010-09-14 00:43:09 +00:00
Mark Vejvoda 0c99a516c5 - First mac patch from GeoVah (thanks) 2010-09-11 05:14:42 +00:00
Mark Vejvoda 4d9bc556d6 - a few more improvements to rendering cache 2010-09-10 00:41:51 +00:00
Mark Vejvoda 6a24ca3ad0 - completed screen UI work. F11 will save current menu UI config to ini file, F5 will cause a reload of INI realtime 2010-09-09 21:07:39 +00:00
Mark Vejvoda 3825192e2e - bugfix for sullscreen SDL restore video 2010-09-09 00:28:43 +00:00
Mark Vejvoda 54f37d6231 - bugfix for missing header file 2010-09-08 22:35:12 +00:00
Mark Vejvoda 1a9ec91eeb - attempt to fix a possible mutex deadlock based on Nebososo's logs 2010-09-08 06:18:34 +00:00
Mark Vejvoda 4ed2e4b013 - fixed more memory leaks found in texture readers 2010-09-07 21:53:45 +00:00
Mark Vejvoda 958184e018 - more memory cleanup 2010-09-07 21:01:22 +00:00
Mark Vejvoda 63cf199322 - more memory cleanup 2010-09-07 18:28:09 +00:00
Mark Vejvoda 9817e8a860 - memory leak fixes 2010-09-07 17:30:13 +00:00
Mark Vejvoda bf87b2c167 - fixed a memory leak in the png reader (using valgrind) 2010-09-07 15:18:35 +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 ca30612c9c - attempt to cleanup particles when a unit is deleted 2010-09-06 17:52:33 +00:00
Mark Vejvoda 58ab55a6aa - cleaned up some compiler warnings 2010-09-06 06:22:08 +00:00
Mark Vejvoda ada90b4e27 - attempt to improve network performance and log more info regarding menu and network performance 2010-09-02 22:34:25 +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
Mark Vejvoda 4d372c12bc - added more LUA support and fixed parameter passing of Vec2i types with streflop
New LUA methods:
DisplayFormattedText
getAiEnabled
getHungerEnabled
startPerformanceTimer
endPerformanceTimer
getPerformanceTimerResults
2010-08-28 20:52:25 +00:00
Mark Vejvoda 2ea8b69e22 - first attempt at allowing multiple units to build at the same time 2010-08-28 01:46:26 +00:00
Mark Vejvoda e358df4486 - fixing more stupid windows compile issues 2010-08-27 17:25:58 +00:00
Mark Vejvoda de82843e73 - added more safety code arouind SDL threads in case we get failures from SDL itself 2010-08-27 03:46:08 +00:00
Mark Vejvoda f7d9cd50a6 - added more safety code arouind SDL threads in case we get failures from SDL itself 2010-08-27 03:40:54 +00:00
Mark Vejvoda 0504ea3b97 - bugfix for particles when they finish 2010-08-27 03:06:28 +00:00
Mark Vejvoda a4e75417e4 - added safety check to thread execution 2010-08-27 03:00:57 +00:00
Mark Vejvoda 9bacf0abea - added a better detection of threads statuses 2010-08-26 22:13:41 +00:00
Mark Vejvoda 169234b80f - added more safety checks in broadcast socket thread 2010-08-26 19:50:18 +00:00
Mark Vejvoda f3278c3cf3 - bugfixes for stack overflow issue (static array size too large causing chkstk errors) 2010-08-26 19:01:44 +00:00
Mark Vejvoda 4ebd156828 - added new commandline parameter to display the version of SDL used by the program 2010-08-26 16:03:54 +00:00
Mark Vejvoda a64fa69d02 - bugfixes for experimental game data synch check in lobby
- added a fix for socket sending when the send buffer is full and we have more data to send
2010-08-26 03:15:36 +00:00
Mark Vejvoda e5678be10c - bugfixes for experimental game data synch check in lobby
- added a fix for socket sending when the send buffer is full and we have more data to send
2010-08-26 02:36:17 +00:00
Mark Vejvoda 5fb040c9f1 - Fixed bug related to particles not updating smoothly 2010-08-26 01:25:27 +00:00
Mark Vejvoda 0ef23749b8 - allow non visible particles to fade out when its time to do so 2010-08-25 19:46:22 +00:00
Mark Vejvoda a48521b503 - added fire particles to the visible check to improve performance 2010-08-24 20:19:30 +00:00
Mark Vejvoda 3828d23670 - attempt to improve unit particle performance by ONLY updating unit particles progress if the particle is busy 2010-08-24 19:24:37 +00:00
Mark Vejvoda 0e3c0a8d0e - disabled staggered unit updates 2010-08-24 02:49:55 +00:00
Mark Vejvoda 65cf1bfdac - attempt to lessen memory footprint of particles and speed up rendering 2010-08-24 01:21:34 +00:00
Mark Vejvoda 19892ff11d - small network optimization to help stabilize frequently called network code 2010-08-23 15:17:36 +00:00
Mark Vejvoda b9b9cc822b - bugfixes related to SDL library upgrade on windows build and mouse cursor toggling (especially that stupid windows 7 issue where alt-tab doesn't let you move your cursor in fullscreen mode)
For reference: http://bugzilla.libsdl.org/show_bug.cgi?id=849
2010-08-23 07:27:31 +00:00
Mark Vejvoda 6907d7d063 - attempt to fix mouse cyrsor issues 2010-08-23 04:58:52 +00:00
Mark Vejvoda 0c0642bd17 - commandline bugfixes for windows 2010-08-22 09:06:26 +00:00
Mark Vejvoda b3a60f5b69 - updated commandline too show usage when using wrong parameters 2010-08-22 08:40:18 +00:00
Mark Vejvoda bf5f6b7f33 - experimental support for idenitfying specific game data which is out of synch with the server. 2010-08-22 08:00:05 +00:00
Mark Vejvoda 25a7097066 - added new commandline parameters:
--help
--validate-factions=x

for full details of all commandline params run --help
2010-08-21 01:54:04 +00:00
Mark Vejvoda 07cbcc0bec - added a bunch of null terminations to all char buffers in network protocol 2010-08-20 23:53:10 +00:00
Mark Vejvoda d69fbc6925 - more NULL checking for safer execution
- added safer mutex guards in custom game menu
2010-08-20 22:42:26 +00:00
Mark Vejvoda 0e82836e01 - more NULL checking for safer execution 2010-08-20 22:17:30 +00:00
Mark Vejvoda 31363fd41b - bugfix for press screen shot hotkey in windows 2010-08-17 20:58:30 +00:00
Mark Vejvoda 2dcbe1473b - stupid win32 compile fix for sockets 2010-08-07 06:28:00 +00:00
Mark Vejvoda a5bf684493 - more network fixes to make lag and disconnects more stable
- changed the way the game end logic happens to try to make it more stable
2010-08-07 04:49:06 +00:00
Mark Vejvoda fe8d3b3130 - numerous bugfixes mostly centered around network lag, but also added more logging and protective code (like buffer overflow checks)
*NOTE: This version is NOT backwards compatible with other builds
2010-08-07 03:26:38 +00:00
Mark Vejvoda 1a2f0175a8 - fixing crash on client connect screen 2010-08-05 00:48:46 +00:00
Mark Vejvoda 4336ae3e37 - added new commandline param --validate-techtrees which will be used to check for known problems in the techtrees for an installation 2010-07-30 07:51:39 +00:00
Mark Vejvoda 6d3f6dcaf4 - added some logging when quitting a game
- another feeble attempt to fix windows game end crashes
2010-07-29 22:08:45 +00:00
Mark Vejvoda 8feaebb503 - added caching for computeVisibleQuad
- fixed bug when in chat mode and the deub view toggle key was intercepted
- added less than operators
2010-07-29 05:24:51 +00:00
Mark Vejvoda d8e41495d0 - removal of sse2 compiler flags for better compatibility
- added workings for a future flag for interpolation cache
2010-07-28 23:24:56 +00:00
Mark Vejvoda f0d492371f - added an attempt to autocreate the userdata folder is it does not exist 2010-07-27 18:56:12 +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