Commit Graph

689 Commits

Author SHA1 Message Date
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
Mark Vejvoda
d58a3d948c - fast caching of interpolation data 2010-07-17 12:16:02 +00:00
Mark Vejvoda
a0831666b5 - added a check for linux NIC's to only return those that are both UP and Running 2010-07-16 20:02:44 +00:00
Mark Vejvoda
e3ad4b7b60 - bugfix to ignore 0.* ip addresses 2010-07-16 17:11:38 +00:00
Mark Vejvoda
a3ec4650c4 - moved pause for lagged clients option to custom game menu
- bugfix to ignore 0.* ip addresses
2010-07-16 16:53:19 +00:00
Mark Vejvoda
ecc78d24bd - added a None sound factory 2010-07-16 07:15:29 +00:00
Mark Vejvoda
1e077512d8 - Added ability to disable sound for poor users with non-functional sound 2010-07-16 06:35:22 +00:00
Mark Vejvoda
2ada9e7550 - bugfix for multi-unit selection (pressing shift does not unselect previously selected units now) 2010-07-15 19:48:28 +00:00
Mark Vejvoda
4582214815 - bugfix for mouse click offset issue (had to do with Renderer::maxLightDist value)
- bugfix for holding Ctrl key to queu commands
2010-07-15 07:33:49 +00:00
James McCulloch
8387ed29dc * wired up RoutePlanner/Cartographer
* added DebugRenderer (mostly dysfunctional)
 * add lots of OutputDebug calls for the path finder, as macro PF_TRACE
