Commit Graph

935 Commits

Author SHA1 Message Date
Mark Vejvoda df3f56a451 - cleanup of texture compression. We output stats for textures that we attempt to compress and what percent they were compressed (before and after byte sizes) 2010-10-28 06:59:43 +00:00
Mark Vejvoda de3a92081d - a bunch of in progress work related to texture compression and more timely texture memory management cleanup. For now to test texture compression use the following ini setting: EnableTextureCompression=true 2010-10-28 00:51:25 +00:00
Mark Vejvoda 3c57f16a4a - cleanup some compiler warnings in vc++ and removed commented out debug info for in progress texture compression 2010-10-27 17:06:40 +00:00
Mark Vejvoda 78f6f49cb6 - fixed shadow mapping by removing the use of the extension: GL_ARB_shadow_ambient
(thanks: asmodeus and Ishmaru)
- added some initial work for texture compression (but not active yet)
2010-10-27 15:04:47 +00:00
Mark Vejvoda 3db2b07e90 - removed some unneeded things from the custom game menu (as requested by tomreyn) 2010-10-26 21:52:00 +00:00
Mark Vejvoda 43670f76c9 - bugfix for invalid map co-ordinates when looking for resources 2010-10-26 15:25:38 +00:00
Mark Vejvoda 1e104f0496 - attempt to further improve pathfinder performance when MANY units are on the map 2010-10-26 06:53:04 +00:00
Mark Vejvoda c47b6c676c - attempt to further improve pathfinder performance when MANY units are on the map 2010-10-26 06:43:42 +00:00
Mark Vejvoda 8bbbe403ad - more performance improvements for resource cache logic (try to avoid repetitive caching logic when it was already done once) 2010-10-25 22:02:36 +00:00
Mark Vejvoda d07cd76459 - added a guard for proper slot index usage in network code 2010-10-25 20:56:57 +00:00
Mark Vejvoda 45df867490 - replaced version check on masterserver with built in php function for proper functionality 2010-10-24 21:15:09 +00:00
Mark Vejvoda 117521a8d4 - disabled the recently introduced pathfinding cache as its too slow and not sure that it really does any good. This should help performance to be better. 2010-10-24 06:53:30 +00:00
Mark Vejvoda bbc8f96327 - better masterserver thread management during game play (do not start the thread for non published games) 2010-10-24 05:52:21 +00:00
Mark Vejvoda 112bfd4445 - commented out debug code 2010-10-24 02:16:44 +00:00
Mark Vejvoda 7cb1d6a5b1 - some performance improvements with the new cached resource data 2010-10-24 01:49:25 +00:00
Mark Vejvoda c3d41f5082 - bugfixes to master server communication logic when starting a game. Now we only send updates if the game was published, not for every network game. Also we properly delete the game from the masterserver when it has ended. 2010-10-23 22:06:49 +00:00
Mark Vejvoda 6a0e876bf2 - relaxed some of the special characters a bit so they can be used in the descriptions 2010-10-23 21:47:34 +00:00
Mark Vejvoda ae8571a406 - added the beginning of some new master server info (very limited)
- Masterserver menu will show more titles / colors.
    - We keep the game showing in the Masterserver menu while it is in progress.
   - Disable join button when slots are full.
   - Update title with IN PROGRESS when game is being played.
   - PHP Script is backwards compatible with older clients
