Commit Graph

2882 Commits

Author SHA1 Message Date
Mark Vejvoda b481fbcbb5 - proper save and restore for particles 2012-03-19 21:35:54 +00:00
Mark Vejvoda c8df9dba1c - disable newline in chat mode 2012-03-19 05:51:35 +00:00
Mark Vejvoda ecbd2fe06d - fix terrain loading 2012-03-18 06:59:43 +00:00
Titus Tscharntke d738dddab6 particles are no longer saved ( just particle systems ) because they made the savegame huge. 2012-03-17 22:26:50 +00:00
Mark Vejvoda 6571281a48 - proper restore of meeting point 2012-03-17 22:08:04 +00:00
Titus Tscharntke 26b9cc73be the buttons for savegames are sorted now ( newest savegame is on top ) 2012-03-17 21:54:22 +00:00
Mark Vejvoda 5d6b73517f - fixed crash in AI on close 2012-03-17 21:29:03 +00:00
Mark Vejvoda 62254685d5 - fixed saved / load game to restore terrain 2012-03-17 20:59:03 +00:00
Mark Vejvoda e6028a0555 - allow logging of AI behavior to logfiles using: AiLog=10
(this produces a logfile for each AI player called aix.log where x is the ai player #)
- changed some AI behavior so that AI player can use overidable min static resource count from faction xml
- changed some AI behavior so that AI player is more smart about producing resource producers and resources.
2012-03-17 19:22:03 +00:00
Titus Tscharntke 91dce63aac savegame screenshot has smaller size (configurable)/ screenshots are deleted too 2012-03-17 11:26:39 +00:00
Mark Vejvoda 1ac9aa6d3f - fixed xml loading via rapidxml for some scenarios that had embeddex xml comments in lua
- added automation abilities for automated testing with automated saved games
2012-03-17 08:20:17 +00:00
Mark Vejvoda 617344c97d - do not take screenshot when saving game on headless server 2012-03-17 04:19:17 +00:00
Mark Vejvoda d222e6a4ba - fixed windows build 2012-03-17 03:59:30 +00:00
Mark Vejvoda 5584121aa7 - updated load game screen and added some missing language text 2012-03-17 03:32:20 +00:00
Titus Tscharntke 7f46cf2749 save a screenshot with every game save and show it in load menu ( you must have set screenshot type set to .jpg at the moment) 2012-03-17 01:32:18 +00:00
Mark Vejvoda 5f15bf20a9 - yes you can load saved games now :) 2012-03-16 01:58:39 +00:00
Titus Tscharntke bbef21da6b a bit more load menu progress ( does not load yet ) 2012-03-16 01:10:32 +00:00
Mark Vejvoda 01f8f518b3 - saved games now go into saved folder 2012-03-15 22:09:11 +00:00
Mark Vejvoda 510ee7dfff - bugfixes for loading XML and not dropping newlines
- started work on trying to save lua state (global variables only)
2012-03-15 20:48:27 +00:00
Mark Vejvoda 5cd0a788d2 - updated windows build to compile with latest updates 2012-03-15 16:37:53 +00:00
Mark Vejvoda 87556ede01 - added hotkey to saved games 2012-03-15 16:32:54 +00:00
Mark Vejvoda 3eeb1ddea4 - added option to specify which game to load when loading a saved game.
- added a hotkey to save games any time during game play (F11). This saves files with a timestamp
- we now keep track of the last game the user saved and if commandline does not specify a game to load it uses the last saved game
2012-03-15 15:57:21 +00:00
Mark Vejvoda fc125bec37 - added command groups and unit selection to save / load game info 2012-03-15 07:09:36 +00:00
Mark Vejvoda d1dd79047e - no need for xerces anymore? All XML is now done by rapidxml by default (loading and saving) 2012-03-15 05:59:23 +00:00
Titus Tscharntke c421576a83 first steps for load game menu 2012-03-14 23:53:11 +00:00
Mark Vejvoda 8860fd0dc8 - fix saved games in headless server mode 2012-03-14 23:25:47 +00:00
Mark Vejvoda 7425dc8fdf - ALL XML loading will default to rapidxml, we now ONLY use xerces for saving the game (until i get time to implement xml save using rapidxml) 2012-03-14 22:48:46 +00:00
Mark Vejvoda 4bd6b53f9d - added insanely fast rapidxml as a supported xml engine to use. Currently its ONLY used for loading saved game xml and the currently class ONLY handles loading (not saving) xml's. 2012-03-14 21:52:13 +00:00
Mark Vejvoda c3cd759302 - bugfix for observer mode, the new techtree linking broke observer mode loading 2012-03-14 15:16:02 +00:00
Mark Vejvoda 8d5de12d42 - added some particles to load game logic 2012-03-14 07:23:41 +00:00
Mark Vejvoda 3b964ebbd2 - fixed xerces crash with version 3 and higher 2012-03-14 00:33:23 +00:00
Mark Vejvoda 63dbea6af7 - added new commandline option to show which version of xerces is compiled with binary 2012-03-14 00:21:59 +00:00
Mark Vejvoda 4481151c5b - check if unit is dead when loading game and do NOT set cell map for dead unit 2012-03-13 23:51:39 +00:00
Mark Vejvoda d4ca1c36cb - fixed some particle issues 2012-03-13 23:18:09 +00:00
Mark Vejvoda 0ea22572dd - fix ally list when loading games 2012-03-13 23:10:48 +00:00
Mark Vejvoda aa93999dce - fixed map placement when loading untis from file 2012-03-13 22:55:11 +00:00
Mark Vejvoda d1a0eeca2e - check for null for particles 2012-03-13 22:37:47 +00:00
Mark Vejvoda 3926a34ef4 - missed another bad index 2012-03-13 22:28:36 +00:00
Mark Vejvoda a67a3776af - fixed conflicting loop index variable names in map 2012-03-13 22:27:34 +00:00
Mark Vejvoda 9a1b4cf680 - small fix for map state 2012-03-13 22:23:42 +00:00
Mark Vejvoda 917adc8c98 - bugfix for game save and load (string buffer was too small for one item) 2012-03-13 21:58:31 +00:00
Titus Tscharntke 38bd33acf9 Gamma Correction in inGame options with direct feedback. 2012-03-13 18:59:33 +00:00
Mark Vejvoda 5f95b08c17 - a ton more load game state now working (including commands) 2012-03-13 15:21:25 +00:00
Mark Vejvoda e3fde99359 - fixed gamma correction so it works now
- added more state when loading saved game
2012-03-13 01:34:14 +00:00
Titus Tscharntke edd7f732ea alpha correction in options menu ( checkin with error included , which needs to be fixed! ) 2012-03-13 00:44:55 +00:00
Mark Vejvoda 485b74af8b - load game restore more game state 2012-03-13 00:00:10 +00:00
Mark Vejvoda 82cd1d3e9c - restore timeflow and gamecamera on load game 2012-03-12 23:40:54 +00:00
Mark Vejvoda 9271d7d7f6 - initial loading logic for loading of saved games.
- currently we always save the game during out of synch or on game quit.
- added a new commandline option to load the last saved game, this doesn't do much yet, just creates units in the map locations they were when the game was saved
./megaglest --load-saved-game
2012-03-12 23:08:22 +00:00
Mark Vejvoda 6e857b3af2 - more techtree validation fixes 2012-03-10 17:46:10 +00:00
Tom Reynolds 519384c4b9 correct references in convert_faction_xml2html's side-by-side faction viewer 2012-03-10 15:07:37 +00:00