2010-07-13 05:33:43 +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
61b77fe645 - added the ability to toggle hardware acceleration and full screen anti-aliasing via ini settings
- added video card info screen to options menu
2010-07-11 07:38:08 +00:00
Mark Vejvoda
f40dd94b1d - added error checking and allow the game to continue if we cannot init the sound system
- persist error messagebox between program states
2010-07-09 22:16:26 +00:00
Mark Vejvoda
3e53b69676 - added client side ping style packet for linux socket disconnect checking 2010-07-09 15:01:49 +00:00
Mark Vejvoda
4ba69753f9 - added extra check on linux for socket disconnect 2010-07-09 05:29:42 +00:00
Mark Vejvoda
ab655162cb - added more bug fixes related to network disconnects.
- Added a new global message box to display error messages on top of any graphics window being displayed.
2010-07-08 08:29:51 +00:00
Mark Vejvoda
ff21d26161 - mouse disappearing bugfix (go ahead alt-tab, alt-esc, do it ALL, its fixed!)
- Added more descritive error message when data checksum is discovered. The client's playername is now disclosed in the error.
- added VS project config to disable STREFLOPs for testing later
- updated version to 3.3.5.1 alpha1
2010-07-07 22:25:29 +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
aecc708942 - attempt to improve rendering speed 2010-07-06 13:26:23 +00:00
Mark Vejvoda
c04b83259e - attempt to improve rendering speed 2010-07-06 10:11:56 +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
f3a636ff15 - attempt to fix tomreyn's font issue 2010-07-03 15:45:58 +00:00
Mark Vejvoda
66d4fce081 - added missing translation strings to spanish (used bablefish for translations)
- updated exit text to support newlines in language text
- added support for netwlines in language string code
2010-07-03 06:48:24 +00:00
Mark Vejvoda
087c6c87b1 - added more NULL pointer checking to see if it helps deal with a potential timing issue during game shutdown (deleting cells issue) 2010-07-03 05:20:03 +00:00
Mark Vejvoda
aa0db2c0f0 - network code bugfixes.
- More checking for disconnect and proper handling of those cases
- Changed battle end screen to exit via mouse click on exit button (or press ESC)
- Removed display of unused ping output
- added more error handling debug output of the mystical unknown error caught in window.cpp to track it down better if it happens again
2010-07-02 02:50:20 +00:00
Mark Vejvoda
0e94ee5476 - added support for alt-enter window toggling in windows OS (by default it is tuned off)
to enable set AllowAltEnterFullscreenToggle=true
2010-06-30 19:27:07 +00:00
Mark Vejvoda
a064a4a4c8 - just for ultifd, alt-enter no longer touches the mouse pointer 2010-06-30 18:55:58 +00:00
Mark Vejvoda
340d637ae1 - update for windows mouse pointer in fullscreen mode. Alt-Enter enables mouse pointer so user can scroll off screen. 2010-06-29 07:39:05 +00:00
Mark Vejvoda
9508dad51b - network related bugfixes:
menu slowdown when picking network slots
clients can once again change network slots
performance fixes for network receiving
2010-06-29 06:50:35 +00:00
Mark Vejvoda
94e07e442b - updated to use streflop 2010-06-28 01:10:23 +00:00
Mark Vejvoda
7b3ba31fe7 - fixed masterserver invalid connection issue and blank error message in custom game menu
- added optional bmp icon load for linux
2010-06-26 08:04:11 +00:00
Mark Vejvoda
15ee2da57f - modified icons to properly work with windows (bothh ico files and vc++ projeect files etc) 2010-06-25 22:04:40 +00:00
Mark Vejvoda
6f2662d50b changed direct sound file to use our special math wrapper include file 2010-06-25 19:58:19 +00:00
Mark Vejvoda
646e8593f4 - made some small performance updates for rendering and updated beta version number 2010-06-25 05:41:50 +00:00
Mark Vejvoda
a4686e39d4 - added (commented out) libircclient to mega-glest for future irc connectivity. JAM build files are updated (but also commented out) 2010-06-24 22:51:38 +00:00
Mark Vejvoda
a81286cbba - added support for showing projectile particles in the g3d viewer 2010-06-24 10:52:58 +00:00
Mark Vejvoda
1d4f47718c - added many new things and fixed a number of bugs (too tried to mention them all) 2010-06-24 01:23:18 +00:00
Mark Vejvoda
87b4706940 - Attempt to use libcurl in a thread safe manner 2010-06-23 14:49:20 +00:00
Mark Vejvoda
a05760d2a4 - threading bugfixes from the client join menu 2010-06-22 15:03:57 +00:00
Mark Vejvoda
6560ba73dc - changed show cursor code since it was not easily allowing you to cursour out of the SDL window 2010-06-22 14:21:52 +00:00
Mark Vejvoda
f720c43462 - commented out ping thread as it was unused and possibly caused crashing 2010-06-22 14:12:57 +00:00
Mark Vejvoda
bb1034e1e2 - feedble attempt to help people with mouse problems 2010-06-22 13:38:30 +00:00
Mark Vejvoda
622c707c2e - standardized broadcast socket thread shutdown 2010-06-22 12:18:50 +00:00
Mark Vejvoda
2d50beecfa - bugfix for mutex deadlock 2010-06-18 20:04:05 +00:00
Mark Vejvoda
82f412453e - bugfix for mutex deadlock 2010-06-18 18:47:20 +00:00
Mark Vejvoda
7fb136890c - another attempt to have thread stability 2010-06-18 17:21:54 +00:00
Mark Vejvoda
4647497cee - bugfix for proper thread shutdown which caused a number of crashes when navigating menus 2010-06-17 23:24:15 +00:00
Mark Vejvoda
a287422930 bugfixes to correct segfault 2010-06-17 22:09:25 +00:00
Mark Vejvoda
1b5b663331 - small update to event pump 2010-06-17 08:12:02 +00:00
Mark Vejvoda
b2f91e0f32 - attempt to make TOM happy, clickl madly while game is loading and help lame windows not choke 2010-06-17 06:55:35 +00:00
Mark Vejvoda
c7c9e69567 - added initial work to better manage rendering (but not yet enabled)
- added new commandline parameter: --version
- some thread cleanup to try adjusted timings when threads shutdown
2010-06-15 16:27:52 +00:00
Mark Vejvoda
e091460f40 - attempt to add a client LAG checker to notify and disconnect clients that fall too far behind. 2010-06-15 05:36:07 +00:00
Mark Vejvoda
b3b2d098b7 - Fix for IP Address discovery and broadcasting UDP servers 2010-06-14 21:03:23 +00:00
Mark Vejvoda
f619aad383 - bugfix for hotkey processing (allow single quoted characters to fix grouping units) 2010-06-13 17:55:39 +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
4debe015ce - more bug fixes found during menu navigation and testing 2010-06-11 04:55:49 +00:00
Mark Vejvoda
b40a9d58c4 - more thread guards to avoid crashes 2010-06-11 03:17:38 +00:00
Mark Vejvoda
8d62198ca3 fixed missing header file on Fedora 2010-06-08 14:13:33 +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
Titus Tscharntke
d14f013491 some chat changes and custom game with NetworkFramePeriod 2010-06-08 00:00:28 +00:00
Mark Vejvoda
1c4a5489b7 added missing header files (for fedora compiles) 2010-06-07 06:05:38 +00:00
Mark Vejvoda
9c5d911edc Added cmake build files (thanks RCL) 2010-06-05 17:34:55 +00:00
Mark Vejvoda
4ec55dd434 updated platform defines 2010-06-05 17:22:09 +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
3b06db30e9 commented out ping code and added synch check for large comamnds list 2010-06-05 00:00:36 +00:00
Mark Vejvoda
2970e5114a added mutex protection in custom game menu to protect access to member variables to avoid crashes when background thread and user changes both occur 2010-06-04 21:46:10 +00:00
Mark Vejvoda
f6517183bb small fix for initial ping time 2010-06-04 20:39:23 +00:00
Mark Vejvoda
77049a2db6 updated ping logic 2010-06-04 20:37:42 +00:00
Mark Vejvoda
d80a8850b6 updated macro's for platform specific logic 2010-06-04 20:26:15 +00:00
Mark Vejvoda
3acc421404 updated ping code to properly work for windows 2010-06-04 20:11:31 +00:00
Mark Vejvoda
ce6068b65a added #defines for win32 2010-06-04 19:55:42 +00:00
Mark Vejvoda
964be91fa9 added ping times to UI 2010-06-04 19:42:58 +00:00
Mark Vejvoda
54a2a36140 more #defines for platform specific code 2010-06-04 15:48:29 +00:00
Mark Vejvoda
a1f26103a6 added another #define for linux distors missing S_ISDIR 2010-06-04 15:25:24 +00:00
Mark Vejvoda
757906b226 added #define for Linux Distros that don't support S_IREAD 2010-06-03 15:52:11 +00:00
Mark Vejvoda
8ebd901dfa Fixed the following nasty bugs:
- memory corruption when mouse click happens because there are more than 3 possible values for mouse button click
- Recursive crash when outputting string representation of unitRef.
2010-06-02 08:03:56 +00:00
Mark Vejvoda
ace1cef8a8 - added safe mutex wrapper class 2010-06-02 01:37:45 +00:00
Mark Vejvoda
57f28913d0 - commented out streflop from random # generator 2010-06-01 19:48:35 +00:00
PolitikerNEU
c703de994f Tried to fix the wrong error message given if the file could not be found 2010-06-01 18:40:14 +00:00
Mark Vejvoda
f70f0cc896 - a few changes to properly compile in win32 2010-06-01 01:17:37 +00:00
Mark Vejvoda
b8dac6de50 - updates to random number generation 2010-06-01 00:57:48 +00:00
Mark Vejvoda
b8a05be21e - attempt to use streflop for random number generation to fix AI synch issues on corss platform 2010-06-01 00:32:24 +00:00
Mark Vejvoda
0069fbf4f0 - added more debug code and fixed a server bug where client connecting at the same time a server opens a slot would result in a crash sometimes. 2010-05-31 06:11:31 +00:00
Mark Vejvoda
7753435b3a - Added ability to render text titles for each unit (currently used to debug) 2010-05-29 05:41:40 +00:00
Mark Vejvoda
908b155d62 some changes to how we use streflop:
- Removed all unneeded includes of cmath
- added proper wrapper classes for lua calls to toggle streflop back and forth
- some code cleanup
2010-05-28 05:31:17 +00:00
Titus Tscharntke
3308aebb9f volume changes in the options menu have instant effect when pressing OK 2010-05-20 21:32:25 +00:00
Mark Vejvoda
f010130c38 - stupid bugfix for win32 Vista / Windows 7 bug where alt-tab causes no mouse to be seen in windows desktop. 2010-05-18 06:36:47 +00:00
Mark Vejvoda
ab5369a090 bugfix for endswith needs to check >= not just > 2010-05-17 20:05:35 +00:00
Mark Vejvoda
272a072ec3 added client socket accept info to debug log as well as some change detection 2010-05-17 06:41:05 +00:00
Mark Vejvoda
3ba034b8bf Added more safety guards for mastermenu if we get exceptions thrown within the thread, now it won't crash the game 2010-05-16 03:31:12 +00:00
Mark Vejvoda
0f6605fc4a made a few performance improvements for file scanning logic 2010-05-14 07:02:17 +00:00
Mark Vejvoda
57d0420b76 Added some threading for URL calls for new masterserver game play 2010-05-13 06:43:56 +00:00
Mark Vejvoda
43c00d5740 - removed interpolation thread as it did nothing to help performance.
- added a cache in the interpolation class
2010-05-12 21:49:12 +00:00
Mark Vejvoda
319b672e20 added better handling of network connections:
- only listen for new clients on a server if an open slot exists (unconnected)
- for both server and client we wait a max of 10 seconds to receive a proper intro packet or we disconnect (could have connected to / from a non glest application using the same port)
2010-05-12 15:25:56 +00:00
Mark Vejvoda
25b63b10e1 - Added libcurl to mega-glest for mu;ti-purpose / multi-platform http and ftp requests
(for linux requires the following new dependency: sudo apt-get install libcurl4-dev)
2010-05-11 05:39:00 +00:00
Mark Vejvoda
a68ae2fdfb fixed teamcolor bug from last code checkins dealing with threaded interpolation 2010-05-10 19:35:56 +00:00
Mark Vejvoda
cde5a52fd3 - experiemental code to process interpolation calcs in a background thread
Requires a new setting to be turned on in glest.ini:
ThreadedInterpolation=true
2010-05-10 17:50:57 +00:00
Mark Vejvoda
247cf32531 - Removed yet another platform specific remanant no longer required (win32 threads) since we use sdl threads 2010-05-08 09:40:25 +00:00
Mark Vejvoda
3547276699 - added a special thread to calculate interpolation to try to improve performance 2010-05-08 09:06:30 +00:00
Mark Vejvoda
f192b33153 bugfix for stubbing out macro of logging code for win32 2010-05-07 07:18:54 +00:00
Mark Vejvoda
8aa14009d1 - added a more proper #define setup to completely stub out debugging to test performance
(simply uncomment #define UNDEF_DEBUG and the debug statements become nothing)
- Added piles of experimental changes for testing different performance scenarios (all of these changes are turned off by default and will most likely eventually be removed)
2010-05-07 06:46:55 +00:00
Mark Vejvoda
1a6bb489b8 - bugfix for language files in scenarios and tutorials
- added numerous performance profiling statements
2010-05-06 21:29:46 +00:00
Mark Vejvoda
605dd746c0 some bugfixes for silly compile errors and painting issues in windoze 2010-05-04 08:15:16 +00:00
Mark Vejvoda
4b1a392f00 Bugfixes for network game launching:
- discard inprogress messages that don't apply during launch
- added better error handling of disconnects during game launch and play on both server and clients
2010-05-04 02:32:43 +00:00
Mark Vejvoda
1efc2dc0a6 - updates to Chinese font support so Linux will compile
- added more debugging and NULL guards
2010-05-03 06:25:54 +00:00
Mark Vejvoda
c3793d0cfb Added initial code changes to support Chinese Fonts 2010-05-03 06:16:32 +00:00
Mark Vejvoda
677da7f9d5 uncommented some streflop restore statements in lua calls 2010-05-02 14:49:58 +00:00
Mark Vejvoda
abf05a2ae6 - Fixed some bugs related to logfile processing.
- Added debug project to win32 projects
- Changed some compiler settings for win32 projects to enable sse
2010-05-02 06:21:36 +00:00
Mark Vejvoda
7b9036345b streflop updates 2010-05-01 21:07:17 +00:00
Mark Vejvoda
5a1c48d148 added wrapper for streflop 2010-05-01 20:39:11 +00:00
Mark Vejvoda
e05062d6ea hopefully the bugfix for lua problems and streflop 2010-05-01 20:37:25 +00:00
Mark Vejvoda
04bb6659ce Added more debugging and option to disable new streflop usage. 2010-05-01 20:14:25 +00:00
Mark Vejvoda
2417f37e21 added more debugging for error conditions 2010-05-01 10:46:56 +00:00
Mark Vejvoda
77fccb8c4c a few win32 compile fixes 2010-05-01 09:39:20 +00:00
Mark Vejvoda
58386a72e8 Bugfix for cases where command cache was not yet initialized 2010-05-01 09:27:08 +00:00
Mark Vejvoda
e379905942 Added mutex guards around logging 2010-05-01 09:10:52 +00:00
Mark Vejvoda
a911088d39 Trying an experiment with a thread for playing streamed sounds 2010-05-01 04:34:23 +00:00
Mark Vejvoda
ff592be457 Some cleanup related to Cache Management 2010-05-01 01:22:48 +00:00
Mark Vejvoda
33084f8dbe bug fixes for CRC caching and working version of cache manager 2010-05-01 00:53:43 +00:00
Mark Vejvoda
5cf84e8a2a win32 compile fixes 2010-04-30 23:30:15 +00:00
Mark Vejvoda
fd2274775e moved threads into base common hiearchy and started an a new cache manager. 2010-04-30 22:54:24 +00:00
Mark Vejvoda
b10bb3c2bc moved common platform code into shared are for win32 projects 2010-04-30 19:01:47 +00:00
Mark Vejvoda
c53ff62c46 Moved most of the code from platform specific platform_util into a shared platform_common area 2010-04-30 18:16:54 +00:00
Mark Vejvoda
cc08074acf more caching and bug fixes for data synch compare 2010-04-29 08:36:37 +00:00
Mark Vejvoda
4f147b2d89 Added more guards and debug info related to network play 2010-04-29 07:59:44 +00:00
Mark Vejvoda
805015fd83 Updates to cache CRC values and folder traversal lookup 2010-04-29 06:10:51 +00:00
Mark Vejvoda
ff32f34bfe change the way we get CRC for a list of files since folder scans don't sort the same on different platforms 2010-04-29 00:34:43 +00:00
Mark Vejvoda
a750d4eda9 bugfix for logfile sharing 2010-04-28 22:34:10 +00:00
Mark Vejvoda
76c256880e Added win32 version of glob to allow windows clients the ability to do unix like folder traversal 2010-04-28 21:49:03 +00:00
Mark Vejvoda
5af308125b - Cleanup of logging code to properly manage multiple logs etc
- Cleaned up a bunch of compiler warnings (conversion from int to float and vice versa)
2010-04-27 20:38:34 +00:00
Mark Vejvoda
6d4838f470 Changed the logging system to be more flexible and to support world synch logging 2010-04-27 03:36:36 +00:00
Mark Vejvoda
3dc0e69441 Added FPU Safety check method 2010-04-24 12:22:35 +00:00
Mark Vejvoda
f748874601 Ported streflop code to win32 2010-04-24 11:15:15 +00:00
Mark Vejvoda
2bfaa4d1d7 Added streflop (standalone reproducible floating point library) layer to mega-glest (initial checkin only) and changed a few areas to use the library in linux 2010-04-24 03:57:38 +00:00
Mark Vejvoda
a50b89e9cc Ported 3.3.4.2 fixes to trunk 2010-04-23 04:29:11 +00:00
Mark Vejvoda
2e702d8dd8 One final bugfix for 3.3.4.2 release, click mouse buttons > 2 on some mice would cause a crash 2010-04-23 04:24:20 +00:00
Mark Vejvoda
d412cb5f79 Added a bunch of NULL pointer guards, changed undertake to cleanup dead units more safely and added more debug tracing 2010-04-20 02:19:37 +00:00
Mark Vejvoda
30c4eb2b96 Added some performance logging capabilities and socket cleanup for new broadcast thread sockets 2010-04-15 01:19:00 +00:00
Mark Vejvoda
4c8e4eaccb bugfix for silly legacy error that was thrown just because the user clicks a mouse button that the game didn't support. Just log the message now instead of throwing errors. 2010-04-13 23:55:07 +00:00
Mark Vejvoda
80f5ee91d5 bugfix to disable alt-enter in win32 2010-04-13 20:20:51 +00:00
Mark Vejvoda
8b90f2bf64 Cleanup from the fallout of porting file locking to win32 2010-04-13 17:14:42 +00:00
Mark Vejvoda
0657004da2 Ported debug file locking mechanism to win32 2010-04-13 17:09:49 +00:00
Mark Vejvoda
feb61e0598 Added a special file locking mechanism to the debug logging which allows testing multi-user to seperate logfiles automatically 2010-04-13 16:00:19 +00:00
Mark Vejvoda
8c438b812d Some final fixed related to combined cross platform socket code 2010-04-13 07:29:48 +00:00
Mark Vejvoda
561dd69107 First Attempt at merging socket code into cross platform classes 2010-04-13 06:59:30 +00:00
Mark Vejvoda
2c9b6ea3ee Ported bugfix to win32 2010-04-12 21:54:47 +00:00
Mark Vejvoda
a5aba5cc66 Bugfix for tracker#: 2985599
- Added better management of UDP broadcast thread when user toggles on/off network slots.
2010-04-12 21:40:57 +00:00
Mark Vejvoda
f7df0fd3d4 Bugfix for LAN autofind servers. Needed to change the way we broadcast UDP so that we do it individually for each NIC's broadcast address. (see: http://stackoverflow.com/questions/683624/udp-broadcast-on-all-interfaces) 2010-04-11 07:13:14 +00:00
Mark Vejvoda
da230fc73d Bugfix for LAN autofind servers. Needed to change the way we broadcast UDP so that we do it individually for each NIC's broadcast address. (see: http://stackoverflow.com/questions/683624/udp-broadcast-on-all-interfaces) 2010-04-11 07:12:56 +00:00
Mark Vejvoda
203d37bb6f Added status update for LAN server searching and guard against people who click find like mad. 2010-04-11 04:29:23 +00:00
Mark Vejvoda
af87e53bbe Bugfix for trace bug#: 2984991
falling back to english text for scenarios text. 
- Also added more error checking and commented out some excessive debug output statements.
2010-04-11 01:25:06 +00:00
Mark Vejvoda
63743aeedb Added more error condition checks and re-throw runtime_error in SDL event handler so we get a nice messagebox in the game 2010-04-09 07:44:23 +00:00
Mark Vejvoda
06b21ca4ee Bugfix for win32 loading jpg texture's 2010-04-09 06:51:13 +00:00
Mark Vejvoda
a71f0d0e7c Bugfixes:
- Allow for load screens for networked clients
- Reworked the font loading for win32 so it will respect font names and sizes
- Disabled Alt-Enter for win32
2010-04-08 01:12:55 +00:00
Titus Tscharntke
e290b6db82 resolution switch for windows fixed ( hopefully ) 2010-04-07 16:38:14 +00:00
Mark Vejvoda
9a2b958869 bugfix for ctrl + # grouping of units in win32 2010-04-06 14:25:00 +00:00
Mark Vejvoda
436f46fcba Added support for OpenAL in win32 2010-04-06 05:30:22 +00:00
Mark Vejvoda
b7a5970a3c Added code to support toggling between windowed and fullscreen mode for win32 platform. 2010-04-05 20:42:05 +00:00
Mark Vejvoda
1fe29664c9 bug fix to properly initialize textures dynamically loaded when loading a faction. 2010-04-05 19:38:50 +00:00
Mark Vejvoda
18249c02bd - Some changes to try to reload textures for win32 when doing alt-enter
- Added better logging and guards in sound and socket classes
2010-04-04 04:14:27 +00:00
Mark Vejvoda
a0c0be4d65 Some bug fixes related to file transfer code and user folders 2010-04-03 04:30:28 +00:00
Mark Vejvoda
e56ce605db Ported latest linux changes to win32 2010-04-03 02:28:49 +00:00
Mark Vejvoda
e3a3b974da Added more debug output and protection for X11 font processing 2010-04-03 02:23:46 +00:00
Mark Vejvoda
092f3a2bca some changes in preparation for file transfers 2010-04-03 02:22:41 +00:00
Mark Vejvoda
c8019116c5 Slight change to use receiver's IP address instead of manufactured packet info 2010-04-03 02:21:04 +00:00
Mark Vejvoda
02d0781b40 A few changes to allow for better keyboard state detection 2010-04-02 17:37:04 +00:00
Titus Tscharntke
198d2aeb98 improved resolution change in options menu 2010-04-02 14:21:43 +00:00
Mark Vejvoda
8cf77f1b8a Ported LAN auto-connect feature to win32 2010-04-02 03:06:27 +00:00
Mark Vejvoda
bc725454fd Added a new menu item in join menu and added a threaded callback system for clients when searching for servers so that the UI doesn't wait for responses 2010-04-02 02:33:32 +00:00
Mark Vejvoda
d4e645424a added a fallback to fixed font on X11 in case of missing fonts 2010-04-02 00:31:39 +00:00
Mark Vejvoda
2391d025ac Bugfix for X11 font loading when NULL pointer encountered. 2010-04-01 20:42:07 +00:00
Titus Tscharntke
c678d35bdb new glest ini, font handling changed!!!
"dynamic" fonts for linux ( maybe an error fallback should be added in gl_wrap.cpp if font is not available )
better option menu layout
2010-04-01 18:59:05 +00:00
Mark Vejvoda
05a031cc0e Attempt to fix the retrieval of supported video resolutions 2010-04-01 16:23:25 +00:00
Mark Vejvoda
02c41f7b77 Attempt to fix the retrieval of supported video resolutions 2010-04-01 16:22:17 +00:00
Mark Vejvoda
76f4b87cbb ifdef for win32 only code 2010-04-01 07:53:07 +00:00
Mark Vejvoda
e392f3ca2f Changed posix to use all IP addresses for LAN auto connect 2010-04-01 07:50:15 +00:00
Mark Vejvoda
6c92f188b6 Ported auto-discover LAN connect to win32 2010-04-01 07:46:14 +00:00
Mark Vejvoda
215fbdb33f Temp bugfix so that options menu will load, resolution that it tries to auto-select when opening did not exist and caused a crash. 2010-04-01 07:38:49 +00:00
Mark Vejvoda
0bcb710606 Added auto-discovery of LAN servers using UDP broadcast. (for now the client must press the A key from the join menu to trigger this) 2010-04-01 06:31:10 +00:00
Titus Tscharntke
5ecc84099a fonts
options menu
ingame resolution change ( game restart needed )
everything not really poolished yet!
2010-04-01 00:13:28 +00:00
Mark Vejvoda
a74fa24001 Converted win32 project to use SDL so that more code is shared and cross platform friendly. This fixes the issue with using the mouse to scroll the camera. 2010-03-30 00:25:35 +00:00
Mark Vejvoda
cda368b96c Added logic to NOT trigger camera mousemove if keyboard has a key pressed so you can scroll with keys and still move mouse simultaneously 2010-03-27 21:32:33 +00:00
Mark Vejvoda
02b1cb40e2 Bugfix and additional debugging of directx sound under win32 (added an explicit stop of playing the next buffer 2010-03-27 20:33:46 +00:00
Mark Vejvoda
25dea73abc Added some debug tracing abilities for sound related issues. Added a little protected to the open_al sound wrapper to avoid having queued sound buffers not being cleaned up properly in some cases. (Need to test on Windows now) 2010-03-27 18:35:47 +00:00
James McCulloch
21acde48a9 * disabled leak dumper, causes broken build on linux 2010-03-27 08:28:31 +00:00
James McCulloch
a9026f8c20 * added missing #include "leak_dumper.h" to new cpp files
* fix for map names not being formatted (and replaced explicit loops to do the same to tileSet & techTree)
 * fix exploration state for fog-of-war off & multiplayer (note: also turns off for AI, diff. behaviour to before)
 * added fogOfWar to GameSettings and added to cutom game menu/menu_state_custom_game.cpp
2010-03-27 07:09:34 +00:00
Titus Tscharntke
c1ec8f97df new switch <rotationAllowed value="false" /> for buildings
new switch <relativeDirection value="false" /> for UnitParticleSystems
2010-03-27 03:09:11 +00:00
Mark Vejvoda
26289b70d2 Patch from PolitikerNEU for RGB / RGBA files 2010-03-26 16:55:17 +00:00
Mark Vejvoda
1e519fedbe Bugfix for incorrect header check for jpg textures 2010-03-26 05:45:46 +00:00
James McCulloch
9bca65faa3 * removed quick-fix for static init problem 2010-03-25 19:30:35 +00:00
Mark Vejvoda
2ce421e06c - disabled mouse revert in win32 as it doesn't seem to work properly (screen freezes while dragging)
- changed the mouse cursor at startup so it always looks like the regular glest mouse (unless we get one of those new glest error message boxes)
2010-03-25 06:35:18 +00:00
Mark Vejvoda
2b56cfe3b0 ported new mouse changes by Titi to win32 (and removed debug output for image classes) 2010-03-25 01:06:28 +00:00
Titus Tscharntke
147447b638 better mouse camera navigation ( missing win32 implementation ) 2010-03-25 00:19:49 +00:00
Mark Vejvoda
844ca894b4 bugfixes for static init filereader concrete classes 2010-03-24 22:50:45 +00:00
Mark Vejvoda
b22adbfa02 bugfix for scripted scenarios and placing unit model not showing 2010-03-24 21:26:17 +00:00
James McCulloch
dfc32cdba2 * quick-fix for static initialisation problem in ImageReaders
* fix error in two part NetworkMessageCommandList receive
2010-03-24 13:39:08 +00:00
Mark Vejvoda
6496d72533 Updates related to win32 camera zoom compile fixes 2010-03-24 10:10:56 +00:00
Mark Vejvoda
7521a251f5 Commented out temp debug printing 2010-03-24 07:11:12 +00:00
Mark Vejvoda
3ecf980649 Updated camera panning so that holding middle mouse button and moving the mouse changes the camera angle. 2010-03-24 01:28:48 +00:00
Titus Tscharntke
ecc39ea911 PolitikerNEU jpg and png support! ( currently linux only ? )
Some little changes where I forgot to integrate the playername
Mousescroll is not longer super fast
2010-03-23 23:32:25 +00:00