Titus Tscharntke
a38778deb1
map preview is scree resolution resistant
2010-09-14 23:02:50 +00:00
Mark Vejvoda
f84a710d2c
- initial logic to allow client side controlled AI
2010-09-14 19:10:37 +00:00
Mark Vejvoda
e4669b94b0
- added map preview to the client connected lobby
2010-09-14 06:10:48 +00:00
Mark Vejvoda
b95e2247cd
- moved map render logic into a shared base class
2010-09-14 06:02:35 +00:00
Mark Vejvoda
0f5cd740a6
- moved game map entity into a shared source file in shared lib, which is now shared by the main game and the map editor
2010-09-14 00:43:09 +00:00
Mark Vejvoda
f373a7f9bb
- bugfix for cell bad cell management in map preview
2010-09-13 23:10:29 +00:00
Titus Tscharntke
40489e0687
- map with different width and height are shown the right way
...
- maps which are too big/too small are resized to fit
- Ressources/objects are only rendered when fog of war is switched off
- static size for the preview
2010-09-13 23:00:20 +00:00
Mark Vejvoda
c295697aba
- added map preview on custom game menu
2010-09-12 05:05:08 +00:00
Mark Vejvoda
52916bdc6e
- added support for random faction selection
2010-09-11 08:09:33 +00:00
Mark Vejvoda
350d658ceb
- updated network menus to hide player rows that are not applicable to the map selected
...
- added new visible property to graphical controls
2010-09-11 06:08:50 +00:00
Mark Vejvoda
6a24ca3ad0
- completed screen UI work. F11 will save current menu UI config to ini file, F5 will cause a reload of INI realtime
2010-09-09 21:07:39 +00:00
Mark Vejvoda
7f9c9cde28
- updated menus to allow dynamic UI placement via ini settings
2010-09-09 06:42:39 +00:00
Mark Vejvoda
cf5b085b2e
- added ability to override UI placement for connected and custom menus
2010-09-08 22:37:24 +00:00
Mark Vejvoda
ab44c83168
- added leak_dumper header all over the place (not yet functional in linux)
...
- Bugfix for particle cleanup
2010-09-07 05:25:40 +00:00
Titus Tscharntke
716849030e
cleanup menu layout ...
2010-09-04 11:49:54 +00:00
Mark Vejvoda
90a60dce3e
- implemented advanced features button
2010-09-04 01:50:36 +00:00
Mark Vejvoda
fba29d3002
- added new menu option to toggle on / off observers
2010-09-04 01:24:17 +00:00
Titus Tscharntke
939bd9b5e3
language key changed
2010-09-04 00:44:53 +00:00
Mark Vejvoda
e93ac6d756
- changed observer faction to use a special team # and fog of war is auto turned off for this special team #.
2010-09-04 00:32:56 +00:00
Titus Tscharntke
72711e2fde
sound toggle key for masterserver menu language is missing
2010-09-03 23:54:11 +00:00
Titus Tscharntke
f101d12da6
toggle of music in custom menu while waiting for players
2010-09-03 23:15:42 +00:00
Mark Vejvoda
358d61aa38
- first attempt to add a special builtin Observer faction to allow people to observe games
2010-09-03 07:12:40 +00:00
Mark Vejvoda
ada90b4e27
- attempt to improve network performance and log more info regarding menu and network performance
2010-09-02 22:34:25 +00:00
Mark Vejvoda
6c30b387ec
- fixed timing debug perf stats in menu
2010-09-02 22:17:14 +00:00
Mark Vejvoda
534df002ba
- added more perf timings to menus
2010-09-02 21:40:43 +00:00
Titus Tscharntke
e4e8beb230
better layout ( with faction preview )
2010-09-02 19:47:09 +00:00
Mark Vejvoda
f5711b0949
2010-09-02 13:53:23 +00:00
Titus Tscharntke
57f7ffe555
cleand up the menu again and fixed a bug with map filter
2010-09-01 23:15:08 +00:00
Mark Vejvoda
ab42ca7ace
- added new commandline option to auto-load a scenario:
...
--load-scenario=x
- added support for a special faction preview texture when faction preview is enabled
2010-09-01 06:05:28 +00:00
Titus Tscharntke
f07cbb13ad
just a small change so that "all" is not needed in the language file
2010-09-01 00:25:46 +00:00
Mark Vejvoda
f727c383b2
- fixed bug with server unable to start a game (sorry everyone)
...
- made faction texture preview an ini option: FactionPreview=true
2010-08-31 20:31:20 +00:00
Mark Vejvoda
6ce69a1e0b
- added new messagebox prompt on server when data synch check enabled and data is different we stop the server from launching the game.
...
- added faction preview texture when users change their faction selection
2010-08-31 06:38:27 +00:00
Mark Vejvoda
6c9b8afc81
- bugfix for mapfilter when saved game does not have index
2010-08-30 21:06:43 +00:00
Titus Tscharntke
13173788da
mapFilter
2010-08-30 20:02:58 +00:00
Mark Vejvoda
792150e3dd
- moved the hard coded M (more chat text) hotkey to use the already defined hotkey in glestuser.ini
2010-08-28 01:52:57 +00:00
Titus Tscharntke
4ef61fc85e
menu layout changed, added 2 new feature switches for custom menu ( non functional only dummys yet )
2010-08-27 23:08:35 +00:00
Mark Vejvoda
eb9b5a4ec6
- bigfixes for game data check
2010-08-26 23:45:29 +00:00
Mark Vejvoda
90f66d99bf
- updated game data checks display on server
2010-08-26 23:14:55 +00:00
Mark Vejvoda
f765ab0880
- updated game data mismatch display
2010-08-26 23:04:14 +00:00
Mark Vejvoda
f3278c3cf3
- bugfixes for stack overflow issue (static array size too large causing chkstk errors)
2010-08-26 19:01:44 +00:00
Mark Vejvoda
4ebd156828
- added new commandline parameter to display the version of SDL used by the program
2010-08-26 16:03:54 +00:00
Mark Vejvoda
db173d0fdd
- bugfixes for network playername inline editing in the lobby during a slot switch
2010-08-26 05:30:17 +00:00
Mark Vejvoda
0509b5d643
- bugfixes for playername change in lobby screen
2010-08-23 04:33:21 +00:00
Mark Vejvoda
bf5f6b7f33
- experimental support for idenitfying specific game data which is out of synch with the server.
2010-08-22 08:00:05 +00:00
Mark Vejvoda
455876a3c0
- added the ability to change your playername from the game lobbies inline
2010-08-21 13:04:52 +00:00
Mark Vejvoda
6530600516
-- intial work to add network playername inline editing in lobby (partially done for server player so far)
2010-08-21 07:41:26 +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
d69fbc6925
- more NULL checking for safer execution
...
- added safer mutex guards in custom game menu
2010-08-20 22:42:26 +00:00
Mark Vejvoda
09f7eecf06
- fix a thread synch issue in the custom game menu
2010-08-20 21:06:20 +00:00
Mark Vejvoda
f79d34b4a4
- defaulted scenario's to regular pathfinder while allowfor for a property setting to change it to routeplanner
2010-08-11 21:55:08 +00:00
James McCulloch
3d482ca366
* fix (work-around) for apparent MSVC bug, in AStarNode::operator<()
...
* removed some unused pathfinder stuff, and const-ified some other stuff
* RoutePlanner is used in scenarios (for testing purposes...)
2010-08-08 04:43:24 +00:00
Mark Vejvoda
0f231f28e6
- added free software logos
...
- updated the client lobby screen so the chat window does not overlap UI controls
2010-08-05 22:27:26 +00:00
Mark Vejvoda
3cb7a0897d
- added client side settings change without wait for server reply
...
- incremented version to beta1
2010-08-05 10:42:31 +00:00
Mark Vejvoda
7df6d2bc16
- added version string display for network lobbies
2010-08-05 05:58:14 +00:00
Mark Vejvoda
51931d5b18
- fixing crash on client connect screen one more missed item
2010-08-05 00:51:39 +00:00
Mark Vejvoda
1a2f0175a8
- fixing crash on client connect screen
2010-08-05 00:48:46 +00:00
Mark Vejvoda
ac31d06106
- added more error checks in code and defaults for invalid font size values.
...
- re-enabled client side changing of values from connect menu without waiting for server reply.
2010-08-05 00:09:45 +00:00
Mark Vejvoda
4ba4b756c8
- updated client connect screen to display new game options as set from the server
2010-08-04 23:39:12 +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
bca03b0c0c
- initial changes to support multiple path finders
2010-07-21 18:21:40 +00:00
Mark Vejvoda
a3ec4650c4
- moved pause for lagged clients option to custom game menu
...
- bugfix to ignore 0.* ip addresses
2010-07-16 16:53:19 +00:00
Mark Vejvoda
1e077512d8
- Added ability to disable sound for poor users with non-functional sound
2010-07-16 06:35:22 +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
031bfd2f60
- added LAN IP in custom Menu
...
- Updated readme and other text files with more accurate info (thanks Tomreyn)
- Disabled ability to zoom out when game is over if in a network game (creates to much LAG and instability)
2010-07-10 06:14:31 +00:00
Mark Vejvoda
eb34eb1fe5
- more bugfixes for ping logic
2010-07-09 18:49:01 +00:00
Mark Vejvoda
af6eb0d1e6
- bugfix for new custom ping msg
2010-07-09 18:02:31 +00:00
Mark Vejvoda
0d7d0e139d
- updated disconnect checking to include a timeout check for our custom ping
2010-07-09 17:12:57 +00:00
Mark Vejvoda
df688c3ede
- some debug comments removed
2010-07-09 15:59:49 +00:00
Mark Vejvoda
3e53b69676
- added client side ping style packet for linux socket disconnect checking
2010-07-09 15:01:49 +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
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
718d22df95
- updated to fully support customized external port assignments for users firewalls
2010-07-03 10:53:13 +00:00
Mark Vejvoda
009e6f07e5
- added initial ability for servers to publish an external port for use with internet games. This is in case we must use soft-haus.com which will work with only a few outgoing port numbers.
...
*NOTE: This update add's a new field to the PHP / mysql scripts.
2010-07-03 10:06:31 +00:00
Mark Vejvoda
ae8e8a71f2
- some minor fixes to non standard port display text
2010-07-03 09:14:58 +00:00
Mark Vejvoda
521fb237bf
- bugfix for regression of disconnecting from server on lobby screen
2010-07-02 16:54:28 +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
c5cb8dbd18
- bugfixes related to chat message processing and error processing. We now stack up messages and process them in a more safe manner
2010-07-01 00:08:59 +00:00
Mark Vejvoda
2555a895c3
- bugfix, only allow changing player info AFTER we get game settings from the server after requesting a change to avoid deadlocks etc.
2010-06-30 14:51:30 +00:00
Mark Vejvoda
9508dad51b
- network related bugfixes:
...
menu slowdown when picking network slots
clients can once again change network slots
performance fixes for network receiving
2010-06-29 06:50:35 +00:00
Mark Vejvoda
7b3ba31fe7
- fixed masterserver invalid connection issue and blank error message in custom game menu
...
- added optional bmp icon load for linux
2010-06-26 08:04:11 +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
96858fcd31
- bugfixes to properly save and load exact custom game settings (including slot positions)
2010-06-25 04:06:28 +00:00
Titus Tscharntke
90ba101d7e
Display chat URL in internet menu
2010-06-24 23:29:30 +00:00
Mark Vejvoda
9c37a8ec6d
- bugfix to use proper autorefresh time in master server menu
2010-06-24 11:30:54 +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
6dbb25a0b3
- another thread update for more smooth handling of masterserver updates
2010-06-23 15:07:31 +00:00
Mark Vejvoda
87b4706940
- Attempt to use libcurl in a thread safe manner
2010-06-23 14:49:20 +00:00
Mark Vejvoda
a05760d2a4
- threading bugfixes from the client join menu
2010-06-22 15:03:57 +00:00
Mark Vejvoda
050be3a7fb
- mutex change to make simple thread usage in custom menu more stable
2010-06-22 04:27:22 +00:00
Mark Vejvoda
2d50beecfa
- bugfix for mutex deadlock
2010-06-18 20:04:05 +00:00
Mark Vejvoda
82f412453e
- bugfix for mutex deadlock
2010-06-18 18:47:20 +00:00
Mark Vejvoda
60c6848832
- just let delete shutdown the thread to avoid mutex deadlock
2010-06-18 17:09:42 +00:00
Mark Vejvoda
4647497cee
- bugfix for proper thread shutdown which caused a number of crashes when navigating menus
2010-06-17 23:24:15 +00:00
Mark Vejvoda
eeda623b4f
- removed the rotateunit flag (its now just part of MG)
...
- updated rendering to consider both visible and explored cells when rendering untis and objects
- added a warning message when a client is lagging and coming close to being kicked off
2010-06-17 00:08:27 +00:00
Mark Vejvoda
e091460f40
- attempt to add a client LAG checker to notify and disconnect clients that fall too far behind.
2010-06-15 05:36:07 +00:00
Mark Vejvoda
cdb820a8e8
- fixed a network read problem where there is more data needed before reading large command lists can be processed.
...
- added more error checking
2010-06-14 06:38:24 +00:00
Mark Vejvoda
3401d5a43a
- added ESC key to exit from main menu
2010-06-12 19:27:11 +00:00
Mark Vejvoda
06c44a9411
- bugfix for method not returning a value
2010-06-12 19:01:16 +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
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