2010-10-23 09:06:47 +00:00
Mark Vejvoda fd3a8e4705 - minor bugfix when broadcasting on UDP (only one socket per unique subnet) 2010-10-23 05:12:28 +00:00
Mark Vejvoda e2610df502 - fixed chatting logic to now retain more info about the user that sent the text in the console manager. Colors now apply to the playername and changing playernames is ok in the lobby andf rendering accounts for this (as well as switching slots) 2010-10-23 04:00:39 +00:00
Mark Vejvoda e53e6b49a9 - bugfix for multiple consumable resources applying incorrectly during the update interval. (thanks silnarm) 2010-10-22 22:52:37 +00:00
Mark Vejvoda c4c812dd15 - updated chat player colors in console so ONLY playername is colored the players color
(by request from titi)
2010-10-22 21:54:47 +00:00
Mark Vejvoda b72124a89a - bugfix for segfault (using wrong index variables again). This time I understand what to change and what not to change :) 2010-10-22 17:29:23 +00:00
Mark Vejvoda 6ace9ad571 - added ability to toggle team # from 1 to 8 (for tomreyn) 2010-10-22 17:20:55 +00:00
Mark Vejvoda 40a0707519 - bugfix for switching human to AI on disconnect (the check used the wrong index) 2010-10-22 16:47:08 +00:00
Mark Vejvoda 707a26feb2 - bugfix for server side player color index being wrong 2010-10-22 16:35:16 +00:00
Mark Vejvoda 343fdb70b2 - fixed the cursor bug mentioned by claymore 2010-10-22 16:08:13 +00:00
Mark Vejvoda c088889e7c - bugfix to retain proper team color based on actual slot position, regardless of how many closed slots there are. Yay, now team placement and color works properly 2010-10-22 08:10:56 +00:00
Mark Vejvoda 8ab3366c66 - added player color coding in lobbies as well as chat console 2010-10-22 07:28:55 +00:00
Mark Vejvoda b869552cad - a little bit of fine tuning the new unit harvesting logic, now units are more intelligent about how they harvest (both AI and Human players) 2010-10-22 04:48:24 +00:00
Mark Vejvoda cf5164d5ce - bugfix for consumable resources. Now we get the total usage value BEFORE applying the consequences (thanks for finding this Zoythrus) 2010-10-22 04:16:11 +00:00
Mark Vejvoda 362ae6f4fa - attempt to see if this fixes some lua problems 2010-10-21 22:12:05 +00:00
Mark Vejvoda 178809ada3 - changed resource faction cache to a map for better performance 2010-10-21 21:53:08 +00:00
Mark Vejvoda 07fe6a2196 - added to the faction resource cache pool for even better AI discovery of resources 2010-10-21 20:31:09 +00:00
Mark Vejvoda ae367fb252 - updated to units harvesting so they try to harvest different resources when blocked if other resources are close by. 2010-10-21 19:26:14 +00:00
Mark Vejvoda 79318735ab - cleanup of last compiler warnings in Linux (hurray!) 2010-10-21 18:24:54 +00:00
Mark Vejvoda ba088e9258 - bugfix for linux builds after compiler warning cleanup 2010-10-21 17:49:14 +00:00
Mark Vejvoda be979590c1 - more compiler warning cleanup 2010-10-21 17:42:45 +00:00
Mark Vejvoda cbe6860826 - more compiler warning cleanup 2010-10-21 16:36:26 +00:00
Mark Vejvoda 45a26a4597 - cleaned up more compiler warnings
- added unsigned 64 bit type for windows
2010-10-21 15:55:12 +00:00
Mark Vejvoda c6a4e53151 - fix compile error on linux 2010-10-21 15:35:13 +00:00
Mark Vejvoda 06b9d7eef7 - cleaned up a whole pile of compiler warnings 2010-10-21 15:21:46 +00:00
Mark Vejvoda d5117ed7fa - cleaned up a whole pile of compiler warnings 2010-10-21 07:20:17 +00:00
Mark Vejvoda 93e56df3d6 - fixed some misc code bugs (incorrect assignment) and cleaned up some compiler warnings 2010-10-21 01:07:11 +00:00
Mark Vejvoda f5f406dfb3 - bugfix related to segfault when a network disconnect occurs while a thread is updating a slot 2010-10-21 00:21:58 +00:00
Mark Vejvoda bc7ba297fd - more tweaking for units harvesting, this hopefully cleans up segfaults and makes things more stable. 2010-10-20 20:40:29 +00:00
Mark Vejvoda 6104dedc76 - added a resource harvest success cache for stuck units to look at when they cannot harvest. 2010-10-20 07:28:27 +00:00
Mark Vejvoda ddb4c42bf5 - added some guard conditions to avoid segfault when resources are harvested quickly 2010-10-19 22:47:45 +00:00
Mark Vejvoda 913df7ec3b - added more cached information to help deal with units getting stuck while harvesting. Trying to keep them busy instead of standing around. 2010-10-19 22:26:49 +00:00
Mark Vejvoda dda594cf33 - a slight change in dealing with units getting stuck while harvesting. Trying to keep them busy instead of standing around. 2010-10-19 16:54:48 +00:00