Commit Graph

707 Commits

Author SHA1 Message Date
Mark Vejvoda
49978632c4 - removed one lookup key from new cache as it was not required 2010-08-25 15:55: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
c9ca56e91b - small optimization for moving units when source and destintation position are the same 2010-08-25 00:29:56 +00:00
Mark Vejvoda
c781982e57 - increased explorecells cache size 2010-08-24 23:36:23 +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
a48521b503 - added fire particles to the visible check to improve performance 2010-08-24 20:19:30 +00:00
Mark Vejvoda
39daea6d9a - bugfix for commandline parameters for validate factions 2010-08-24 19:33:10 +00:00
Mark Vejvoda
3828d23670 - attempt to improve unit particle performance by ONLY updating unit particles progress if the particle is busy 2010-08-24 19:24:37 +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
1daecc4145 - made staggered faction updates toggle flag 2010-08-23 19:49:00 +00:00
Mark Vejvoda
61a2340e14 - disable faction update staggering 2010-08-23 19:35:55 +00:00
Mark Vejvoda
7442ac7c54 - test to try to get svn rev # in build string 2010-08-23 17:13:19 +00:00
Titus Tscharntke
04ba21f10c needed ressource display fixed 2010-08-23 17:11:07 +00:00
Mark Vejvoda
c01b43f635 - added another layer of authentication to validate the client is REALLY a mega-glest client 2010-08-23 15:40:43 +00:00
Mark Vejvoda
19892ff11d - small network optimization to help stabilize frequently called network code 2010-08-23 15:17:36 +00:00
Mark Vejvoda
70817a07d1 - some performance updates to fog of war computation 2010-08-23 15:10:37 +00:00
Mark Vejvoda
284371f206 - some performance updates to fog of war computation 2010-08-23 14:48:33 +00:00
Mark Vejvoda
db47a14940 - attempt to spread out faction world ticks for better performance 2010-08-23 09:53:04 +00:00
Mark Vejvoda
b9b9cc822b - bugfixes related to SDL library upgrade on windows build and mouse cursor toggling (especially that stupid windows 7 issue where alt-tab doesn't let you move your cursor in fullscreen mode)
For reference: http://bugzilla.libsdl.org/show_bug.cgi?id=849
2010-08-23 07:27:31 +00:00
Mark Vejvoda
6907d7d063 - attempt to fix mouse cyrsor issues 2010-08-23 04:58:52 +00:00
Mark Vejvoda
0509b5d643 - bugfixes for playername change in lobby screen 2010-08-23 04:33:21 +00:00
Titus Tscharntke
401a39c3e1 harvesting units of size>1 should work better ( testing is still needed for this! ) 2010-08-22 22:30:17 +00:00
Titus Tscharntke
8e281e2faf new attribute MaxUnitCount in units and yellow select circle for allies 2010-08-22 21:09:35 +00:00
Mark Vejvoda
acd2359096 - added performance logging to regular pathfinder 2010-08-22 20:13:30 +00:00
Mark Vejvoda
1c5b43ad12 - a few bugfixes to rendering optimizations 2010-08-22 19:49:33 +00:00
Mark Vejvoda
0c0642bd17 - commandline bugfixes for windows 2010-08-22 09:06:26 +00:00
Mark Vejvoda
607132ac80 - bugfix for commandline param validation 2010-08-22 08:54:12 +00:00
Mark Vejvoda
c96dea7c63 - small commandline param cleanup 2010-08-22 08:45:19 +00:00
Mark Vejvoda
0ad20a1a2d - fixed code for debug asserts 2010-08-22 08:42:43 +00:00
Mark Vejvoda
b3a60f5b69 - updated commandline too show usage when using wrong parameters 2010-08-22 08:40:18 +00:00
Mark Vejvoda
bf5f6b7f33 - experimental support for idenitfying specific game data which is out of synch with the server. 2010-08-22 08:00:05 +00:00
Mark Vejvoda
5338f9c330 - atempt to squeeze some extra rendering performance 2010-08-21 19:15:39 +00:00
Mark Vejvoda
22f57e0684 - atempt to squeeze some extra rendering performance 2010-08-21 19:04:09 +00:00
Mark Vejvoda
cce338a2c6 - atempt to squeeze some extra rendering performance 2010-08-21 18:50:56 +00:00
Mark Vejvoda
0d53ae998d - changed auto start client and server parameter names 2010-08-21 13:06:59 +00:00
Mark Vejvoda
455876a3c0 - added the ability to change your playername from the game lobbies inline 2010-08-21 13:04:52 +00:00
Mark Vejvoda
6530600516 -- intial work to add network playername inline editing in lobby (partially done for server player so far) 2010-08-21 07:41:26 +00:00
Mark Vejvoda
5a42638060 - added / updated commandline params to auto start or connect to a network game server 2010-08-21 06:47:00 +00:00
Mark Vejvoda
b99d1f7421 - code cleanup of commandline parameters 2010-08-21 06:11:45 +00:00
Mark Vejvoda
b721ce0722 - fixed function call on windows 2010-08-21 03:18:10 +00:00
Mark Vejvoda
80c54b7a21 - added version mismatch check on server to avoid spurious client connection activity 2010-08-21 02:59:21 +00:00
Mark Vejvoda
5537a37b35 - updated commandline param to allow validation on filtered techtrees and factions 2010-08-21 02:13:50 +00:00
Mark Vejvoda
25a7097066 - added new commandline parameters:
--help
--validate-factions=x

for full details of all commandline params run --help
2010-08-21 01:54:04 +00:00
Mark Vejvoda
d08c8300f0 - more attempts at stability for network games 2010-08-21 01:52:41 +00:00
Mark Vejvoda
07cbcc0bec - added a bunch of null terminations to all char buffers in network protocol 2010-08-20 23:53:10 +00:00
Mark Vejvoda
ff7828fa6f - more NULL checking for safer execution 2010-08-20 22:59:32 +00:00
Mark Vejvoda
d69fbc6925 - more NULL checking for safer execution
- added safer mutex guards in custom game menu
2010-08-20 22:42:26 +00:00
Mark Vejvoda
0e82836e01 - more NULL checking for safer execution 2010-08-20 22:17:30 +00:00
Mark Vejvoda
09f7eecf06 - fix a thread synch issue in the custom game menu 2010-08-20 21:06:20 +00:00
Mark Vejvoda
1fa9efc091 - alittle more bullet proofing using NULL pointer checks 2010-08-20 20:51:25 +00:00
Mark Vejvoda
fc31e7713d - added null pointer check 2010-08-20 20:29:30 +00:00
Mark Vejvoda
a6d33fe569 - attempt to protect a little against spurious network activity 2010-08-20 20:03:06 +00:00
Mark Vejvoda
277362a6c7 - fixed a possible infinite loop while receiving network packets on clients for network games (found by titi's stack trace dump) 2010-08-20 18:06:03 +00:00
Mark Vejvoda
31363fd41b - bugfix for press screen shot hotkey in windows 2010-08-17 20:58:30 +00:00
Mark Vejvoda
1cb154fafa - updated version # to 3.3.7-dev 2010-08-17 20:58:13 +00:00
Mark Vejvoda
a8ea5d1055 - bugfix for crash message in windows 2010-08-12 00:39:14 +00:00
Mark Vejvoda
f176cfff11 - updated version # to 3.3.6 in all Linux scripts 2010-08-12 00:08:10 +00:00
Mark Vejvoda
f0bc39abf9 - changed the crash dump file logic to only happen for win32 2010-08-12 00:07:16 +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
f79d34b4a4 - defaulted scenario's to regular pathfinder while allowfor for a property setting to change it to routeplanner 2010-08-11 21:55:08 +00:00
Mark Vejvoda
f43fffc083 - added more debug for game end crash 2010-08-10 22:46:08 +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
52c37f0927 * oops, forgot to hook-up ClusterMap updates (causing units to get stuck) 2010-08-08 13:06:33 +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
bc785bdb6a - incremented version to beta2 since code changes are NOT backward version compatible 2010-08-07 08:19:01 +00:00
Mark Vejvoda
94e4a85957 - How i love you microsoft... another win32 fix 2010-08-07 06:35:52 +00:00
Mark Vejvoda
2dcbe1473b - stupid win32 compile fix for sockets 2010-08-07 06:28:00 +00:00
Mark Vejvoda
0f8eb267c6 - attempt to correct network message alignment problem 2010-08-07 06:19:56 +00:00
Mark Vejvoda
cee6b8dfc8 - attempt to help client wait for network packets better 2010-08-07 05:55:18 +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
fe8d3b3130 - numerous bugfixes mostly centered around network lag, but also added more logging and protective code (like buffer overflow checks)
*NOTE: This version is NOT backwards compatible with other builds
2010-08-07 03:26:38 +00:00
Mark Vejvoda
270fa8fef0 - stupid.. stupid stupid windows fix for png logos 2010-08-06 23:07:08 +00:00
Mark Vejvoda
92c2c4bd18 - bugfix for other linuxes (removed stricmp) 2010-08-06 22:19:48 +00:00
Mark Vejvoda
dfeea6fc0a - another attempt to fix ultifd's game end issue 2010-08-06 03:55:17 +00:00
Mark Vejvoda
0f231f28e6 - added free software logos
- updated the client lobby screen so the chat window does not overlap UI controls
2010-08-05 22:27:26 +00:00
Mark Vejvoda
3cb7a0897d - added client side settings change without wait for server reply
- incremented version to beta1
2010-08-05 10:42:31 +00:00
Mark Vejvoda
7df6d2bc16 - added version string display for network lobbies 2010-08-05 05:58:14 +00:00
Mark Vejvoda
51931d5b18 - fixing crash on client connect screen one more missed item 2010-08-05 00:51:39 +00:00
Mark Vejvoda
1a2f0175a8 - fixing crash on client connect screen 2010-08-05 00:48:46 +00:00
Mark Vejvoda
ac31d06106 - added more error checks in code and defaults for invalid font size values.
- re-enabled client side changing of values from connect menu without waiting for server reply.
2010-08-05 00:09:45 +00:00
Mark Vejvoda
4ba4b756c8 - updated client connect screen to display new game options as set from the server 2010-08-04 23:39:12 +00:00
Mark Vejvoda
a7c86fb86b - a better attempt to safely end games and hopefully fix the delete cells bug once for all 2010-08-04 20:07:39 +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
0b6fae7c93 - attempt to work more friendly with open suse 2010-08-03 01:58:43 +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
9d94e56886 - added more techtree validation (show upgrade types that cannot be produced) 2010-07-30 18:20:20 +00:00
Mark Vejvoda
e996dd2b79 - added ability to output errors in XML to console when validating techtrees 2010-07-30 17:20:13 +00:00
Mark Vejvoda
ece4686980 - added more techtree validations (ensure at least one other unit can produce each unit) 2010-07-30 16:28:55 +00:00
Mark Vejvoda
1c219618e4 - added more techtree validations 2010-07-30 14:51:17 +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
2605e1c4d7 - added proper constructor to init pointers to NULL in case or early game load problems to avoid a crash 2010-07-30 01:19:31 +00:00
Mark Vejvoda
ed8c08de2f - fixed a bad memory leak in the pathfinder 2010-07-30 01:05:52 +00:00