Commit Graph

689 Commits

Author SHA1 Message Date
Mark Vejvoda 0b67911199 - vc++ compile fixes 2011-03-09 18:42:50 +00:00
Mark Vejvoda 817d8cfea8 - added logic for ftp file transfers to look for 7z archives for tilesets and download and extract on the client side if the 7z archive exists on the server 2011-03-09 18:35:19 +00:00
Mark Vejvoda 2c0353972f - more debugging for keyboard issues 2011-03-09 05:46:28 +00:00
Mark Vejvoda 323f72ea6e - more debugging for keyboard issues 2011-03-09 05:24:56 +00:00
Mark Vejvoda 5b2a6bb45f - bugfix for esc key 2011-03-08 02:07:35 +00:00
Mark Vejvoda 76919f81b6 - does this help with the windows keyboard problem for some users? 2011-03-08 00:56:57 +00:00
Mark Vejvoda f07b7a3603 - more keyboard bugfixes so some special keys above 255 work 2011-03-06 23:45:46 +00:00
Mark Vejvoda 9382473294 - attempt to make a few tweaks for more smooth network play 2011-03-05 20:15:28 +00:00
Mark Vejvoda f6a7bc2865 - removed a stray printf 2011-03-05 02:38:18 +00:00
Mark Vejvoda 0f57fe6b92 - additional work to allow for changing hotkeys in the keyboard options menu, currently changes are not saved to file, only on screen. 2011-03-04 20:26:47 +00:00
Mark Vejvoda 73efa41cc9 - more unicode character code cleanup 2011-03-04 02:01:20 +00:00
Mark Vejvoda 10eba296fe - some cleanup to free up using shift and alt key combinations for hotkeys also 2011-03-04 01:58:06 +00:00
Mark Vejvoda ea8ce1d5c7 - fixed bug with unicode keypresses while pressing control 2011-03-04 01:32:10 +00:00
Mark Vejvoda 744602d0e3 - more keyboard handler cleanup related to special key presses (like shift) 2011-03-04 00:46:45 +00:00
Mark Vejvoda d3feaaddec - a little more keyboard fixes to try to bring some consistency to unicode style keyboard events 2011-03-03 19:33:31 +00:00
Mark Vejvoda 330f54e7cb - bugfix for arrow keys, SDL docs had incorrect key names 2011-03-02 15:36:31 +00:00
Mark Vejvoda c3286bf1a0 - attempt to fix previous messup with keyboard keys 2011-03-02 05:45:02 +00:00
Mark Vejvoda 18c863364f - does this finally fix stupid keyboard mapping issues on different locales? 2011-03-01 23:33:59 +00:00
Mark Vejvoda 3f32cddbf5 - added sdl keyname to console output and debug log (console when --verbose commandline option used) 2011-03-01 23:07:19 +00:00
Mark Vejvoda 5787fb3e98 - memset map header to avoid garbage being written in unused reserved space 2011-02-25 22:33:40 +00:00
Titus Tscharntke 922df8e025 up to 36 units selectable; maps can set camera heigth now ( be careful with this for performance reasons! ) 2011-02-25 00:31:42 +00:00
Mark Vejvoda bd29260fef - Does this fix choppy network play? Please test and let me know 2011-02-21 01:34:31 +00:00
Mark Vejvoda e5a62f57ef - some logging changes for helping test world synch better 2011-02-16 02:52:52 +00:00
Mark Vejvoda a0cfe3fa08 - a few changes and now seems to compile in VC++ 2010 (still need to checkin project files) 2011-02-15 23:53:48 +00:00
Mark Vejvoda 8ec58868dc - attempt to improve network performance (use separate mutexes for read / write operations) 2011-02-15 07:49:40 +00:00
Mark Vejvoda 31e722287f - bugfixes for when players disconnect, do not switch observers to AI and only show message once.
- Attempts to debug/improve network performance
2011-02-15 03:32:14 +00:00
Mark Vejvoda 4488a4d388 - make pathfinder caching an ini setting tso its easy to test (disabled by default)
- some code cleanup related to threads and sockets
2011-02-13 03:06:12 +00:00
Mark Vejvoda 7dcb12ff60 - some more memory cleanup 2011-02-12 09:08:50 +00:00
Mark Vejvoda c1ee5df801 - attempt to shutdown sdl in a more controlled way 2011-02-12 08:05:18 +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 34e95f5cd5 - streflop was disabled (likely when we switched to cmake). Turn it on for now but we need to investigate more thoroughly if we really need this? 2011-02-11 19:16:06 +00:00
Mark Vejvoda 49d7f5f036 - more rendering speed improvements (conversion of main portions of minimap to vertex arrays) 2011-02-09 01:27:41 +00:00
Mark Vejvoda d0e050dde3 - M$ torments me day and night with their foolishness 2011-02-08 23:05:45 +00:00
Titus Tscharntke e20162a3c4 cleaned up the cliff coding; hopefully really no more flickering now 2011-02-08 20:59:34 +00:00
Mark Vejvoda 17e2a87890 - fixed one type of freeze in the custom menu
- some small opengl changes
2011-02-08 18:23:41 +00:00
Mark Vejvoda 1ee25a2c91 - bugfixes to get win32 working with fbo's 2011-02-08 16:34:19 +00:00
Mark Vejvoda 01de8700ec - stupid win32 hacks to allow opengl extensions for FBOs 2011-02-08 07:33:28 +00:00
Mark Vejvoda 86baa04a3b - added FBO's for map preview rendering, which improves fps in the custom menu for video cards that support Frame Buffer Objects 2011-02-08 05:54:05 +00:00
Mark Vejvoda dd75518af0 -small bugfix for titi's map support for cliffs.. all seems to work fine now 2011-02-08 04:52:01 +00:00
Mark Vejvoda c856aa2c44 - fixed models that flicker when intersecting with other polygons (also known as z-fighting) 2011-02-08 04:50:57 +00:00
Titus Tscharntke e03b029bea Cliffs work and some map cleanup; ( !!currently old maps are broken in editor!! ) 2011-02-08 03:50:59 +00:00
Mark Vejvoda c58e893047 - attempt to improve issues in the custom menu related to freezing
- modified debug UI display to support multi levels of UI debug info
- added more validations to mutexes
- improved client sockets to properly be setup as non blocking
2011-02-06 07:01:54 +00:00
Mark Vejvoda 1574e05fcd - surface rendering is a step closer to using VBO's (code now works using Vertex Arrays, next stop Vertex Buffer Objects) 2011-02-04 23:27:55 +00:00
Mark Vejvoda 6ec92f2127 - attempt to add more randomness to pathfinding and faster AI decsions 2011-02-04 06:34:32 +00:00
Mark Vejvoda ab9d2f1bf2 - some small cleanup in vbo code 2011-02-04 02:26:55 +00:00
Mark Vejvoda dab57fcb34 - attempt to add "some" VBO rendering for static models (need to test if this improves performance in different environments) 2011-02-04 01:24:26 +00:00
Mark Vejvoda f373a66c31 - fixed win32 build from last checkin 2011-01-31 23:17:42 +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 c647e58260 - commented out old console outputs (see jack2 I do read IRC sometimes) 2011-01-31 02:07:58 +00:00
Mark Vejvoda 632ab24b50 - disable memory vault to see how it affects game performance 2011-01-29 18:48:50 +00:00
Mark Vejvoda 2e5c5be357 - added more options to g3d viewer commandline options 2011-01-29 03:53:05 +00:00
Mark Vejvoda 177531c376 - commented out some debug statements and corrected stuck harvesting a bit 2011-01-28 08:37:48 +00:00
Mark Vejvoda 460e887772 - bugfix for ogg file playing (now we properly handle stereo ogg files) 2011-01-26 18:51:43 +00:00
Mark Vejvoda 99a6826e51 - attempt to fix FreeBSD globbing 2011-01-26 09:19: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 16836c758e - attempt to fix glob issues on freebsd (and perhaps osX) 2011-01-26 01:06:10 +00:00
Mark Vejvoda 8213d8eed9 - fixed screenshots saved in game 2011-01-22 18:20:37 +00:00
Mark Vejvoda 004803a8a6 - fixed win32 vc++ project files to add new include path for libpng 2011-01-21 23:17:54 +00:00
Mark Vejvoda 9d369bb30e - added ability to save screenshots in G3d with background transparency 2011-01-21 16:34:33 +00:00
Mark Vejvoda ffc9347641 - bugfixes for G3D viewer (but applies to general texture loading in game also) we now handle better scenarios where binary or model are in different working directories 2011-01-21 01:53:58 +00:00
Mark Vejvoda 19ea6b4058 - added FreeBSD patches from moellemeister (thanks) 2011-01-21 00:12:15 +00:00
Mark Vejvoda 48ce0830de - fixed IRC bugs reported by tomreyn:
- Pass IRC username
2011-01-20 20:59:19 +00:00
Mark Vejvoda 8053b71879 - fixed IRC bugs reported by tomreyn:
- Remove @ in front of operator nicks
2011-01-20 20:55:55 +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 53327900b3 - added a little more log info for keyboard event that ultifd got unknown error from 2011-01-20 08:29:04 +00:00
Mark Vejvoda 6b0bc35e3c - working VBO code for static objects in game, currently disabled in code but to enabled edit model.h and uncomment #define ENABLE_VBO_CODE 2011-01-18 23:56:30 +00:00
Mark Vejvoda c54e6dbf5d - a little bit of plumbing for VBO's for static models (currently disabled via # define)
- small small speed improvement when calculating interpolations
2011-01-18 07:52:06 +00:00
Mark Vejvoda d16f6a93bc - sound system is now threaded by default (hopefully this fixes buffer underruns errors from openal)
- background music now plays when game is loading
2011-01-18 01:24:45 +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 d8e28fbf90 - attempt to fix WSAStartup error message on win32 2011-01-17 21:31:59 +00:00
Mark Vejvoda c51eb0a3c4 - attempt to cleanup some debug logging to see if it helps restore normal performance 2011-01-17 16:31:25 +00:00
Mark Vejvoda e967ac48fd - some bugfixes for ftp transfer (i think multiple concurrent users now works properly) 2011-01-17 07:19:32 +00:00
Mark Vejvoda 281f489678 - attempt to make FTP transfers more efficient by turning off epsv since feathery doesn't support it 2011-01-16 08:08:44 +00:00
Mark Vejvoda 0c138f61a6 - some updates to handling of failed ftp transfers 2011-01-16 06:54:33 +00:00
Mark Vejvoda 1dee0a134c - vc++ compile fix 2011-01-16 03:56:10 +00:00
Mark Vejvoda 1cc5f8c70e - commented console output for FTP progress 2011-01-16 03:44:55 +00:00
Mark Vejvoda b54faa93f9 - vc++ compile fix 2011-01-16 03:11:55 +00:00
Mark Vejvoda 3814702b18 - more ftp bugfixes 2011-01-16 03:05:11 +00:00
Mark Vejvoda 6e7bcd2ece - attempt for ftp bigfixes 2011-01-16 01:16:02 +00:00
Mark Vejvoda 61bc3902bb - fix the win32 build for vc++ 2011-01-15 23:36:58 +00:00
Mark Vejvoda 681db699a1 - a bit more libcurl code cleanup 2011-01-15 23:02:19 +00:00
Mark Vejvoda 4649f761f6 - some libcurl usage bugfixes for multi-thread use 2011-01-15 22:42:33 +00:00
Mark Vejvoda 385fb0b3f0 - bunch of bugfixes for FTP file transfer:
- failed attempts should now properly cleanup partial downloaded files
  - better logging and resource usage to track down problems
