Commit Graph

313 Commits

Author SHA1 Message Date
Mark Vejvoda
25bc515466 -bugfix for mutex in custom menu 2010-06-11 19:00:17 +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
c6d83dc6bb Fixed a hideous debug output bug in custom menu causing a crash 2010-06-11 01:33:43 +00:00
Mark Vejvoda
e1fffda0cd -updated version# to beta1
-changed one english text title to: Network Send FrameCount
-changed default of ServerControlled AI to false
2010-06-11 00:23:16 +00:00
Titus Tscharntke
1e6262dde5 printf replaced with debug fro URL printout 2010-06-08 22:59:42 +00:00
Titus Tscharntke
74400f77fc chat in menu doesn't fade and 'M'-key to show more messages works in menu too 2010-06-08 22:50:37 +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
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
79c47e9e7f updated custom menu with more mutex protection 2010-06-05 00:58:32 +00:00
Mark Vejvoda
c76b1600dd added another thread guard 2010-06-05 00:27:33 +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
052b82541f updated ping text for master server 2010-06-04 20:52:32 +00:00
Mark Vejvoda
964be91fa9 added ping times to UI 2010-06-04 19:42:58 +00:00
Titus Tscharntke
0046080e0c - Nicer UI layout
- Settings are only saved when game is launched. 
- game is initially published once custom menu is opened from internet menu
2010-06-04 00:33:34 +00:00
Mark Vejvoda
a5e417fff9 bugfix for when client is missing the tech that was selected by server 2010-06-03 22:52:56 +00:00
Mark Vejvoda
302fbab84a network init bugfix (call end first) 2010-06-03 21:14:42 +00:00
Mark Vejvoda
6808cda2aa moved network manager init to init earlier 2010-06-03 21:07:55 +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
1b000376d4 - updated client connection screen to NOT crash if client does not have the tech selected on the server 2010-06-03 06:03:41 +00:00
Mark Vejvoda
e85a269738 - added server controlled AI as a game option 2010-06-03 01:10:40 +00:00
Mark Vejvoda
57f28913d0 - commented out streflop from random # generator 2010-06-01 19:48:35 +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
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
22439457b4 - bugfix for saving of last game settings 2010-05-31 23:39:07 +00:00
Mark Vejvoda
69f65992e1 - bugfix for saving of lastgame settings 2010-05-31 20:49:23 +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
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
Titus Tscharntke
5388fbfffb only one sound is played ..... 2010-05-21 00:25:18 +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
Titus Tscharntke
5f2aabb6c3 you can only enter games with same version number ( in masterserver menu )
version set to 3.3.5-dev
2010-05-19 23:23:42 +00:00
Mark Vejvoda
258cd1fea1 - bugfixes for custom port# configurations
- changed version to alpha2
2010-05-17 20:41:18 +00:00
Titus Tscharntke
70383f2a30 better handling of attention sound / errormessages ... 2010-05-17 20:05:31 +00:00
Mark Vejvoda
8be87ee362 - bugfix for network game settings broadcast and game end fog of war fix 2010-05-17 16:02:47 +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
5ea892ba1a updated masterserver logic to more properly handle success and error conditions. 2010-05-17 05:38:07 +00:00
Titus Tscharntke
5a57113cac masterserver should be able to check the routersetup now ( important part is still uncommented ) 2010-05-16 23:03:22 +00:00
Titus Tscharntke
a6992ee686 sound effects if new servers are available or player joins. ( new data attention.wav is needed !)
menu navigation is corrected.
camera movement for new menues ( new menu.xml needed! )
2010-05-16 16:40:21 +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
9ab6732f86 added some safety checks if user does not have masterserver setup properly 2010-05-15 18:49:45 +00:00
Titus Tscharntke
6548c42d38 autorefresh
direct create game ( not completly finished yet )
2010-05-15 18:40:58 +00:00
Mark Vejvoda
a585a6663f - added some bugfixes related to timing ans corrupt state in network and regular game menus 2010-05-13 21:47:14 +00:00
Titus Tscharntke
036cc5e0f3 language files
new menu cameras prepared
2010-05-13 21:07:43 +00:00
Titus Tscharntke
9163d75fcc masterserver works again 2010-05-13 11:19:10 +00:00
Mark Vejvoda
a7e7b00cba added another thread shutdown 2010-05-13 07:24:59 +00:00
Mark Vejvoda
c5485be4da - updates to language keynames and english strings
- added some more protection for shutdown of threads
2010-05-13 07:22:33 +00:00
Mark Vejvoda
4fc043ddb6 more bullet proofing of network activity 2010-05-13 07:13:53 +00:00
Mark Vejvoda
57d0420b76 Added some threading for URL calls for new masterserver game play 2010-05-13 06:43:56 +00:00
Titus Tscharntke
55d7c6eebc looks a bit better now 2010-05-13 00:42:49 +00:00
Titus Tscharntke
9fb3352dfe masterserver ( work in progress ) 2010-05-12 22:58:00 +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
Titus Tscharntke
13a1630e69 first steps for masterserver join menu 2010-05-09 21:23:13 +00:00
Titus Tscharntke
0dd135fc12 windowed/fullscreen switch in options ( needed for windows )
watereffect improved for big unnits ( ElimiNator should test it )
2010-05-03 22:07:27 +00:00
Mark Vejvoda
04bb6659ce Added more debugging and option to disable new streflop usage. 2010-05-01 20:14:25 +00:00
Titus Tscharntke
3e7f3ed485 client slot selection bug hopefully fixed 2010-04-30 18:36:38 +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
Titus Tscharntke
0687a56e27 clients can choose their slots 2010-04-30 01:08:29 +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
712b09c928 Added a guard for switching game settings on server from networked clients 2010-04-29 00:44:27 +00:00
Titus Tscharntke
50341e9db6 clients can choose team and faction ... client triggered slot change is prepared 2010-04-28 23:59:37 +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
4869b68b7a Disconnect client when server changes the map and the client is in a slot that is no longer a network slot. 2010-04-23 00:14:22 +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
e692e6efee memory problems 2010-04-22 22:08:56 +00:00
Titus Tscharntke
e0c55688e3 used network slot is marked with Human instead of Network now 2010-04-21 23:26:10 +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
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
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
Titus Tscharntke
d5a55f6a83 fonts can be scaled from options menu and more switches are in glest.ini
helvetica is used for linux
fire fix for blacksmith
persian elephant chaged a little bit for balance ( I think he is still too strong )
2010-04-07 22:20:28 +00:00
Mark Vejvoda
b16b0f00fc Bugfix for release so if the current used resolution string isn't properly detected we add it at the end.
- Updated win32 glest.ini and win32 installer script
2010-04-06 23:50:06 +00:00
Titus Tscharntke
8681a551a1 smaller fonts for display and console 2010-04-04 16:48:42 +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
Titus Tscharntke
a0c979a978 server socket number is displayed in cutom game menu ( in the connect state ) 2010-04-03 23:31:10 +00:00
Titus Tscharntke
4c9c10f460 size 16 font fix ( more a hack )
server port is displayed in join/options
ConsoleTimeout in ini raised to 20
2010-04-03 17:17:15 +00:00
Mark Vejvoda
924ec79364 Removed fogofwar code that I had in my synch check logic from, long ago as it is no longer needed due to Silnarms new feature 2010-04-03 05:50:07 +00:00
Mark Vejvoda
a0c0be4d65 Some bug fixes related to file transfer code and user folders 2010-04-03 04:30:28 +00:00
Titus Tscharntke
198d2aeb98 improved resolution change in options menu 2010-04-02 14:21:43 +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
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
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
5604473d28 added missing header 2010-03-27 18:43:38 +00:00
Titus Tscharntke
42919a50f2 data is ready for rotation feature
some little hotkey changes
2010-03-27 16:08:03 +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
James McCulloch
00dd0f490d * fix for map names (possible duplicate entries if mgm and gbm with same name) & alphabetically sorted now
* re-implemented building rotation (Note: requires particle systems that should be rotated with the building to be 'relative')
2010-03-25 12:15:10 +00:00
Mark Vejvoda
b22adbfa02 bugfix for scripted scenarios and placing unit model not showing 2010-03-24 21:26:17 +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
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
Titus Tscharntke
397fe3dc41 Network Playernames ( and some more changes in the options menu ) 2010-03-23 01:38:19 +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
64513cdf90 bugfix for scenario folder not finding language file 2010-03-20 12:11:46 +00:00
Mark Vejvoda
a9d644eba0 Bugfixes so that win32 code will compile with latest user data changes 2010-03-20 10:52:55 +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
37c45275e4 about menu layout fixed 2010-03-19 01:18:05 +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
Titus Tscharntke
7468e314d1 Chat line is visible in custom game menu.
Network consistency always checks and gives better messages.
2010-03-17 13:22:08 +00:00
Mark Vejvoda
ff60b09158 Cleaned up all compiler warnings 2010-03-13 22:00:01 +00:00
Mark Vejvoda
43c3f2457e Code Restructuring to make mega-glest more standard 2010-03-12 05:20:53 +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
James McCulloch
06012e4804 * looks for 'gbm' (1-4 player) maps & 'mgm' (5-8 player) maps 2010-03-04 13:42:27 +00:00
Titus Tscharntke
b6b54f1001 damage particlesystem / new glest.ini / ingame option to switch of particles 2010-03-01 00:30:51 +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
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