Commit Graph

917 Commits

Author SHA1 Message Date
Mark Vejvoda 8ca44feffc - added perf timings to main program loop 2010-09-02 13:43:44 +00:00
Mark Vejvoda 8b681e1cb9 - more bugfixes for multi-build. Added extra check for repairer / builder swap so that old builder who became a repairer will not try to start building when another unit already took over. 2010-09-02 05:38:49 +00:00
Titus Tscharntke 57f7ffe555 cleand up the menu again and fixed a bug with map filter 2010-09-01 23:15:08 +00:00
Mark Vejvoda 08ace3ca21 - fixed help msg for commandline parameter 2010-09-01 06:24:27 +00:00
Mark Vejvoda ece3319aa8 - fixed invalid commandline error msg 2010-09-01 06:07:34 +00:00
Mark Vejvoda ab42ca7ace - added new commandline option to auto-load a scenario:
--load-scenario=x
- added support for a special faction preview texture when faction preview is enabled
2010-09-01 06:05:28 +00:00
Mark Vejvoda 21ded6679f - some code cleanup for multi-build debug 2010-09-01 04:42:10 +00:00
Mark Vejvoda d6d1fe2add - bugfixes for multi-build. Now the other units are checked that they can not only build but repair too. Also those who repair now try to approach from the best angle as well as the builder. 2010-09-01 04:19:20 +00:00
Titus Tscharntke f07cbb13ad just a small change so that "all" is not needed in the language file 2010-09-01 00:25:46 +00:00
Mark Vejvoda ca49e0ba68 - attempt to fix multi-build 2010-08-31 23:14:15 +00:00
Mark Vejvoda f727c383b2 - fixed bug with server unable to start a game (sorry everyone)
- made faction texture preview an ini option: FactionPreview=true
2010-08-31 20:31:20 +00:00
Mark Vejvoda 6ce69a1e0b - added new messagebox prompt on server when data synch check enabled and data is different we stop the server from launching the game.
- added faction preview texture when users change their faction selection
2010-08-31 06:38:27 +00:00
Mark Vejvoda 135a03e95a - added NULL pointer checks in surface atlas 2010-08-31 04:39:25 +00:00
Mark Vejvoda 6c9b8afc81 - bugfix for mapfilter when saved game does not have index 2010-08-30 21:06:43 +00:00
Mark Vejvoda e32eb9c162 - modified command object to support special states which flow through network play as well. This allows for better handling of multi-unit build and allows for better future expanding of command processing. 2010-08-30 20:45:12 +00:00
Titus Tscharntke 13173788da mapFilter 2010-08-30 20:02:58 +00:00
Mark Vejvoda f16bb3f28b - some bugfixes for new LUA features 2010-08-29 06:30:41 +00:00
Mark Vejvoda 5ae0430928 - added more LUA functions:
int registerCellTriggerEventForUnitToUnit(int sourceUnitId, int destUnitId);
int registerCellTriggerEventForUnitToLocation(int sourceUnitId, const Vec2i &pos);
int registerCellTriggerEventForFactionToUnit(int sourceFactionId, int destUnitId);
int registerCellTriggerEventForFactionToLocation(int sourceFactionId, const Vec2i &pos);
int getCellTriggerEventCount(int eventId);
void unregisterCellTriggerEvent(int eventId);
int startTimerEvent();
int stopTimerEvent(int eventId);
int timerEventSecondsElapsed(int eventId);
int triggeredCellEventId();
int triggeredTimerEventId();
LUA events:
timerTriggerEvent
cellTriggerEvent
2010-08-29 04:45:15 +00:00
Mark Vejvoda 03848fc84f - added more LUA features.
new event: 
gameOver
new method:
getGameWon()
2010-08-28 22:10:34 +00:00
Mark Vejvoda 4d372c12bc - added more LUA support and fixed parameter passing of Vec2i types with streflop
New LUA methods:
DisplayFormattedText
getAiEnabled
getHungerEnabled
startPerformanceTimer
endPerformanceTimer
getPerformanceTimerResults
2010-08-28 20:52:25 +00:00
Mark Vejvoda dc5bf0f850 - bugfix for AI not losing HP when food is out
- added new LUA commands (for Tiger):
giveAttackCommand
disableAi
enableAi
disableHunger
enableHunger
2010-08-28 08:06:32 +00:00
Mark Vejvoda 4bc00cbf73 - added new calculation method when building units, builder units use best approach to build it instead of top left. 2010-08-28 03:43:14 +00:00
Mark Vejvoda db25b5391e - added in-game sound toggle hotkey (thanks Nebososo) 2010-08-28 03:41:17 +00:00
Mark Vejvoda 792150e3dd - moved the hard coded M (more chat text) hotkey to use the already defined hotkey in glestuser.ini 2010-08-28 01:52:57 +00:00
Mark Vejvoda 2ea8b69e22 - first attempt at allowing multiple units to build at the same time 2010-08-28 01:46:26 +00:00
Titus Tscharntke 4ef61fc85e menu layout changed, added 2 new feature switches for custom menu ( non functional only dummys yet ) 2010-08-27 23:08:35 +00:00
Mark Vejvoda 20a02c28ed - bigfix for windows compile 2010-08-27 23:04:59 +00:00
Mark Vejvoda a9b0f31816 - added hard coded team chat hotkey H to configurable keys
- changed dependency finder script to use only desired libs
2010-08-27 21:43:47 +00:00
Mark Vejvoda a2f013c51a - cleaned up lobby message processing 2010-08-27 20:09:55 +00:00
Mark Vejvoda 2e99f69ef1 - added an overall MAX lag counter to disconnect clients that lag beyond recovery 2010-08-27 18:53:59 +00:00
Mark Vejvoda e358df4486 - fixing more stupid windows compile issues 2010-08-27 17:25:58 +00:00
Mark Vejvoda de82843e73 - added more safety code arouind SDL threads in case we get failures from SDL itself 2010-08-27 03:46:08 +00:00
Mark Vejvoda f7d9cd50a6 - added more safety code arouind SDL threads in case we get failures from SDL itself 2010-08-27 03:40:54 +00:00
Mark Vejvoda 0504ea3b97 - bugfix for particles when they finish 2010-08-27 03:06:28 +00:00
Mark Vejvoda a4e75417e4 - added safety check to thread execution 2010-08-27 03:00:57 +00:00
Mark Vejvoda 773bc8659f - extra hardening of connecthost commandline parameter 2010-08-27 02:51:31 +00:00
Mark Vejvoda eb9b5a4ec6 - bigfixes for game data check 2010-08-26 23:45:29 +00:00
Mark Vejvoda 90f66d99bf - updated game data checks display on server 2010-08-26 23:14:55 +00:00
Mark Vejvoda f765ab0880 - updated game data mismatch display 2010-08-26 23:04:14 +00:00
Titus Tscharntke 8884c32e78 version string "light" 2010-08-26 23:01:55 +00:00
Mark Vejvoda ddf4fca0bf - another change to game data packet length for the sake of cheesy windows 2010-08-26 22:29:48 +00:00
Mark Vejvoda 9bacf0abea - added a better detection of threads statuses 2010-08-26 22:13:41 +00:00
Mark Vejvoda 1058065ce7 - changing the max filecount lower to avoid stack overflow due to array taking > 1MB 2010-08-26 20:28:26 +00:00
Mark Vejvoda 169234b80f - added more safety checks in broadcast socket thread 2010-08-26 19:50:18 +00:00
Mark Vejvoda f3278c3cf3 - bugfixes for stack overflow issue (static array size too large causing chkstk errors) 2010-08-26 19:01:44 +00:00
Mark Vejvoda 4ebd156828 - added new commandline parameter to display the version of SDL used by the program 2010-08-26 16:03:54 +00:00
Mark Vejvoda c5624d8662 - bugfix for newer gcc compiler that freaks out on using static ints as a parameter to stl's min and max functions 2010-08-26 15:00:50 +00:00
Mark Vejvoda 979a6ddb09 - fixed compile issues for tomreyn 2010-08-26 14:48:04 +00:00
Mark Vejvoda 8274ff1efb - windows compile bugfixes 2010-08-26 05:43:08 +00:00
Mark Vejvoda db173d0fdd - bugfixes for network playername inline editing in the lobby during a slot switch 2010-08-26 05:30:17 +00:00
Mark Vejvoda 6fcf4295f1 - updated techree validation output 2010-08-26 04:31:48 +00:00
Mark Vejvoda 58b23f8b91 - added more validation to the techtree validator (make sure that a unit that can build another unit, the unit to be built must have a be_built_skill 2010-08-26 04:17:09 +00:00
Mark Vejvoda a64fa69d02 - bugfixes for experimental game data synch check in lobby
- added a fix for socket sending when the send buffer is full and we have more data to send
2010-08-26 03:15:36 +00:00
Mark Vejvoda e5678be10c - bugfixes for experimental game data synch check in lobby
- added a fix for socket sending when the send buffer is full and we have more data to send
2010-08-26 02:36:17 +00:00
Mark Vejvoda 5fb040c9f1 - Fixed bug related to particles not updating smoothly 2010-08-26 01:25:27 +00:00
Mark Vejvoda 5a796444b8 - added a cache for compute fog of war 2010-08-25 23:55:59 +00:00
Mark Vejvoda 0ef23749b8 - allow non visible particles to fade out when its time to do so 2010-08-25 19:46:22 +00:00
Mark Vejvoda 3ee7fc902c - changed update and camera update fps to original values 2010-08-25 19:21:11 +00:00
Mark Vejvoda 5e20ab5808 - updated to allow dynamic changing of updatefps and camerafps 2010-08-25 18:26:17 +00:00
Mark Vejvoda 014165de69 - explicitly clear the cache. 2010-08-25 16:01:24 +00:00
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
Mark Vejvoda 6d3f6dcaf4 - added some logging when quitting a game
- another feeble attempt to fix windows game end crashes
2010-07-29 22:08:45 +00:00
Mark Vejvoda 5686e8657c - fixed special keys to be ignored also in menus when in chat mode 2010-07-29 15:49:06 +00:00
Mark Vejvoda a8a3275036 - added an earlier attempt to help lagging clients recover when they start to fall behind. 2010-07-29 05:51:50 +00:00
Mark Vejvoda 8feaebb503 - added caching for computeVisibleQuad
- fixed bug when in chat mode and the deub view toggle key was intercepted
- added less than operators
2010-07-29 05:24:51 +00:00
Mark Vejvoda d8e41495d0 - removal of sse2 compiler flags for better compatibility
- added workings for a future flag for interpolation cache
2010-07-28 23:24:56 +00:00
Mark Vejvoda f0d492371f - added an attempt to autocreate the userdata folder is it does not exist 2010-07-27 18:56:12 +00:00
Mark Vejvoda 0d41ef7ae7 - Added masterserver files to svn 2010-07-27 15:14:58 +00:00
James McCulloch e73324d317 * added DebugType debugPathFinder 2010-07-24 11:43:03 +00:00
Mark Vejvoda 1ef403c7b6 - moved output for opengl-info commandline parameter to go BEFORE CRC cache thread 2010-07-21 22:42:06 +00:00
Mark Vejvoda ff586afd0d - some final updates to get the new pathfinder working after adding multi-pathing support 2010-07-21 22:05:50 +00:00
Mark Vejvoda 77ee50b681 - some code cleanup related to supporting multiple path finders 2010-07-21 20:40:11 +00:00
Mark Vejvoda 74b6fc8139 - some code cleanup related to supporting multiple path finders 2010-07-21 19:17:45 +00:00
Mark Vejvoda bca03b0c0c - initial changes to support multiple path finders 2010-07-21 18:21:40 +00:00
Mark Vejvoda f45619980f - updated version # to alpha3 2010-07-19 17:03:43 +00:00
Mark Vejvoda b15069d71a - updated version #'s on tools to remove beta text 2010-07-18 05:22:32 +00:00
Mark Vejvoda bd3cb7f9bb - map editor bugfixes (proper deletion of arrays and tooltip painting)
- updated vc++ 2008 project files (and new win32 dependency archive uploaded to sourceforge) so that all projects can be built in debug mode now
2010-07-18 05:09:30 +00:00
Mark Vejvoda add0275120 - now show more info when loading factions (which faction is currently being loaded)
- when AllowGameDataSynchCheck=true we now show count of files found in CRC check both to log and screen output
2010-07-17 20:10:16 +00:00
Mark Vejvoda 2276df63b8 - attempt to speed up file CRC algorithm 2010-07-17 19:41:58 +00:00
Mark Vejvoda 7979c6568e - attempt to speed up file CRC algorithm 2010-07-17 19:05:56 +00:00
Mark Vejvoda 81af3c7f8c - more rendering improvements when fps starts to drop to 20 or less 2010-07-17 12:41:05 +00:00
Mark Vejvoda d58a3d948c - fast caching of interpolation data 2010-07-17 12:16:02 +00:00
Mark Vejvoda f8ada85017 - cleanup of some compiler warnings 2010-07-17 07:07:57 +00:00
Mark Vejvoda 3b39c7d5b2 - cleanup of some compiler warnings 2010-07-17 06:59:18 +00:00
Mark Vejvoda 633cb9542d - cleanup of some compiler warnings 2010-07-17 06:57:57 +00:00
Mark Vejvoda e9e1a317e4 - cleanup of some compiler warnings 2010-07-17 06:54:04 +00:00
Mark Vejvoda ed67b16aba - added ability to completely disable explorecells caching if required 2010-07-17 06:33:40 +00:00
James McCulloch 8579dbb36e * fix for resource depletion updates to AnnotatedMap and Resource GoalMaps (cell to tile co-ord problem) 2010-07-17 05:13:34 +00:00
Mark Vejvoda 43f4ba71a3 updated impossibleroute text to re-use invalid position text 2010-07-17 01:27:43 +00:00
Mark Vejvoda 354d8b5408 - improvement for explorecells caching 2010-07-17 01:00:31 +00:00
Mark Vejvoda 432343572f - updated caching for explorecells to be smarter and also remove old items if the cache gets too large (hits a threshold) 2010-07-16 22:17:36 +00:00
Mark Vejvoda 3d62ba1089 - updated caching for explorecells to be smarter and also remove old items if the cache gets too large (hits a threshold) 2010-07-16 22:15:09 +00:00
Mark Vejvoda a0831666b5 - added a check for linux NIC's to only return those that are both UP and Running 2010-07-16 20:02:44 +00:00
James McCulloch 4393139496 * restore error check that I had commented out while experimenting with sqrt approximations 2010-07-16 17:13:12 +00:00
Mark Vejvoda e3ad4b7b60 - bugfix to ignore 0.* ip addresses 2010-07-16 17:11:38 +00:00
Mark Vejvoda a3ec4650c4 - moved pause for lagged clients option to custom game menu
- bugfix to ignore 0.* ip addresses
2010-07-16 16:53:19 +00:00
Mark Vejvoda 9992f9cb79 fixed minor compiler issues in linux for new pathfinder changes 2010-07-16 16:24:55 +00:00
James McCulloch 20165b4566 * path finding into unexplored areas handled more intelligently (and without revealing/exploiting information the player shouldn't have) 2010-07-16 16:08:09 +00:00
Mark Vejvoda ecc78d24bd - added a None sound factory 2010-07-16 07:15:29 +00:00
Mark Vejvoda 1e077512d8 - Added ability to disable sound for poor users with non-functional sound 2010-07-16 06:35:22 +00:00
Mark Vejvoda 0089cc7d31 - updated location of some opengl calls to be more friendly in open suse 2010-07-16 00:42:13 +00:00
Mark Vejvoda 2ada9e7550 - bugfix for multi-unit selection (pressing shift does not unselect previously selected units now) 2010-07-15 19:48:28 +00:00
Mark Vejvoda 1096e81562 - bugfix for mouse click offset issue (had to do with Renderer::perspFarPlane value) 2010-07-15 14:54:19 +00:00
Mark Vejvoda 4582214815 - bugfix for mouse click offset issue (had to do with Renderer::maxLightDist value)
- bugfix for holding Ctrl key to queu commands
2010-07-15 07:33:49 +00:00
Mark Vejvoda 206170bc76 - attempted some speed improvements for unit lookup as well as exploreCells 2010-07-14 06:59:55 +00:00
James McCulloch 5f16b486d7 * fix for build command (problems with some cellmaps)
* fix for repair command (problems if top-left cell of repairee is blocked)
2010-07-14 06:54:43 +00:00
Mark Vejvoda 6e26641799 - a possible fix for the AI. this change will randomize all possible produce, morph and build operations instead of just using the last commandtype found for candidate units 2010-07-13 22:51:27 +00:00
James McCulloch f18061a7ee fix build-site and store adjacency maps for potential building rotation
fix potential annotated map update problem with morphing to a smaller UnitType
2010-07-13 11:05:35 +00:00
James McCulloch 8387ed29dc * wired up RoutePlanner/Cartographer
* added DebugRenderer (mostly dysfunctional)
 * add lots of OutputDebug calls for the path finder, as macro PF_TRACE
2010-07-13 05:33:43 +00:00
Mark Vejvoda f86268b53d - some small changes for new pathfinder code to compile in linux 2010-07-12 06:40:19 +00:00
Mark Vejvoda d1fa4975de - added another xerces XML validation flag
- added new commandline option: opengl-info to output graphics card info
- added some opengl rendering optimzations
2010-07-12 06:30:54 +00:00
James McCulloch bdd4f306f4 * added GAE path finder (SearchEngine and friends)
* some small changes to Unit, UnitType, Vec2<> & Map needed for the new path finder
 * compiles, but not hooked up yet, old PathFinder still in use
2010-07-11 18:31:02 +00:00
Mark Vejvoda 277230657c - fixed file encoding for proper credits display 2010-07-11 15:56:00 +00:00
Mark Vejvoda 61b77fe645 - added the ability to toggle hardware acceleration and full screen anti-aliasing via ini settings
- added video card info screen to options menu
2010-07-11 07:38:08 +00:00
Mark Vejvoda 9a6bb4830e - updated version # for next alpha release 2010-07-10 06:53:55 +00:00
Mark Vejvoda 031bfd2f60 - added LAN IP in custom Menu
- Updated readme and other text files with more accurate info (thanks Tomreyn)
- Disabled ability to zoom out when game is over if in a network game (creates to much LAG and instability)
2010-07-10 06:14:31 +00:00
Mark Vejvoda f40dd94b1d - added error checking and allow the game to continue if we cannot init the sound system
- persist error messagebox between program states
2010-07-09 22:16:26 +00:00
Mark Vejvoda eb34eb1fe5 - more bugfixes for ping logic 2010-07-09 18:49:01 +00:00
Mark Vejvoda af6eb0d1e6 - bugfix for new custom ping msg 2010-07-09 18:02:31 +00:00
Mark Vejvoda b008594ca8 - missing header for windows compile 2010-07-09 17:46:53 +00:00
Mark Vejvoda 0d7d0e139d - updated disconnect checking to include a timeout check for our custom ping 2010-07-09 17:12:57 +00:00
Mark Vejvoda df688c3ede - some debug comments removed 2010-07-09 15:59:49 +00:00
Mark Vejvoda 3e53b69676 - added client side ping style packet for linux socket disconnect checking 2010-07-09 15:01:49 +00:00
Mark Vejvoda 4ba69753f9 - added extra check on linux for socket disconnect 2010-07-09 05:29:42 +00:00
Mark Vejvoda ab655162cb - added more bug fixes related to network disconnects.
- Added a new global message box to display error messages on top of any graphics window being displayed.
2010-07-08 08:29:51 +00:00
Mark Vejvoda ff21d26161 - mouse disappearing bugfix (go ahead alt-tab, alt-esc, do it ALL, its fixed!)
- Added more descritive error message when data checksum is discovered. The client's playername is now disclosed in the error.
- added VS project config to disable STREFLOPs for testing later
- updated version to 3.3.5.1 alpha1
2010-07-07 22:25:29 +00:00
Mark Vejvoda 39ad29ba3d - attempt to improve rendering speed by rolling back render code to be more like 3.3.4
- added new ini setting to adjust http timeout and set default timeout to 10 seconds now
2010-07-07 18:50:55 +00:00
Mark Vejvoda 64705aa786 - some optimizations for performance logging 2010-07-06 19:24:36 +00:00
Mark Vejvoda b0b775dc49 - adjusted ? toggle key to always allow toggling of FPS (whether or not debug in enabled) 2010-07-06 15:11:10 +00:00
Mark Vejvoda aecc708942 - attempt to improve rendering speed 2010-07-06 13:26:23 +00:00
Mark Vejvoda c04b83259e - attempt to improve rendering speed 2010-07-06 10:11:56 +00:00
Mark Vejvoda 413c492684 - attempt to improve rendering speed 2010-07-06 06:30:49 +00:00
Mark Vejvoda 8478ab80b3 - bugfixes for malformed debug statements
- updated version to 3.3.5.1
- added more null checks
- changes to try to fix crash when ending a game (delete cells bug)
2010-07-06 05:30:34 +00:00
Mark Vejvoda f3a636ff15 - attempt to fix tomreyn's font issue 2010-07-03 15:45:58 +00:00
Mark Vejvoda 3792a0af23 - added another NULL check 2010-07-03 11:07:37 +00:00
Mark Vejvoda 718d22df95 - updated to fully support customized external port assignments for users firewalls 2010-07-03 10:53:13 +00:00
Mark Vejvoda 009e6f07e5 - added initial ability for servers to publish an external port for use with internet games. This is in case we must use soft-haus.com which will work with only a few outgoing port numbers.
*NOTE: This update add's a new field to the PHP / mysql scripts.
2010-07-03 10:06:31 +00:00
Mark Vejvoda ae8e8a71f2 - some minor fixes to non standard port display text 2010-07-03 09:14:58 +00:00
Mark Vejvoda aeae7371e9 - set version to 3.3.5 in preparation for release! 2010-07-03 07:06:49 +00:00
Mark Vejvoda 054817acd0 - added auto-create of user ini files if they don't exist 2010-07-03 07:02:31 +00:00
Mark Vejvoda 66d4fce081 - added missing translation strings to spanish (used bablefish for translations)
- updated exit text to support newlines in language text
- added support for netwlines in language string code
2010-07-03 06:48:24 +00:00
Mark Vejvoda 087c6c87b1 - added more NULL pointer checking to see if it helps deal with a potential timing issue during game shutdown (deleting cells issue) 2010-07-03 05:20:03 +00:00
Mark Vejvoda eda2e84aee - bugfixes for processing disconnect and game end scenarios. These fixes corrected a bunch of segfaults when client or server disconnect. 2010-07-02 19:57:47 +00:00
Mark Vejvoda 521fb237bf - bugfix for regression of disconnecting from server on lobby screen 2010-07-02 16:54:28 +00:00
Mark Vejvoda abb515298d - updated beta version to 19 2010-07-02 02:54:24 +00:00
Mark Vejvoda aa0db2c0f0 - network code bugfixes.
- More checking for disconnect and proper handling of those cases
- Changed battle end screen to exit via mouse click on exit button (or press ESC)
- Removed display of unused ping output
- added more error handling debug output of the mystical unknown error caught in window.cpp to track it down better if it happens again
2010-07-02 02:50:20 +00:00
Mark Vejvoda 75c50f1052 - fixed CPU usage on windows for map editor 2010-07-01 16:31:06 +00:00
Mark Vejvoda c85b8baa49 - bugfix for map editor mouse position in windows
- set windows projects to compile using SSE2 compiler setting
2010-07-01 15:53:07 +00:00
Mark Vejvoda 0f15e9ecf3 - updated version to beta18 (could this be the golden version???) 2010-07-01 06:12:34 +00:00
Mark Vejvoda 391fd1f36d - bugfixes to properly manage and display various kinds of network error conditions. 2010-07-01 06:11:14 +00:00
Mark Vejvoda 3ea81caf92 updated output type to get proper values 2010-07-01 00:52:11 +00:00