Commit Graph

503 Commits

Author SHA1 Message Date
Mark Vejvoda 831bbda6c9 better error handling for game / scenario loading problems (like bad xml) 2013-05-28 15:42:54 +00:00
Mark Vejvoda 7acd500c08 bugfix for a number of legacy divide by 0 conditions discovered by Tiger. 2013-05-28 06:07:35 +00:00
Mark Vejvoda 43d533aec3 added ability to reference sound and videos in lua using variables: {TECHTREEPATH}, {SCENARIOPATH}, {TUTORIALPATH} example:
playStreamingSound('{SCENARIOPATH}/music/myambient.ogg')
2013-05-28 03:08:51 +00:00
Mark Vejvoda 72480bc576 added ability to reference sound and videos in lua using variables: {TECHTREEPATH}, {SCENARIOPATH}, {TUTORIALPATH} example:
playStreamingSound('{SCENARIOPATH}/music/myambient.ogg')
2013-05-28 02:54:23 +00:00
Mark Vejvoda 93caf14362 attempt to fix out of synch of join in progress game 2013-05-27 08:26:01 +00:00
Mark Vejvoda f4a29d98b8 bugfix to correct out of synch, titi tried to fix this a while ago but the code was not complete, we hit this when testing today 2013-05-27 04:56:07 +00:00
Mark Vejvoda 2c1b181bc7 a bunch more code cleanup from cppcheck 2013-05-26 06:03:32 +00:00
Mark Vejvoda aa69a5818b added some new lua methods to determine day or night and new event 2013-05-25 20:46:36 +00:00
Mark Vejvoda de68fc759d comment out some world synch logging 2013-05-25 18:22:36 +00:00
Mark Vejvoda 85ab3c76cc attempt to improve threaded logging and see if we fix targetVec 2013-05-25 05:31:32 +00:00
Mark Vejvoda a98234c14e THIS IS NOT BACKWARD COMPATIBLE WITHY OTHER DEV VERSIONS! buffix the attack target issue mentioned in the forums 2013-05-21 21:19:59 +00:00
Mark Vejvoda 5b664fb1a2 - bugfix for transifex tutorial download files now loaded into UI
- updated each thread to provide its name
2013-05-21 20:28:42 +00:00
Mark Vejvoda 5cfc4d07a0 added logging of threaded unit actions 2013-05-21 05:43:57 +00:00
Mark Vejvoda f98d9fdddc attempt to see if this corrects out of synch, i COULD NOT reproduce the out of synch with my winxp and linux 64 systems, perhaps titi had different ini values between linux and windows? 2013-05-21 00:38:35 +00:00
Mark Vejvoda 2f3433688f more logs to track out of synch 2013-05-20 21:52:36 +00:00
Mark Vejvoda 625628fc63 put change back to what it was before 2013-05-20 21:40:25 +00:00
Mark Vejvoda 6a34864c5d see if this corrects the current out of synch issues 2013-05-20 20:06:25 +00:00
Mark Vejvoda 538314eb48 add more world synch logging 2013-05-20 19:00:08 +00:00
Mark Vejvoda 8408526b12 code cleanup based on cppcheck results 2013-05-17 03:59:34 +00:00
Mark Vejvoda c19065ebd0 bugfix for rain particles when loading keyboard setup in game (and memory cleanup) 2013-04-30 06:17:30 +00:00
Titus Tscharntke 883cfbbd27 Default for twoFrameAnimation smoothing is false. 2013-04-17 00:56:04 +00:00
Titus Tscharntke 88e2756ac2 new switch for animated tileset objects with only two animation frames: smoothTwoFrameAnim="true".
( std::sin was used with intention, no need for streflops in this case )
2013-04-17 00:12:54 +00:00
Mark Vejvoda ac992b431d - attempt to fix threaded client stability and fixed some server side network bugs to also improve its stability 2013-03-09 20:57:06 +00:00
Mark Vejvoda aec3ff1f63 - bugfix for restoring explorations on loading a saved game 2013-03-06 15:02:17 +00:00
Mark Vejvoda 560ed46cc0 - more bugfixes for slot switching and joining in progress games
- disallow server to toggle pause state when client is joining
- fix dmp extension on linux
2013-03-06 14:29:49 +00:00
Mark Vejvoda c63da54bbd - attempt to improve performance when units are blocked badly (this is not backwards compatible with other builds, will create out of synch) 2013-02-22 06:52:51 +00:00
Mark Vejvoda 39f81afe5c - allow threaded calculation of unit movement for attacking units (was disabled for nig's bug but this was not the cause so re-enable) 2013-02-20 19:21:55 +00:00
Titus Tscharntke 01b6986581 First steps for new terrain texturing. In tileset xml do:
<surface partsize="64">
			<texture path="textures/512.png"/>
                </surface>
2013-02-20 17:42:47 +00:00
Mark Vejvoda 8916a86b8c - bugfixes for load / save game for in progress joining 2013-02-19 06:41:56 +00:00
Mark Vejvoda 69925fb887 - bugfixes for joining network games 2013-02-19 04:53:24 +00:00
Mark Vejvoda 54c026bb3e - bugfixes for in game joining 2013-02-17 07:15:01 +00:00
Mark Vejvoda 9d19ff2b57 - added the first draft of joining games in progress 2013-02-15 18:25:10 +00:00
Mark Vejvoda fb6cff0ed1 - bugfix for latest harvest updates 2013-02-12 22:37:14 +00:00
Mark Vejvoda 646d11f143 - if unit harvests a resource, stops and harvest the same type again they do not need to return to the store house 2013-02-12 21:51:25 +00:00
Mark Vejvoda 589962868b - added ability for units to return harvested resources in an emergency by clicking a store house when a unit has a load 2013-02-12 08:44:12 +00:00
Mark Vejvoda c0fe242504 - allow for translated names to be shown for tutorials and scenarios in selection menu 2013-02-12 02:10:00 +00:00
Mark Vejvoda 7dae926cf2 - do not show errors on console for scenarios without a description 2013-02-09 17:18:34 +00:00
Mark Vejvoda 50e64e9564 - scenario description patch applied from Muwuum 2013-02-09 07:17:10 +00:00
Mark Vejvoda 9bc6d33f1d - bug fixes to stabilize the windows build 2013-02-09 06:57:05 +00:00
Mark Vejvoda adc62b7df8 - updated code to protect against null pointers and uninitialized values and threading issues 2013-02-05 00:01:40 +00:00
Mark Vejvoda 196d1240f1 - attempt to fix the crash in game originally reported by nig 2013-02-04 23:47:54 +00:00
Mark Vejvoda f87b8b6ee2 - updated code to protect against null pointers and uninitialized values and threading issues 2013-02-04 08:30:43 +00:00
Mark Vejvoda 8dc637527a - tighten up code.. ensure pointers set to null after delete, etc 2013-02-01 17:25:49 +00:00
Mark Vejvoda fe942809e6 - fixed a few issues found by JeffM (debian games team irc channel) while testing on Windows 7 64 bit 2013-01-30 06:08:14 +00:00
Mark Vejvoda d9fac85d21 - added more debug logging 2013-01-27 07:26:35 +00:00
Mark Vejvoda 8cd7aa0e43 - code cleanup from cppcheck 2013-01-25 02:55:28 +00:00
Mark Vejvoda 4d0811f0ec - update debug stats to remove unused items
- disable interpolation when doing unit or resource selection
2013-01-12 07:36:14 +00:00
Mark Vejvoda 69a15d4544 - added a new skill to toggle fog of war for any command. 2013-01-11 18:40:47 +00:00
Mark Vejvoda 7b99501697 - added a new skill to toggle fog of war for any command. 2013-01-11 18:18:58 +00:00
Mark Vejvoda 5d2066fdbb - added a new thread manager to try to see if it takes less CPU cycles while the thread controller waits for slaves to do their work. To enable the experimental thread manager set: EnableNewThreadManager=true 2013-01-10 21:16:28 +00:00