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
b40a9d58c4
- more thread guards to avoid crashes
2010-06-11 03:17:38 +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
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
964be91fa9
added ping times to UI
2010-06-04 19:42:58 +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
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
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
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
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
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
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
5a1c48d148
added wrapper for streflop
2010-05-01 20:39:11 +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
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
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
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
30c4eb2b96
Added some performance logging capabilities and socket cleanup for new broadcast thread sockets
2010-04-15 01:19:00 +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
06b21ca4ee
Bugfix for win32 loading jpg texture's
2010-04-09 06:51:13 +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
e56ce605db
Ported latest linux changes to win32
2010-04-03 02:28:49 +00:00
Mark Vejvoda
092f3a2bca
some changes in preparation for file transfers
2010-04-03 02:22:41 +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
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
6c92f188b6
Ported auto-discover LAN connect to win32
2010-04-01 07:46:14 +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
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
James McCulloch
9bca65faa3
* removed quick-fix for static init problem
2010-03-25 19:30:35 +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
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
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
237b76e2f2
Updates to new netplayer code to default the value to the hostname and not crash if the property is missing from glest.ini. Also added new property to configurator
2010-03-23 02:37:41 +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
64513cdf90
bugfix for scenario folder not finding language file
2010-03-20 12:11:46 +00:00
Mark Vejvoda
8c08eefa28
Added EndsWith to headerfile
2010-03-20 12:09:30 +00:00
Mark Vejvoda
a6609cbdab
Bugfixes so that win32 code will compile with latest sdl changes
2010-03-20 09:02:56 +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
Mark Vejvoda
f838293632
Added code for the following:
...
a) Complete Unit Rotation for multi-player
b) Added support for user defined data folders
2010-03-18 21:26:40 +00:00
Mark Vejvoda
b9172acc5c
Bugfix for multiplayer binary and data checksum checking.
2010-03-16 21:37:11 +00:00
Mark Vejvoda
ff60b09158
Cleaned up all compiler warnings
2010-03-13 22:00:01 +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
Mark Vejvoda
7cb4f99ec4
Code Restructuring to make mega-glest more standard
2010-03-12 05:11:28 +00:00
Mark Vejvoda
cb0ea38d74
Bugfix for connecting to invalid IP Address will now properly detect a failed connection attempt.
2010-03-11 17:45:39 +00:00
Mark Vejvoda
4ecc284f75
Updated win32 solution and also made mgm files optional (not required) so that mega-glest will work with or without the new 8 player maps
2010-03-09 00:43:46 +00:00
Titus Tscharntke
bb637920fa
8 player fix for existing scenarios. Closed slots don't have to be set any more.
2010-02-28 13:16:03 +00:00
Titus Tscharntke
775386190a
...dumb
2010-02-28 11:40:52 +00:00
Titus Tscharntke
5cb8aca19c
8 players
2010-02-28 11:21:01 +00:00
Titus Tscharntke
59faabfe14
bugfix/improvement for teamcolor particles ** units can morph to flying units ** tech faction with particles
2010-02-27 00:34:03 +00:00
Titus Tscharntke
15783511fd
black particles
2010-02-22 22:51:46 +00:00
Mark Vejvoda
7657b40a4b
- Additional bug fixes related to network connection code for win32
...
- print out socket errors to console instead of throw exceptions
2010-02-21 03:48:05 +00:00
Titus Tscharntke
0d53988e99
scrubland / particle fixes /mapeditor strings
2010-02-19 00:34:01 +00:00
Titus Tscharntke
0550d06faf
particles for te skills
2010-02-16 01:12:48 +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