Commit Graph

270 Commits

Author SHA1 Message Date
Mark Vejvoda
b3a60f5b69 - updated commandline too show usage when using wrong parameters 2010-08-22 08:40:18 +00:00
Mark Vejvoda
0d53ae998d - changed auto start client and server parameter names 2010-08-21 13:06:59 +00:00
Mark Vejvoda
5a42638060 - added / updated commandline params to auto start or connect to a network game server 2010-08-21 06:47:00 +00:00
Mark Vejvoda
b99d1f7421 - code cleanup of commandline parameters 2010-08-21 06:11:45 +00:00
Mark Vejvoda
b721ce0722 - fixed function call on windows 2010-08-21 03:18:10 +00:00
Mark Vejvoda
5537a37b35 - updated commandline param to allow validation on filtered techtrees and factions 2010-08-21 02:13:50 +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
31363fd41b - bugfix for press screen shot hotkey in windows 2010-08-17 20:58:30 +00:00
Mark Vejvoda
a8ea5d1055 - bugfix for crash message in windows 2010-08-12 00:39:14 +00:00
Mark Vejvoda
f0bc39abf9 - changed the crash dump file logic to only happen for win32 2010-08-12 00:07:16 +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
dfeea6fc0a - another attempt to fix ultifd's game end issue 2010-08-06 03:55:17 +00:00
Mark Vejvoda
860b00df44 - a better attempt to safely end games and hopefully fix the delete cells bug once for all 2010-08-04 18:49:11 +00:00
Mark Vejvoda
c63283ffac - another attempt to fix game end crash for ultifd 2010-08-04 16:56:24 +00:00
Mark Vejvoda
0b6fae7c93 - attempt to work more friendly with open suse 2010-08-03 01:58:43 +00:00
Mark Vejvoda
4e8fdc105c - attmpt to auto-create the screens folder at startup to avoid crashes when folder is missing and users try to take a screenshot. 2010-08-02 03:15:11 +00:00
Mark Vejvoda
9d94e56886 - added more techtree validation (show upgrade types that cannot be produced) 2010-07-30 18:20:20 +00:00
Mark Vejvoda
e996dd2b79 - added ability to output errors in XML to console when validating techtrees 2010-07-30 17:20:13 +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
5686e8657c - fixed special keys to be ignored also in menus when in chat mode 2010-07-29 15:49:06 +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
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
1ef403c7b6 - moved output for opengl-info commandline parameter to go BEFORE CRC cache thread 2010-07-21 22:42:06 +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
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
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
b0b775dc49 - adjusted ? toggle key to always allow toggling of FPS (whether or not debug in enabled) 2010-07-06 15:11:10 +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
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
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
1f04fd3106 - added another LAG validation (this is in addition to the excisting ones) a time in seconds LAG. This should be able to deal with disconnected clients better
- added more error handling to try to handle different kinds of errors during gameplay
- added new mouse toggle hotkey (toggles between OS and mega-glest mouse) default key is / in glestkeys.ini
2010-06-30 07:03:04 +00:00
Mark Vejvoda
dd242a6c8b - bugfix for compiling on fedora 2010-06-26 19:08:34 +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
848d953bd7 - fixed TOM's game loading screen mouse click problem 2010-06-25 05:05:52 +00:00
Mark Vejvoda
9b2b544b84 - fixed mouse cursor position problrm at game startup 2010-06-25 00:45:46 +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
2d50beecfa - bugfix for mutex deadlock 2010-06-18 20:04:05 +00:00
Mark Vejvoda
39acffa2aa - enable mouse while new game is loading 2010-06-16 06:35: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
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
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
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
cf6d43247d added networkframeperiod support to gamesettings and added possibility to over-ride in glest.ini for now 2010-06-05 07:52:14 +00:00
Mark Vejvoda
964be91fa9 added ping times to UI 2010-06-04 19:42:58 +00:00
Mark Vejvoda
57f28913d0 - commented out streflop from random # generator 2010-06-01 19:48:35 +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
Mark Vejvoda
69d7070f54 Added some more mutex guards around multi-player server side thread that processes incoming messages 2010-05-21 16:36:08 +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
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
f7b6ef8450 commented out debug statements to remove some noise from logs 2010-05-10 23:58:07 +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
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
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
63aff0751c Updates to get things compiling under linux properly with streflop 2010-05-02 03:48:40 +00:00
Mark Vejvoda
7b9036345b streflop updates 2010-05-01 21:07:17 +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
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
fd2274775e moved threads into base common hiearchy and started an a new cache manager. 2010-04-30 22:54:24 +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
6577762297 - Added a new pre-Cache thread for CRC value calculation
- Added support in the client UI if multiple local LAN servers are discovered.
2010-04-30 06:45:30 +00:00
Mark Vejvoda
a750d4eda9 bugfix for logfile sharing 2010-04-28 22:34:10 +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
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
30c4eb2b96 Added some performance logging capabilities and socket cleanup for new broadcast thread sockets 2010-04-15 01:19:00 +00:00
Titus Tscharntke
8099e9db96 version number position in intro 2010-04-13 19:08:08 +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
4e12d8dbcf Bugfix for tracker#: 2985601
- Added checking for NULL pointer as well as clients now check connection state of the server during load.
2010-04-12 20:32:47 +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
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
Mark Vejvoda
9a2b958869 bugfix for ctrl + # grouping of units in win32 2010-04-06 14:25:00 +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
c51a4ca35f Removed call to reload textures when pressing alt-enter as it simply doesn't work in win32. 2010-04-04 04:28:23 +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
02d0781b40 A few changes to allow for better keyboard state detection 2010-04-02 17:37:04 +00:00
Mark Vejvoda
6c92f188b6 Ported auto-discover LAN connect to win32 2010-04-01 07:46:14 +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
2eae390d34 Added ServerPort to code so we actually use its value in code. Removed ServerPort from Configurator to make it more protected from common users 2010-03-31 17:30:12 +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
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
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
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
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
Mark Vejvoda
270ff57512 bugfix for startup errors to properly display on both windows and linux 2010-03-23 08:56:41 +00:00
Mark Vejvoda
221b099c67 More bug fixes for error handling if we have early program launch errors. 2010-03-23 08:46:20 +00:00
Mark Vejvoda
1fbff088e4 Some bugfixing for logfile saving after testing in win32 2010-03-23 07:59:24 +00:00
Mark Vejvoda
ae10ab55b2 Added ability to automatically log debug info to a debug logfile (respecting the new read / write configurable path) 2010-03-23 06:57:41 +00:00
Mark Vejvoda
1e7cd63330 - Some improvements for setting max videomode when AutoMaxFullScreen=true and Windowed=false
- Added better logic to try to restore video when crashing
2010-03-23 06:03:16 +00:00
Mark Vejvoda
5b713bd785 Added camera zoom (from GAE) into mega-glest (middle mouse button zooms in and out like in GAE) 2010-03-23 02:35:55 +00:00
Mark Vejvoda
344c4778d1 Added the ability to tell mega-glest where to look for glest.ini, servers.ini and all of the various .log files. The new optional environment variable that mega-glest will look for is:
GLESTHOME
2010-03-21 23:40:35 +00:00
Mark Vejvoda
edd3af5243 Bugfixes so that win32 code will work with latest user data changes 2010-03-20 11:16:07 +00:00
Mark Vejvoda
1f2c805fe8 Added new setting to allow playing glest using multiple monitors 2010-03-20 07:19:45 +00:00
Mark Vejvoda
965a7ac2ba Updated debug logic to use a debug class to better control debug logging and centralize the control of it. 2010-03-19 23:26:00 +00:00
Titus Tscharntke
4b5d3fc94a end battle layout fixed. numbers are readable now. 2010-03-19 00:41:09 +00:00
Mark Vejvoda
10449faf39 Attempt for bugfix to resume from msgbox 2010-03-17 20:40:06 +00:00
Mark Vejvoda
1f78d09b80 SDL Bugfix to work with Windows and Linux 2010-03-17 19:10:18 +00:00
Mark Vejvoda
ae632f4d7a Attempt for bugfix to resume from msgbox 2010-03-17 18:04:44 +00:00
Mark Vejvoda
eddd0cd19b Attempt for bugfix to resume from msgbox 2010-03-17 17:24:12 +00:00
Mark Vejvoda
399c463f9d SDL Bugfix to work with Windows and Linux 2010-03-17 16:40:49 +00:00
Mark Vejvoda
f0133ba260 Added a more user friendly messagebox when network errors are encountered. Added fix for Fullscreen OpenGL Mode 2010-03-17 16:27:17 +00:00
Mark Vejvoda
30d2d87e6f Added a more user friendly messagebox when network errors are encountered. 2010-03-17 07:30:56 +00:00
Mark Vejvoda
cde1f285d0 Added a more user friendly messagebox when network errors are encountered. 2010-03-17 07:22:04 +00:00
Mark Vejvoda
89d3c66471 Added a more user friendly messagebox when network errors are encountered. 2010-03-17 06:25:19 +00:00
Mark Vejvoda
2012b7e22c Made changes to properly isolate new unit rotation code so that it is disabled by default 2010-03-13 21:10:45 +00:00
Mark Vejvoda
43c3f2457e Code Restructuring to make mega-glest more standard 2010-03-12 05:20:53 +00:00
Titus Tscharntke
5cb8aca19c 8 players 2010-02-28 11:21:01 +00:00
Mark Vejvoda
fb5035c230 Updated with initial 3.4.4 codebase includes:
- network fixes for multiplayer defects found
- initial code (disabled currently) for content crc checking and downloading
- code compiles on Win32 using VS2008 express, project files not yet included
2010-02-03 01:09:50 +00:00
Titus Tscharntke
0ce9b5fcac initial version ( megaglest 3.2.3-beta3 ) 2010-01-22 01:45:58 +00:00