Mark Vejvoda
12dcc54c5a
- more conversions to vertex arrays
2011-02-09 08:04:21 +00:00
Mark Vejvoda
c58e893047
- attempt to improve issues in the custom menu related to freezing
...
- modified debug UI display to support multi levels of UI debug info
- added more validations to mutexes
- improved client sockets to properly be setup as non blocking
2011-02-06 07:01:54 +00:00
Mark Vejvoda
6052ee6cc7
- bugfix to clear surface data cache on game exit (lest we overfill system RAM)
2011-02-05 05:50:42 +00:00
Mark Vejvoda
4b085691df
- added new LUA method togglePauseGame
2011-01-29 23:50:21 +00:00
Mark Vejvoda
d10054f1c3
- moved sound system debug into a new debugSound property to lessen the impact of regular debug logging since sound processing is now threaded and therefore logging sound system items may slow down performance
...
- added texture caching for faction preview textures
2011-01-26 09:09:59 +00:00
Mark Vejvoda
b73045b349
- turn off music playing while game is loading
2011-01-20 19:56:11 +00:00
Mark Vejvoda
fdaf9438d8
- added code so Alt-Enter etc. works during game loading phase
2011-01-20 08:19:14 +00:00
Mark Vejvoda
55d213435a
- changed music change-over during game start so that background music continues to play while waiting for network clients
2011-01-18 04:56:42 +00:00
Mark Vejvoda
d16f6a93bc
- sound system is now threaded by default (hopefully this fixes buffer underruns errors from openal)
...
- background music now plays when game is loading
2011-01-18 01:24:45 +00:00
Mark Vejvoda
ccbd707ae1
- numerous bugfixes including fixing a slowdown introduced in a previous recent checkin.
...
- Added Network Text Message queue as this is required in some tricky cases
- added more logging of memory cleanup events
- added memory safe snprintf calls
2011-01-11 22:09:46 +00:00
Mark Vejvoda
e319c2cf62
- attempt to fix game freeze when lag causes game pauses
2011-01-11 08:45:58 +00:00
Mark Vejvoda
896b1c308c
- added a backtrace for gcc compiled binary when we get a runtime error.
...
- added more out of synch checks and better error handling
2011-01-02 00:39:13 +00:00
Mark Vejvoda
d997e2af5d
- bugfix, threaded logging was NOT ever enabled because of a timing bug. Now threaded logging is enabled by default.
...
- Updated debug UI view to show threaded debug buffer count
2010-12-25 09:15:49 +00:00
Mark Vejvoda
03eaa2c033
numerous important bugfixes:
...
- observers and end game fog of war enable would most likely cause out of synch, I think its fixed now
- better handling of threaded logging
- cleanup of socket thread processing to ensure all network packets get processed properly and in order
2010-12-24 08:43:09 +00:00
Titus Tscharntke
45a3601286
you can attack teammates again; fix for attack queuing, units don't walk to dead bodies if next attack command is in queue ;
2010-12-20 20:01:14 +00:00
Titus Tscharntke
7305391b6d
Unit commanding via minimap
2010-12-18 17:18:36 +00:00
Mark Vejvoda
045c2f95e8
- added new commandline options to tell the game where to look for data, ini's and where to write logs
2010-12-09 20:41:11 +00:00
Mark Vejvoda
b02da7d1e0
- finally found and fixed out of synch related to AI.
...
- added ability to log all unit activity to world synch logfiles so we can diff game info from different network clients
2010-11-30 23:32:39 +00:00
Mark Vejvoda
cc4f268988
- some additional AI caching for improved performance
2010-11-11 08:02:50 +00:00
Mark Vejvoda
d89953ee96
- improved performance and bug fixes.
2010-11-09 09:06:52 +00:00
Mark Vejvoda
9d9fa0deeb
- improved performance for when the AI decides which resource is closest.
2010-11-07 03:27:06 +00:00
Mark Vejvoda
b1ff035f9e
- added ability to turn on photo mode and zoom out while in a non network game (default key is f8)
2010-10-30 03:03:44 +00:00
Mark Vejvoda
44563b6f73
- allow screenshots to be taken ANY time (in menus etc.) and not only when a game is playing
2010-10-30 02:24:53 +00:00
Mark Vejvoda
77bad3ce07
- added new default PNG format for doing screenshots AND the saving to disk is queued in a background thread allowing almost no delay when saving many screenshots!
2010-10-30 02:21:47 +00:00
Mark Vejvoda
13c4deb5b6
- added new screenshot format to be bmp (can be oveeriden by ini setting, and more formats may be added later) ScreenShotFileType=tga to revert to old default tga screenshots
2010-10-29 22:18:23 +00:00
Mark Vejvoda
e0d338b583
- added more texture compression supported types
...
- some in progress work related to texture reloading
2010-10-29 16:27:22 +00:00
Mark Vejvoda
01c26b4224
- added the ability to track pixmap memory usage at start and end of a game
2010-10-28 21:06:20 +00:00
Mark Vejvoda
de3a92081d
- a bunch of in progress work related to texture compression and more timely texture memory management cleanup. For now to test texture compression use the following ini setting: EnableTextureCompression=true
2010-10-28 00:51:25 +00:00
Mark Vejvoda
b72124a89a
- bugfix for segfault (using wrong index variables again). This time I understand what to change and what not to change :)
2010-10-22 17:29:23 +00:00
Mark Vejvoda
40a0707519
- bugfix for switching human to AI on disconnect (the check used the wrong index)
2010-10-22 16:47:08 +00:00
Mark Vejvoda
d96bf7f978
- added faction preview images for Random and Observer types (thanks Elimnator)
...
- bugfix when choosing random faction and sometimes the game tries to load this as a real faction type
2010-10-19 03:53:52 +00:00
Mark Vejvoda
7564635643
- added initial code for switching dropped network players to AI (currently hard coded to normal CPU)
2010-10-18 23:09:43 +00:00
Mark Vejvoda
55b4f0bd2b
- Incremented version to next major release # so new work can begin.
...
- some initial work to assist units from getting stuck when given commands. This is for both AI and human players and deals with the pathfinder and units getting constantly blocked from their destination.
2010-10-17 06:34:42 +00:00
Mark Vejvoda
0d050f62d4
- added code to now output all eerors to console (with option to save in log file)
...
- added more LUA debug info
2010-10-06 20:22:06 +00:00
Mark Vejvoda
5f698575d9
- added removal of fog of war at game end for scenarios
2010-10-04 21:31:53 +00:00
Mark Vejvoda
d38b46a529
- Removed deprecated parameter
...
- Added more debug logging for LUA functions
2010-10-04 18:31:17 +00:00
Titus Tscharntke
8d053ba314
another implementation of performance based shadow on/off
2010-10-04 16:43:00 +00:00
Mark Vejvoda
16fd1fcfa1
- attempt to tweak shadow off/on windows to make it more smooth
2010-10-02 04:29:12 +00:00
Mark Vejvoda
c87e27eabd
- added an average renderfps to use when toggling shadows off/on to make it more smooth
...
- added a new commandline to autostart a new game with the last game settings you played called:
--autostart-lastgame
2010-10-02 02:17:50 +00:00
Mark Vejvoda
5ecda82be0
- bugfix for allowing players to view map at game end for network games
2010-09-30 00:49:57 +00:00
Mark Vejvoda
3e0a87549c
- by special request for ultifd (allow players to zoom out at game end when playing non network games)
2010-09-29 22:18:08 +00:00
Mark Vejvoda
f84a710d2c
- initial logic to allow client side controlled AI
2010-09-14 19:10:37 +00:00
Mark Vejvoda
c295697aba
- added map preview on custom game menu
2010-09-12 05:05:08 +00:00
Mark Vejvoda
ceca2de4b1
- added ability to display both error and normal messagebox in non overlapping way simultaneously
...
- added new hotkey to toggle photomode in game (f8)
2010-09-11 16:14:03 +00:00
Titus Tscharntke
729bd23f58
improved box selection ( much better regarding performance now and updates selection without moving the mouse )
2010-09-10 12:15:21 +00:00
Mark Vejvoda
cc9bde39af
- updated debug stats to use render cache
2010-09-10 09:09:12 +00:00
Mark Vejvoda
0783b23e12
- bugfixes for rendering (new ini setting toggles new quad cache and is called: UseQuadCache=true)
2010-09-10 08:51:32 +00:00
Mark Vejvoda
77eadd7710
- attempt to improve explorecells usage when each unit is signalled to move
2010-09-09 01:44:25 +00:00
Mark Vejvoda
958184e018
- more memory cleanup
2010-09-07 21:01:22 +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
Mark Vejvoda
89510fb656
- modified debug player in game stats to use player color and larger font
2010-09-03 07:49:28 +00:00
Mark Vejvoda
b778600d11
- modified debug player info to use player color font
2010-09-03 07:35:16 +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
a1eebafac6
- attempt fix smooth the shadow off / on logic when rendering slows
2010-09-03 01:50:16 +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
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
03848fc84f
- added more LUA features.
...
new event:
gameOver
new method:
getGameWon()
2010-08-28 22:10:34 +00:00
Mark Vejvoda
4d372c12bc
- added more LUA support and fixed parameter passing of Vec2i types with streflop
...
New LUA methods:
DisplayFormattedText
getAiEnabled
getHungerEnabled
startPerformanceTimer
endPerformanceTimer
getPerformanceTimerResults
2010-08-28 20:52:25 +00:00
Mark Vejvoda
db25b5391e
- added in-game sound toggle hotkey (thanks Nebososo)
2010-08-28 03:41:17 +00:00
Mark Vejvoda
3ee7fc902c
- changed update and camera update fps to original values
2010-08-25 19:21:11 +00:00
Mark Vejvoda
5e20ab5808
- updated to allow dynamic changing of updatefps and camerafps
2010-08-25 18:26:17 +00:00
Mark Vejvoda
855443d98f
- added a lookup cache for unit updater's frequently called unitOnRange logic
2010-08-25 07:29:35 +00:00
Mark Vejvoda
4ee98e7155
- some changes to the explorecells cache for less memory and better performance.
...
- updated performance logging to more easily find things in the log
2010-08-24 23:15:33 +00:00
Mark Vejvoda
0e3c0a8d0e
- disabled staggered unit updates
2010-08-24 02:49:55 +00:00
Mark Vejvoda
65cf1bfdac
- attempt to lessen memory footprint of particles and speed up rendering
2010-08-24 01:21:34 +00:00
Mark Vejvoda
cce338a2c6
- atempt to squeeze some extra rendering performance
2010-08-21 18:50:56 +00:00
Mark Vejvoda
34ff4bb2e7
- changed messagebox back to normal color and fixed lua displaytext to NOT fade
2010-08-11 23:07:18 +00:00
Mark Vejvoda
a28a20fd77
- updated messageboxes and lua script messages to use selected font color
2010-08-11 22:31:26 +00:00
Mark Vejvoda
175137631d
- network and debug text now use selected text color
2010-08-10 21:41:07 +00:00
Mark Vejvoda
3f06f0133c
- fixed placement of debug and network status text
2010-08-10 21:34:27 +00:00
Mark Vejvoda
a2e1b5fd57
- added a code warning comment to avoid memory issues in the future
2010-08-10 05:03:06 +00:00
Mark Vejvoda
17ce7b8c71
- bugfix for ultifd's unit particle cleanup issues causing unknown error during game end
2010-08-10 04:56:35 +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
d280eefcce
- moved placement of network status so you can view both network status and debug info
2010-08-07 22:49:52 +00:00
Mark Vejvoda
a5bf684493
- more network fixes to make lag and disconnects more stable
...
- changed the way the game end logic happens to try to make it more stable
2010-08-07 04:49:06 +00:00
Mark Vejvoda
dfeea6fc0a
- another attempt to fix ultifd's game end issue
2010-08-06 03:55:17 +00:00
Mark Vejvoda
860b00df44
- a better attempt to safely end games and hopefully fix the delete cells bug once for all
2010-08-04 18:49:11 +00:00
Mark Vejvoda
c63283ffac
- another attempt to fix game end crash for ultifd
2010-08-04 16:56:24 +00:00
Mark Vejvoda
7fda7a1d1a
- attempt to fix network game end crash (on windows)
2010-08-02 04:18:03 +00:00
Mark Vejvoda
4e8fdc105c
- attmpt to auto-create the screens folder at startup to avoid crashes when folder is missing and users try to take a screenshot.
2010-08-02 03:15:11 +00:00
Mark Vejvoda
4336ae3e37
- added new commandline param --validate-techtrees which will be used to check for known problems in the techtrees for an installation
2010-07-30 07:51:39 +00:00
Mark Vejvoda
6d3f6dcaf4
- added some logging when quitting a game
...
- another feeble attempt to fix windows game end crashes
2010-07-29 22:08:45 +00:00
Mark Vejvoda
bca03b0c0c
- initial changes to support multiple path finders
2010-07-21 18:21:40 +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
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
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
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
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
391fd1f36d
- bugfixes to properly manage and display various kinds of network error conditions.
2010-07-01 06:11:14 +00:00
Mark Vejvoda
848d953bd7
- fixed TOM's game loading screen mouse click problem
2010-06-25 05:05:52 +00:00
Mark Vejvoda
9b2b544b84
- fixed mouse cursor position problrm at game startup
2010-06-25 00:45:46 +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
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
60c6848832
- just let delete shutdown the thread to avoid mutex deadlock
2010-06-18 17:09:42 +00:00
Mark Vejvoda
a287422930
bugfixes to correct segfault
2010-06-17 22:09:25 +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