Commit Graph

87 Commits

Author SHA1 Message Date
Titus Tscharntke d14f013491 some chat changes and custom game with NetworkFramePeriod 2010-06-08 00:00:28 +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 50ca413310 added more debug info related to time of day increment 2010-06-05 14:37:20 +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 3b06db30e9 commented out ping code and added synch check for large comamnds list 2010-06-05 00:00:36 +00:00
Mark Vejvoda 6b10c5696f - added missing gamesettings to network packet and added experimental threaded server message broadcasts to client 2010-06-03 07:52:17 +00:00
Mark Vejvoda e85a269738 - added server controlled AI as a game option 2010-06-03 01:10:40 +00:00
Mark Vejvoda 1c9b85418a - Some initial changes in prep for support server controlled AI 2010-06-01 16:54:44 +00:00
Mark Vejvoda f4750e6f8b - added ability to remember last custom game settings 2010-05-31 19:57:10 +00:00
Mark Vejvoda 03b24659e4 - added ability to toggle the observer mode per game when players game is over (win or lose) 2010-05-31 10:20:18 +00:00
Mark Vejvoda 8ea52485cc - Attempt to fix unit id allocation issues 2010-05-31 09:24:44 +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 e4f885ecf3 removed some debug output to make reading logs easier 2010-05-29 11:12:45 +00:00
Mark Vejvoda ffef6e4098 - more debug info to hunt down synch issue 2010-05-29 10:34:56 +00:00
Mark Vejvoda 9159d44b7a - added a VERY IMPORTANT synch check in order to find unit id mismatch 2010-05-29 08:23:52 +00:00
Mark Vejvoda b31531db1f more user friendly error handling, try to display most errors in a nice messagebox in-game 2010-05-29 07:58:58 +00:00
Mark Vejvoda 3fdc1d2a18 - added proper toggle for new unit title rendering 2010-05-29 07:07:46 +00:00
Mark Vejvoda 8b6af02ece - Added better error handling for in-game errors 2010-05-29 06:56:32 +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 a03853ad13 - made some stability improvements
- Fixed chat message processing
2010-05-28 14:59:09 +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 f0da609e7f trying to track down network bugs 2010-05-28 00:57:24 +00:00
Mark Vejvoda ac34fc6d99 Commented out some mutex use that should no longer be required. 2010-05-28 00:26:29 +00:00
Mark Vejvoda 5879e87297 - added game start debug output to console to show basic faction info 2010-05-20 20:19:34 +00:00
Mark Vejvoda b69d808a0b - added loads of debug potential. We can now output most objects as a string for logging purposes.
- when we get the command type id not found error we now dump the whole world to a textfile
- Pressing the | hotkey at any time during a game dumps the whole world to a textfile
2010-05-18 03:53:57 +00:00
Mark Vejvoda 83dbaf7886 added hotkey of ? as a way to toggle on/off the debug UI display 2010-05-15 19:51:58 +00:00
Mark Vejvoda 1ae2a9ae10 - Added partial threaded network server handling of incoming socket data to try to improve performance
- Small changes to client network handling to be more accurate and efficient
- Added observer mode when a user loses a network game
2010-05-15 18:59:17 +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 f091df9954 - added a more simpler version of right click to set meeting point from RCL 2010-05-10 23:56:55 +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 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 04bb6659ce Added more debugging and option to disable new streflop usage. 2010-05-01 20:14:25 +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 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 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 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 afcdc1209c Changed fow setting to use a property instead of lua method 2010-04-23 14:08:19 +00:00
Mark Vejvoda a01c0adb78 Added a new lua script function called: unfogMap to allow scenarios and tutorials to turn off fog of war. 2010-04-23 02:48:56 +00:00
Titus Tscharntke edd3b66273 connected playernames and free slots are shown on the client.
some bugfixes
2010-04-22 23:18:04 +00:00
Titus Tscharntke 06660e3a17 clients can see which setups are made on the server. ( work in progress !)
menu gfx-components can be set editable/non editable now
+ in addition fixed several memory problems and FOW in scenarios ...)
2010-04-21 23:13:39 +00:00
Mark Vejvoda ca10bd5776 Bugfixes for 3.3.4 defects found:
- Fog of War always turned off in scenarios and tutorials
- memory cleanup in join menu
- removed dsound.dll  copying from batch file
2010-04-20 23:23:06 +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
PolitikerNEU e06e964728 Added queing commands with shift 2010-04-18 07:35:48 +00:00
Mark Vejvoda e9453ae7d1 Updated version # for current development 2010-04-18 06:01:20 +00:00
Titus Tscharntke e02a81d1a2 press escape to abort chatting 2010-04-15 21:16:13 +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