2011-01-15 21:53:00 +00:00
Mark Vejvoda 934b430f93 - added more logging to see what client FTP port # will be 2011-01-15 19:16:00 +00:00
Mark Vejvoda e6f69a3839 - added code for server to tell clients which port to use for FTP 2011-01-15 18:56:03 +00:00
Mark Vejvoda a7ca23d18e - speed improvement for anti-hack checking 2011-01-15 04:13:15 +00:00
Mark Vejvoda 654de490c2 - set max time for FTP transfers to 10 minutes 2011-01-15 00:10:51 +00:00
Mark Vejvoda 2ab82c9271 - added some basic protection against memory hacking tools 2011-01-14 23:51:15 +00:00
Mark Vejvoda f6b0bd3fd7 - some ftp file transfer bugfixes and moved many strings into language file 2011-01-14 17:57:37 +00:00
Mark Vejvoda 8c4cdd037c - updated for compiling on BSD
- also bugfix for socket broadcast segfault (partial fix)
2011-01-13 01:46:32 +00:00
Mark Vejvoda 6bfc4d7c2e - attempt to better handler tomreyn's fuzzer. 2011-01-12 06:52:03 +00:00
Mark Vejvoda d622c7bf7f - try to discover what texture is corrupt in tomreyn's fuzzer 2011-01-11 22:34:01 +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 9acbfb9d19 - patch from Nebososo for 2 byte characters and font widths 2011-01-11 19:03:41 +00:00
Mark Vejvoda e319c2cf62 - attempt to fix game freeze when lag causes game pauses 2011-01-11 08:45:58 +00:00
Mark Vejvoda d9e7dcc69a - another attempt to fix socket send freeze 2011-01-11 03:56:38 +00:00
Mark Vejvoda 5fa01b0b8c - attempt to throw exception (instead of assert) on bad texture detection 2011-01-11 00:49:06 +00:00
Mark Vejvoda 8bf83c03a8 - a little bit of code hardening (looking for invalid data conditions and NULL's) 2011-01-10 21:23:52 +00:00
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