Commit Graph

619 Commits

Author SHA1 Message Date
James McCulloch
4393139496 * restore error check that I had commented out while experimenting with sqrt approximations 2010-07-16 17:13:12 +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
9992f9cb79 fixed minor compiler issues in linux for new pathfinder changes 2010-07-16 16:24:55 +00:00
James McCulloch
20165b4566 * path finding into unexplored areas handled more intelligently (and without revealing/exploiting information the player shouldn't have) 2010-07-16 16:08:09 +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
0089cc7d31 - updated location of some opengl calls to be more friendly in open suse 2010-07-16 00:42:13 +00:00
Mark Vejvoda
2ada9e7550 - bugfix for multi-unit selection (pressing shift does not unselect previously selected units now) 2010-07-15 19:48:28 +00:00
Mark Vejvoda
1096e81562 - bugfix for mouse click offset issue (had to do with Renderer::perspFarPlane value) 2010-07-15 14:54:19 +00:00
Mark Vejvoda
4582214815 - bugfix for mouse click offset issue (had to do with Renderer::maxLightDist value)
- bugfix for holding Ctrl key to queu commands
2010-07-15 07:33:49 +00:00
Mark Vejvoda
206170bc76 - attempted some speed improvements for unit lookup as well as exploreCells 2010-07-14 06:59:55 +00:00
James McCulloch
5f16b486d7 * fix for build command (problems with some cellmaps)
* fix for repair command (problems if top-left cell of repairee is blocked)
2010-07-14 06:54:43 +00:00
Mark Vejvoda
6e26641799 - a possible fix for the AI. this change will randomize all possible produce, morph and build operations instead of just using the last commandtype found for candidate units 2010-07-13 22:51:27 +00:00
James McCulloch
f18061a7ee fix build-site and store adjacency maps for potential building rotation
fix potential annotated map update problem with morphing to a smaller UnitType
2010-07-13 11:05:35 +00:00
James McCulloch
8387ed29dc * wired up RoutePlanner/Cartographer
* added DebugRenderer (mostly dysfunctional)
 * add lots of OutputDebug calls for the path finder, as macro PF_TRACE
2010-07-13 05:33:43 +00:00
Mark Vejvoda
f86268b53d - some small changes for new pathfinder code to compile in linux 2010-07-12 06:40:19 +00:00
Mark Vejvoda
d1fa4975de - added another xerces XML validation flag
- added new commandline option: opengl-info to output graphics card info
- added some opengl rendering optimzations
2010-07-12 06:30:54 +00:00
James McCulloch
bdd4f306f4 * added GAE path finder (SearchEngine and friends)
* some small changes to Unit, UnitType, Vec2<> & Map needed for the new path finder
 * compiles, but not hooked up yet, old PathFinder still in use
2010-07-11 18:31:02 +00:00
Mark Vejvoda
277230657c - fixed file encoding for proper credits display 2010-07-11 15:56:00 +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
9a6bb4830e - updated version # for next alpha release 2010-07-10 06:53:55 +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
f40dd94b1d - added error checking and allow the game to continue if we cannot init the sound system
- persist error messagebox between program states
2010-07-09 22:16:26 +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
b008594ca8 - missing header for windows compile 2010-07-09 17:46:53 +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
ff21d26161 - mouse disappearing bugfix (go ahead alt-tab, alt-esc, do it ALL, its fixed!)
- Added more descritive error message when data checksum is discovered. The client's playername is now disclosed in the error.
- added VS project config to disable STREFLOPs for testing later
- updated version to 3.3.5.1 alpha1
2010-07-07 22:25:29 +00:00
Mark Vejvoda
39ad29ba3d - attempt to improve rendering speed by rolling back render code to be more like 3.3.4
- added new ini setting to adjust http timeout and set default timeout to 10 seconds now
2010-07-07 18:50:55 +00:00
Mark Vejvoda
64705aa786 - some optimizations for performance logging 2010-07-06 19:24:36 +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
aecc708942 - attempt to improve rendering speed 2010-07-06 13:26:23 +00:00
Mark Vejvoda
c04b83259e - attempt to improve rendering speed 2010-07-06 10:11:56 +00:00
Mark Vejvoda
413c492684 - attempt to improve rendering speed 2010-07-06 06:30:49 +00:00
Mark Vejvoda
8478ab80b3 - bugfixes for malformed debug statements
- updated version to 3.3.5.1
- added more null checks
- changes to try to fix crash when ending a game (delete cells bug)
2010-07-06 05:30:34 +00:00
Mark Vejvoda
3792a0af23 - added another NULL check 2010-07-03 11:07:37 +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
aeae7371e9 - set version to 3.3.5 in preparation for release! 2010-07-03 07:06:49 +00:00
Mark Vejvoda
054817acd0 - added auto-create of user ini files if they don't exist 2010-07-03 07:02:31 +00:00
Mark Vejvoda
66d4fce081 - added missing translation strings to spanish (used bablefish for translations)
- updated exit text to support newlines in language text
- added support for netwlines in language string code
2010-07-03 06:48:24 +00:00
Mark Vejvoda
eda2e84aee - bugfixes for processing disconnect and game end scenarios. These fixes corrected a bunch of segfaults when client or server disconnect. 2010-07-02 19:57:47 +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
abb515298d - updated beta version to 19 2010-07-02 02:54:24 +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
0f15e9ecf3 - updated version to beta18 (could this be the golden version???) 2010-07-01 06:12:34 +00:00
Mark Vejvoda
391fd1f36d - bugfixes to properly manage and display various kinds of network error conditions. 2010-07-01 06:11:14 +00:00
Mark Vejvoda
3ea81caf92 updated output type to get proper values 2010-07-01 00:52:11 +00:00
Mark Vejvoda
b0b477aa59 - moved clear outside of loop 2010-07-01 00:31:48 +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
0e94ee5476 - added support for alt-enter window toggling in windows OS (by default it is tuned off)
to enable set AllowAltEnterFullscreenToggle=true
2010-06-30 19:27:07 +00:00
Mark Vejvoda
217c92e939 - updated warnhing message condition to also check LAG time in addition to lag count 2010-06-30 18:59:28 +00:00
Mark Vejvoda
b0abff0721 - lets show Martiño and company the respect they deserve! Finally fixed the special spanish characters that eclipse was encoding as UTF-8 which messed up the display in about screen, in-game. File is now saved as ISO-8859-1 format to keep proper formatting. 2010-06-30 15:19:46 +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
b0228ce651 - updated version number for beta17 2010-06-30 13:31:04 +00:00
Mark Vejvoda
1f04fd3106 - added another LAG validation (this is in addition to the excisting ones) a time in seconds LAG. This should be able to deal with disconnected clients better
- added more error handling to try to handle different kinds of errors during gameplay
- added new mouse toggle hotkey (toggles between OS and mega-glest mouse) default key is / in glestkeys.ini
2010-06-30 07:03:04 +00:00
Mark Vejvoda
00acd5e150 - updated version to beta16 2010-06-29 14:40:15 +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
a7954abc02 - updated version number to beta15
- fixed bug affecting performance due to unconnected slots
2010-06-28 03:17:50 +00:00
Mark Vejvoda
4e72831919 - updated version to beta14 2010-06-28 00:52:12 +00:00
Mark Vejvoda
9637a708a7 - small code rollback to see if it really affects render performance? 2010-06-28 00:25:12 +00:00
Mark Vejvoda
00860813b2 - bugfixes for LAG checking:
- proper disconnect for clients passed MAX lag
  - proper lag packet time initialzation for clients sending LAG update info to the server
2010-06-28 00:21:12 +00:00
Mark Vejvoda
1b8f589536 - updated to check for windows 64 bit compiler 2010-06-27 05:10:41 +00:00
Mark Vejvoda
3cf2e48e3d - updated 64bit macro settings 2010-06-26 23:15:09 +00:00
Mark Vejvoda
b014a8b2d3 - updated version string to display 64bit stamp if compiled by 64 bit compilers 2010-06-26 22:49:59 +00:00
Mark Vejvoda
dd242a6c8b - bugfix for compiling on fedora 2010-06-26 19:08:34 +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
848d953bd7 - fixed TOM's game loading screen mouse click problem 2010-06-25 05:05:52 +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
Mark Vejvoda
9b2b544b84 - fixed mouse cursor position problrm at game startup 2010-06-25 00:45:46 +00:00
Titus Tscharntke
90ba101d7e Display chat URL in internet menu 2010-06-24 23:29:30 +00:00
Mark Vejvoda
54e9f3fffc - updated version number 2010-06-24 14:46:23 +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
475da10605 - bugfix for end of game crash (end the network interface) 2010-06-24 11:27:21 +00:00
Mark Vejvoda
a81286cbba - added support for showing projectile particles in the g3d viewer 2010-06-24 10:52:58 +00:00
Mark Vejvoda
0340d57a8d - updated beta version number 2010-06-24 04:54:07 +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
4d10680748 - updated beta version number 2010-06-23 14:52:11 +00:00
Mark Vejvoda
87b4706940 - Attempt to use libcurl in a thread safe manner 2010-06-23 14:49:20 +00:00
Titus Tscharntke
e0b9089eeb chatmanager is rendered with colored and shadowed console font.
Fixed font problems while switching display colors ingame
(+ little fix for last checkin  )
2010-06-22 20:53:54 +00:00
Mark Vejvoda
f5a759666e - updated version number 2010-06-22 15:06:06 +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
0a6c382750 - a few more optimizations for rendering and removal of junk
- updated version # to beta8
2010-06-22 04:09:23 +00:00
Mark Vejvoda
626fc57ced - added version string addition to tell if debug is enabled 2010-06-21 23:45:49 +00:00
Mark Vejvoda
731df7f16e - changed rendering to be nearly the same as 3.3.4.3 2010-06-21 23:38:53 +00:00
Mark Vejvoda
2d50beecfa - bugfix for mutex deadlock 2010-06-18 20:04:05 +00:00
Mark Vejvoda
ebe75de00d updated beta version # 2010-06-18 19:04:15 +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
df7181d435 - removed white ghosting trigger logic as its just too annoying, even if fps is low.. live with low fps! 2010-06-18 04:43:14 +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
a287422930 bugfixes to correct segfault 2010-06-17 22:09:25 +00:00
Mark Vejvoda
2015843d69 - added optional server game pause if client lags 2010-06-17 21:46:36 +00:00
Mark Vejvoda
b2f91e0f32 - attempt to make TOM happy, clickl madly while game is loading and help lame windows not choke 2010-06-17 06:55:35 +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
cad295c912 - a few minor render updates to try to squeeze better performance out of the rendering (only render visible and explored unit and object cells) 2010-06-16 07:18:06 +00:00
Mark Vejvoda
39acffa2aa - enable mouse while new game is loading 2010-06-16 06:35:35 +00:00
Mark Vejvoda
94c8a08d04 - bugfix for particles showing when fog of war on but they shouldn't show 2010-06-16 06:25:32 +00:00
Mark Vejvoda
c7c9e69567 - added initial work to better manage rendering (but not yet enabled)
- added new commandline parameter: --version
- some thread cleanup to try adjusted timings when threads shutdown
2010-06-15 16:27:52 +00:00
Mark Vejvoda
5356a3de23 change of data type to correct type for time lag 2010-06-15 05:44:29 +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
3ece5b62f7 - updated beta version to 4 2010-06-13 20:50:14 +00:00
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
6c28167e5e - added SDL Pump events during game load to avoid hanging appearance when users click madly in startup 2010-06-13 00:59:56 +00:00
Mark Vejvoda
100e39e6e0 - bugfix so code compiles on older gnuc 2010-06-12 19:49:00 +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
c800ab28cc - bugfixes for incorrect method declaration 2010-06-12 18:56: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
Mark Vejvoda
8a3709defd bugfixes for AI command execution 2010-06-10 21:53:50 +00:00
Titus Tscharntke
54abe03d86 megacpu bug hunting 2010-06-10 21:33:50 +00:00
Mark Vejvoda
6beaab97fe added another index guard to ensure proper index 2010-06-10 20:37:38 +00:00
Mark Vejvoda
f5836bdf99 added more guards and debug info related to AI bugs 2010-06-10 14:58:06 +00:00
Mark Vejvoda
6d519c4cdf added more guards in AI command processing 2010-06-09 00:38:15 +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
9c5d911edc Added cmake build files (thanks RCL) 2010-06-05 17:34:55 +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
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
3b06db30e9 commented out ping code and added synch check for large comamnds list 2010-06-05 00:00:36 +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
dc0315d0d6 bugfix in server connection slot shutdown processing, only update server listener if BEFORE game started, not after game exits 2010-06-03 23:00:31 +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
8005fa96e1 disabled threaded send 2010-06-03 21:55:17 +00:00
Mark Vejvoda
4227d2bd1d attempt to fix threaded network send bug 2010-06-03 21:49:41 +00:00
Mark Vejvoda
ff6d90a5f1 added more pointer inits 2010-06-03 21:25:33 +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
16f28d455b bugfix to handle food decrements properly for humans 2010-06-03 20:17:03 +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
3dc9c2c623 - bugfix for server controlled AI mode 2010-06-03 00:13:58 +00:00
Mark Vejvoda
64070ca69c - added initial flag to test some server controlled AI code 2010-06-02 22:06:10 +00:00
Mark Vejvoda
d16be3ba07 fixed weird bug where compiler should have told me of the conversion issue 2010-06-02 20:06:49 +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
Mark Vejvoda
1c9b85418a - Some initial changes in prep for support server controlled AI 2010-06-01 16:54:44 +00:00
Mark Vejvoda
b8dac6de50 - updates to random number generation 2010-06-01 00:57:48 +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
fc63460e07 - updated unitid offset for each faction so that we support up to 100,000 units per faction per game (which is larger than previously supported) 2010-05-31 09:45:54 +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
e8cc925a8b - added more debuging 2010-05-29 16:55:55 +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
5c5b5a3283 - added more debug output 2010-05-29 09:38:00 +00:00
Mark Vejvoda
badd795865 More debug code to find unit mismatch 2010-05-29 09:04:22 +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
Titus Tscharntke
50fe71a651 The worker bug ( found and fixed by silnarm )
http://glest.org/glest_board/index.php?topic=5508.0
2010-05-29 00:14:00 +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
0aade73335 - Did some refactoring to move connectionSlotThread into ConnectionSlot class 2010-05-27 23:46:38 +00:00
Mark Vejvoda
f92bf42d82 - Attempted fix for some synch network errors (ensure client messages are processed in proper order) 2010-05-26 05:33:15 +00:00
Mark Vejvoda
4b6e017241 - Added particle support to g3d viewer 2010-05-25 18:06:42 +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
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
Mark Vejvoda
5c0c68cd49 fixed bad checkin for version # 2010-05-20 21:02:19 +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
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
PolitikerNEU
6d4697f2ba Tried to fix the command-queing bug not canceling attack on produce command 2010-05-18 21:18:51 +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
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
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
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
0f6605fc4a made a few performance improvements for file scanning logic 2010-05-14 07:02:17 +00:00
Mark Vejvoda
0f83bdf58f updated version # to show alpha state of new multi-platform / master-server mega-glest 2010-05-13 23:08:52 +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
36c7ccfff1 Added a few new version methods for compilter and platform 2010-05-12 22:54:42 +00:00
Titus Tscharntke
23ebbb15ad getCompileDateTime 2010-05-12 22:44:41 +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
f7b6ef8450 commented out debug statements to remove some noise from logs 2010-05-10 23:58:07 +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
e7d06aebc3 commented out interpolation thread since it doesn't seem to improve anything. 2010-05-10 19:51:53 +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
Titus Tscharntke
13a1630e69 first steps for masterserver join menu 2010-05-09 21:23:13 +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
Titus Tscharntke
54bcbf4303 watereffects in right place for big units 2010-05-07 08:01:14 +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
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
Titus Tscharntke
73be43d6ad some (possible) bugs are fixed when starting but not all. Discussion needed . 2010-05-04 00:05:10 +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
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
2417f37e21 added more debugging for error conditions 2010-05-01 10:46:56 +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
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
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
Mark Vejvoda
35cd622f43 changed max network command batch size to use unsigned int to allow more commands to be sent at once 2010-04-30 02:41:42 +00:00