Commit Graph

1628 Commits

Author SHA1 Message Date
Mark Vejvoda a0cfe3fa08 - a few changes and now seems to compile in VC++ 2010 (still need to checkin project files) 2011-02-15 23:53:48 +00:00
Mark Vejvoda 8ec58868dc - attempt to improve network performance (use separate mutexes for read / write operations) 2011-02-15 07:49:40 +00:00
Mark Vejvoda 2357e2cfd1 - Titi, fixed the remove object so its done in the Object destructor (using an interface) 2011-02-15 04:34:19 +00:00
mnaumann 02979a7430 - some adjustments to olaus' online docs' mg.ini configuration file 2011-02-15 03:54:47 +00:00
Mark Vejvoda 31e722287f - bugfixes for when players disconnect, do not switch observers to AI and only show message once.
- Attempts to debug/improve network performance
2011-02-15 03:32:14 +00:00
Mark Vejvoda 508a2a8277 - updated with olaus's latest code (thanks Olaus) 2011-02-15 02:29:49 +00:00
Titus Tscharntke 01db66105e status of serverline display fix / ressources are no longer selectable via rectangle ( which was quite useless ) 2011-02-15 00:24:31 +00:00
Titus Tscharntke a214fa87f5 clickable resources with display ; softcoder please look at unit_updater.cpp line 1032 2011-02-13 21:04:30 +00:00
Titus Tscharntke 62a2b7cc94 bugfix for target selection 2011-02-13 16:46:32 +00:00
Titus Tscharntke 30da435fc2 target selection for ressource objects is done with opengl picking now 2011-02-13 14:35:17 +00:00
Mark Vejvoda 737f95e5dd - for testing made max pathfinder nodecount configurable 2011-02-13 03:31:05 +00:00
Mark Vejvoda 4488a4d388 - make pathfinder caching an ini setting tso its easy to test (disabled by default)
- some code cleanup related to threads and sockets
2011-02-13 03:06:12 +00:00
Mark Vejvoda 91a56e7805 - another segfault bugfix for spawned attacks 2011-02-12 21:47:31 +00:00
Mark Vejvoda 7dcb12ff60 - some more memory cleanup 2011-02-12 09:08:50 +00:00
Mark Vejvoda c1ee5df801 - attempt to shutdown sdl in a more controlled way 2011-02-12 08:05:18 +00:00
Mark Vejvoda cc973f3427 - bugfixes, some related to things pointed out by valgrind, some from opengl research and some for more stable operation 2011-02-12 07:34:32 +00:00
Mark Vejvoda d056486ec4 - disable a cache that i think causes out of synch 2011-02-12 01:13:52 +00:00
James McCulloch 87f21b71d6 init pathfinder log-file 2011-02-12 00:42:21 +00:00
Mark Vejvoda 0533ce2c63 - a simple attempt to improve pathfinder performance (this needs to be tested well and can easily be disabled by setting: const bool tryLastPathCache = false;) 2011-02-11 23:32:24 +00:00
Mark Vejvoda 34e95f5cd5 - streflop was disabled (likely when we switched to cmake). Turn it on for now but we need to investigate more thoroughly if we really need this? 2011-02-11 19:16:06 +00:00
Mark Vejvoda cab252c220 - more expansion of the maximum distance the pathfinder will calculate, this is required for proper play with cliffs 2011-02-11 16:43:57 +00:00
Mark Vejvoda 41907b7728 - increase pathfinders range for better results with cliffs 2011-02-11 07:51:29 +00:00
Mark Vejvoda b5e4eb53d8 - added numerous guards around spawn code because we had a number of crashes from this code somehow tonight 2011-02-11 07:39:58 +00:00
Mark Vejvoda 2d0912ae19 - attempt to fix some network performance issues 2011-02-11 05:36:01 +00:00
Mark Vejvoda 7cae047f15 - added more code guards around morph validation
- some render debug info
2011-02-11 04:48:17 +00:00
Mark Vejvoda 2d76d348c7 - bugfix to put priority on attacking units first 2011-02-10 22:54:49 +00:00
Mark Vejvoda 39e4d62133 - attempted bugfix for click like mad morph causing out of synch 2011-02-10 21:02:07 +00:00
Titus Tscharntke 91abdd3ed4 camera max height/ default are calculated based on the max height of a map 2011-02-10 00:14:21 +00:00
Mark Vejvoda 12dcc54c5a - more conversions to vertex arrays 2011-02-09 08:04:21 +00:00
Mark Vejvoda bcc82a381d - again M$ compiler madness, absolute insanity, its why I love gcc and hate vc 2011-02-09 01:42:58 +00:00
Mark Vejvoda 49d7f5f036 - more rendering speed improvements (conversion of main portions of minimap to vertex arrays) 2011-02-09 01:27:41 +00:00
Mark Vejvoda d0e050dde3 - M$ torments me day and night with their foolishness 2011-02-08 23:05:45 +00:00
Titus Tscharntke e20162a3c4 cleaned up the cliff coding; hopefully really no more flickering now 2011-02-08 20:59:34 +00:00
Mark Vejvoda 5623866779 - better handling of map preview for different resolutions 2011-02-08 20:17:16 +00:00
Mark Vejvoda 17e2a87890 - fixed one type of freeze in the custom menu
- some small opengl changes
2011-02-08 18:23:41 +00:00
mnaumann 41027bb1b8 - new upstream version of convert_faction_xml2html 2011-02-08 17:59:40 +00:00
Mark Vejvoda 1ee25a2c91 - bugfixes to get win32 working with fbo's 2011-02-08 16:34:19 +00:00
Mark Vejvoda a2b9ca9e18 - some smaller rendering improvements to surface render 2011-02-08 07:35:37 +00:00
Mark Vejvoda 01de8700ec - stupid win32 hacks to allow opengl extensions for FBOs 2011-02-08 07:33:28 +00:00
Mark Vejvoda 86baa04a3b - added FBO's for map preview rendering, which improves fps in the custom menu for video cards that support Frame Buffer Objects 2011-02-08 05:54:05 +00:00
Mark Vejvoda dd75518af0 -small bugfix for titi's map support for cliffs.. all seems to work fine now 2011-02-08 04:52:01 +00:00
Mark Vejvoda c856aa2c44 - fixed models that flicker when intersecting with other polygons (also known as z-fighting) 2011-02-08 04:50:57 +00:00
Titus Tscharntke e03b029bea Cliffs work and some map cleanup; ( !!currently old maps are broken in editor!! ) 2011-02-08 03:50:59 +00:00
Titus Tscharntke e856d5e4f0 MuwuMs changes ( spawn attack and more ) 2011-02-06 18:33:49 +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
Titus Tscharntke 0380bcdb5d revert accidently checked in things .... 2011-02-06 01:48:41 +00:00
Titus Tscharntke f2caf186f9 step1 for cliffs; enable manually in map.cpp in Map::smoothSurface(...) ; set minCliffHeightDifference to 3.0f 2011-02-06 01:36:55 +00:00
Mark Vejvoda ef3aaacbc2 - reverted back to original surface rendering due to memory issues that need to be looked at eventually 2011-02-06 00:46:40 +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 25f1cdaae6 - updated surface rendering to improve performance (currently VBO's disabled for surface rendering because they somehow seem to give worse performance) 2011-02-05 05:07:05 +00:00