Commit Graph

71 Commits

Author SHA1 Message Date
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