Mark Vejvoda
0f57fe6b92
- additional work to allow for changing hotkeys in the keyboard options menu, currently changes are not saved to file, only on screen.
2011-03-04 20:26:47 +00:00
Mark Vejvoda
744602d0e3
- more keyboard handler cleanup related to special key presses (like shift)
2011-03-04 00:46:45 +00:00
Titus Tscharntke
792d0aa665
particles for tilesets ( too much rendered at the moment )
2011-03-01 23:36:33 +00:00
Mark Vejvoda
4975882ea2
- cleanup some useless warnings (thanks johndh)
2011-02-28 23:33:11 +00:00
Mark Vejvoda
1136f056ce
- added performance logging for new ai unblock rule when perf logging enabled
2011-02-28 16:47:01 +00:00
Mark Vejvoda
45a646ffef
- carved back max nodes in pathfinder to 600
2011-02-28 16:45:15 +00:00
Mark Vejvoda
c679c4bfe0
- set pathfinder max to 800 (From 1200)
2011-02-26 00:47:41 +00:00
Mark Vejvoda
823fd842d4
- added NULL guard for units without a move command to avoid segfault
2011-02-26 00:41:00 +00:00
Mark Vejvoda
bced200dd1
- bugfix when bad values are in map file, game would freeze at game start due to endless loop
2011-02-25 22:13:11 +00:00
Mark Vejvoda
9de151d975
- added more things to try to improve pathfinding (especially for the AI)
...
AI players should now detect when units are blocked (surrounded by other units from same faction) and tell the other units to move out of the way
2011-02-25 16:32:27 +00:00
Mark Vejvoda
c4795eb6cb
- more fixing of map corner position actions causing memory access violations (this will further stabilize the code)
2011-02-25 04:15:22 +00:00
Titus Tscharntke
922df8e025
up to 36 units selectable; maps can set camera heigth now ( be careful with this for performance reasons! )
2011-02-25 00:31:42 +00:00
Mark Vejvoda
4cb2485cdf
- fixed meeting point crash on edge of map
2011-02-24 22:13:40 +00:00
Titus Tscharntke
25204e0084
I just removed an unneeded check
2011-02-24 20:14:12 +00:00
Mark Vejvoda
d300c5635b
- bugfix for selection circle on units on the edge of map cells
2011-02-23 21:54:51 +00:00
Mark Vejvoda
16c7316887
- initial attempt to enable pathfinder caching (think it might work now). Please test
2011-02-23 07:03:38 +00:00
Mark Vejvoda
53e8d96092
- removed printf
2011-02-23 00:00:44 +00:00
Mark Vejvoda
77fb1b6d15
- bugfix for building units at edges of maps
2011-02-22 23:59:21 +00:00
Mark Vejvoda
8d8ed75990
- bugfix for building units at edges of maps
2011-02-22 22:25:03 +00:00
Titus Tscharntke
a06cb541b1
units with move skill have higher priority while selecting now than those without move skill ( typically buildings )
2011-02-22 16:18:44 +00:00
Mark Vejvoda
bd29260fef
- Does this fix choppy network play? Please test and let me know
2011-02-21 01:34:31 +00:00
James McCulloch
2def669678
fix fp flags on windoze release build (solves RoutePlanner sync problems)
...
init streflop in 'no denormals' mode (just in case)
2011-02-20 23:17:22 +00:00
Mark Vejvoda
b2ae0f3b7b
- reverted morph to original code to see if this fixes out of synch (from muwums original change)
2011-02-20 00:04:57 +00:00
Mark Vejvoda
92ca6ba75d
- attempt to see if this change corrects out of synch
2011-02-19 22:36:59 +00:00
Mark Vejvoda
755bed6553
- attempt to fix crash at intro screen
2011-02-18 16:15:14 +00:00
Titus Tscharntke
050a604390
hopefully the masterserver listing works now ...
2011-02-17 00:54:17 +00:00
Mark Vejvoda
69a7f8f1d6
- hopefully stabilized pathfinder for network play so we won't get out of synch
2011-02-16 19:44:12 +00:00
Mark Vejvoda
7a5de218b7
- chasing down out of synch
2011-02-16 04:43:27 +00:00
Mark Vejvoda
14c5b87da4
- debugging out of synch (make bailout logic optional)
2011-02-16 03:48:13 +00:00
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
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
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
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
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
Mark Vejvoda
a2b9ca9e18
- some smaller rendering improvements to surface render
2011-02-08 07:35:37 +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
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
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
Titus Tscharntke
dc1033875a
fix for status message not shown when inprogress
2011-02-05 00:32:31 +00:00
Mark Vejvoda
1574e05fcd
- surface rendering is a step closer to using VBO's (code now works using Vertex Arrays, next stop Vertex Buffer Objects)
2011-02-04 23:27:55 +00:00
Mark Vejvoda
6ec92f2127
- attempt to add more randomness to pathfinding and faster AI decsions
2011-02-04 06:34:32 +00:00
Mark Vejvoda
ab9d2f1bf2
- some small cleanup in vbo code
2011-02-04 02:26:55 +00:00
Mark Vejvoda
dab57fcb34
- attempt to add "some" VBO rendering for static models (need to test if this improves performance in different environments)
2011-02-04 01:24:26 +00:00
Mark Vejvoda
5fd1bbe855
- updated version # for next dev cycle
2011-02-03 19:20:26 +00:00
Mark Vejvoda
2498d44cd3
- updated AI code for special empty cellmap units, so AI does not look for them (since they already cannot attack them)
2011-02-03 19:19:27 +00:00
Mark Vejvoda
145b71970e
- set version to 3.4.0 in prep for release
2011-01-31 23:50:06 +00:00
Mark Vejvoda
325ea2515a
- nicely formatted out of synch messages (one per line).. all for tomreyn's happiness :)
2011-01-31 23:36:13 +00:00
Mark Vejvoda
0b4eef10c5
- added a very useful way to track mutex usage and performance timings of mutex locking to discover thread lock issues
2011-01-31 23:01:39 +00:00
Mark Vejvoda
b8075eaf01
- added code to rename duplicate maps and show a warning at game start
2011-01-31 21:59:28 +00:00
Titus Tscharntke
d7a65ed18e
fix for updateAttackStopped and command queuing;
...
switching tilesets react with delay like switching maps;
new/updated maps;
reverted egypt mining slave model;
many loading screens for scenarios
2011-01-30 23:01:55 +00:00
Mark Vejvoda
7397ff0368
- updated version to beta3 in prep for another beta
...
- updated romans_beta:
- removed long-bowmen
- change ballista to only have 1 attack for both air and ground
- requires more use of stone now
2011-01-30 00:55:00 +00:00
Mark Vejvoda
4b085691df
- added new LUA method togglePauseGame
2011-01-29 23:50:21 +00:00
Mark Vejvoda
f2467faebe
- added wxWidgets version info to g3d viewer help and map editor
...
- added a log entry if sound thread starts to log
2011-01-29 21:20:33 +00:00
Titus Tscharntke
7d09f24b9e
5 seconds delay to switch over maps you don't want to distribute ( maybe tilesets shoudl do the same? )
2011-01-29 20:13:29 +00:00
Mark Vejvoda
a5a6cf76d6
- updated some new lua commands
2011-01-29 17:52:53 +00:00
Mark Vejvoda
041289770e
- cleaned up more compiler warnings in VC++
2011-01-29 17:42:34 +00:00
Mark Vejvoda
1a3545f8ab
- cleaned up compiler warnings in g3d viewer
...
- added a bunch of new lua commands for 'da boys' to be documented after being fully tested.
2011-01-29 12:42:18 +00:00
Mark Vejvoda
1b6f9c324a
- more user friendly messages for scenario errors
2011-01-28 20:16:45 +00:00
mnaumann
0218c7bbf8
- set version string back to v3.4.0-dev (as requested by titi)
2011-01-28 15:03:40 +00:00
Mark Vejvoda
bbab778738
- attempt for improved harvesting when congested
2011-01-28 08:58:16 +00:00
Mark Vejvoda
177531c376
- commented out some debug statements and corrected stuck harvesting a bit
2011-01-28 08:37:48 +00:00
Mark Vejvoda
23135b5bab
- when units get congested now we try to randomly pick different approaches to find resources
2011-01-28 07:17:32 +00:00
Mark Vejvoda
9adf8bcc62
- a few more logging entries for future debugging needs
2011-01-28 02:32:55 +00:00
Mark Vejvoda
1c558abef0
- bugfix for observers to see water effects
2011-01-27 22:17:31 +00:00
Mark Vejvoda
ab7cf4d22b
- a cup of tea for m0llemeister (bugfix for observers to see attack particles)
2011-01-27 22:10:44 +00:00
Mark Vejvoda
f0c6c1b0c5
- bugfix for privacy settings invalid value sent to server
2011-01-26 21:18:26 +00:00
Mark Vejvoda
ff3bb353fc
- bugfix for game over and player can see whole map causing out of synch in some cases.
2011-01-26 16:13:08 +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
7c54e5e955
- added privacy option to options menu
2011-01-25 23:30:51 +00:00