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
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
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
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
2e5c5be357
- added more options to g3d viewer commandline options
2011-01-29 03:53:05 +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
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
66261ad662
- updated line endings to unix style characters to fix Bug #3085838
2011-01-20 15:56:30 +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
e967ac48fd
- some bugfixes for ftp transfer (i think multiple concurrent users now works properly)
2011-01-17 07:19:32 +00:00
Mark Vejvoda
1cc5f8c70e
- commented console output for FTP progress
2011-01-16 03:44:55 +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
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
a7ca23d18e
- speed improvement for anti-hack checking
2011-01-15 04:13:15 +00:00
Mark Vejvoda
2ab82c9271
- added some basic protection against memory hacking tools
2011-01-14 23:51:15 +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
e319c2cf62
- attempt to fix game freeze when lag causes game pauses
2011-01-11 08:45:58 +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
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
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
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
055293d027
- bugfix for code compiled in VC++
2011-01-06 23:13:36 +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
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
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
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
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
8eeb0b550c
- more ftp tileset bugfixes
2011-01-01 03:12:28 +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
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
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
e4e7a456f5
- attempt to bugfix threaded logger
2010-12-26 01:27:49 +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
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
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
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
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
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
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
755a7737fa
- added CMAKE support for building MG in Windows using MingW
2010-12-11 06:32:21 +00:00
Mark Vejvoda
7f0a179340
- bugfix for vc++ compile (added #define for mingw)
2010-12-07 22:29:31 +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
664b2b1b7d
- disabled another cache in pathfinder trying to hunt down xplatform out of synch
2010-11-28 00:07:08 +00:00
Mark Vejvoda
d89953ee96
- improved performance and bug fixes.
2010-11-09 09:06:52 +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
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
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
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
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
343fdb70b2
- fixed the cursor bug mentioned by claymore
2010-10-22 16:08:13 +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
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
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
284d3bdbbe
- Billy.. help!!! Your compiler stinks! (compiler fixes related to namespacing and xml)
2010-10-06 22:49:13 +00:00