Commit Graph

1989 Commits

Author SHA1 Message Date
Mark Vejvoda
e4f0e8bfbf - step #1 towards a working make install via cmake 2011-05-03 18:25:35 +00:00
Mark Vejvoda
62ae318e60 - fix spelling mistake in perl script 2011-05-03 11:22:55 +00:00
Mark Vejvoda
cd4ef0eaf7 - proper binary path extraction on all platforms and glest.ini by default can run from search path and will try to find stuff it needs in the real binary path
- fixed error message for untis missing be_built
- fixed mg.ini for html tool and updated perl script
2011-05-03 11:15:15 +00:00
Mark Vejvoda
c94eb32bd8 Stuff from pabs (debian games) round #2
- remove jquery minified from svn because:
<pabs> also because they are minified, that means that the source code isn't included, which violates DFSG item 2: http://www.debian.org/social_contract#guidelines
- Now we use curl to download these files if the user runs the setupDeps.sh script (mentioned in the header of the main pl file)
2011-05-03 08:42:38 +00:00
Mark Vejvoda
bda831861a Stuff from pabs (debian games) round #1
- remove +x bit on many files that should not have it
- added gplv3 svg logo for completeness in svn
2011-05-03 07:58:59 +00:00
Mark Vejvoda
402ae16657 - added support for specifying data and log paths in the standard glest.ini and glestuser.ini
DataPath=x
LogPath=x
2011-05-02 18:28:57 +00:00
Titus Tscharntke
d4fb120b88 this fixes it ... but i am not very happy with the current state :/
maybe better skip the update call for release?
2011-05-02 01:22:33 +00:00
Titus Tscharntke
6c8e36fd24 last try to fix the display crash for today. If this does not work comment the line 813 to fix it. 2011-05-02 00:34:04 +00:00
Titus Tscharntke
620fc1cff1 next try to fix the display crash problem .... 2011-05-01 23:48:08 +00:00
Mark Vejvoda
fb79bce5ab - added new ini entry for totalnoob to try to see if it fixes his stick trees?
PerspectiveFarPlane=1000
is what he should try when using this svn version
2011-05-01 22:48:44 +00:00
Titus Tscharntke
c8bb5e6fce bugfix for crash ( when no unit is selected and display text is calculated ) 2011-05-01 22:28:42 +00:00
Titus Tscharntke
7863212a94 fixes a memory problem with very small emission rates which might happen when a particle system has no more living particle. 2011-05-01 21:46:04 +00:00
Titus Tscharntke
9ce83ed21b queued commands are displayed in a better way 2011-05-01 20:19:41 +00:00
Mark Vejvoda
5d1f75ebe6 - bugfix for enemy cell segfault for AI players 2011-05-01 15:22:58 +00:00
Mark Vejvoda
4486b4d5c3 - hide observers from battle end screen stats 2011-05-01 07:35:10 +00:00
Mark Vejvoda
070b8b76e6 - more AI enhancements to better handle repair and build positions 2011-05-01 07:24:37 +00:00
Mark Vejvoda
efc6b7ee1d - ensure a good number of AI workers particpate in the repairing of castles 2011-05-01 06:02:49 +00:00
Mark Vejvoda
9def99c8f5 - bugfix on new cellmap pos, need to check first if unit has a cellmap 2011-05-01 05:40:45 +00:00
Mark Vejvoda
f71f83d2b8 - bugfix for AI repairing fixes a long standing legacy bug where the AI never repaired units with a cell map starting with a 0 at the first x,y in the cellmap (like magic faction). 2011-05-01 05:36:04 +00:00
Mark Vejvoda
ae9d20a6cf - bugfix for new AI repair logic to properly detect damaged castle type units 2011-05-01 03:23:15 +00:00
Mark Vejvoda
700e768b0f - changed default command display text to be same as 3.4 but with support to override and show queued commands up to a max of: MaxQueuedCommandDisplayCount=x where x is max queued text to show
- added ini support on linux so it by default looks for glest.ini and glestkeys.ini in /usr/share/megaglest and /usr/local/share/megaglest first
2011-05-01 03:12:36 +00:00
Mark Vejvoda
5ef1313296 - only show queued # in text if queued commandcount > 1 2011-05-01 02:31:36 +00:00
Mark Vejvoda
3ed7d242d9 - added more detail on error message 2011-04-30 06:36:52 +00:00
Mark Vejvoda
af1928f98e - some cleanup of networking code 2011-04-30 06:13:23 +00:00
Mark Vejvoda
5d743f38db - changed Internet and Game lobby to display svn rev# instead of compile date/time 2011-04-30 01:05:53 +00:00
Mark Vejvoda
030058e3fc - revert a render method to the 3.4 version for better ATI card support (thanks for pointing this out sojourner) 2011-04-29 23:48:46 +00:00
Mark Vejvoda
c979ea1254 - more AI enhancements, now units that harvest AND attack will be more wise when choosing to attack, (think persian) since they need to harvest more than they need to attack when harvester count is very low.
- AI Units now place higher priority on repairing 'castle' style units when looking for something to repair.
2011-04-29 23:42:16 +00:00
Mark Vejvoda
d297a68b36 - bugfix for AI players to ensure the unit they want to repair has another unit that is able to repair it before trying to repair a damaged unit so the AI doesn't waste time. 2011-04-29 05:37:35 +00:00
Mark Vejvoda
d266bbb55c - changed default displayed command queue text to 3 2011-04-29 04:13:31 +00:00
Mark Vejvoda
15489b066f - added new ini setting to see if this helps fix non power of two texture loading for some ATI video cards, user needs to set this in the ini:
EnableATIHacks=true
2011-04-28 07:48:19 +00:00
Mark Vejvoda
95dcd042a3 - updated texture gl errors to include glu error text 2011-04-28 00:51:39 +00:00
Mark Vejvoda
c747a7c037 make queued commandcount configurable 2011-04-28 00:16:26 +00:00
Mark Vejvoda
4a20646d37 - revert 2d mouse renderer to 3.4 2011-04-27 23:37:57 +00:00
Mark Vejvoda
3f09541ab3 - add more texture fallback code in case api calls fail 2011-04-27 23:31:56 +00:00
Mark Vejvoda
508be10d15 - show crc message prompt if either allow data synch flags are enabled 2011-04-27 22:51:44 +00:00
Mark Vejvoda
0abca7fb7a - bugfixes for clicking outside of the map co-ordinates
- show up to 5 descriptions for queued items when producing
2011-04-27 22:35:45 +00:00
Mark Vejvoda
dd9b984a82 - in observer mode, show queued work for all factions
- when showing queues, now also show up to a max of 4 details for the first 4 items in the queue
2011-04-27 05:58:08 +00:00
Mark Vejvoda
69a627dca7 -fixed AllowGameDataSynchCheck=true so it works properly again 2011-04-26 23:34:48 +00:00
Mark Vejvoda
706c72c87f - bugfix when receiving additional socket data 2011-04-26 23:19:27 +00:00
Mark Vejvoda
89de9f4c8b - fixed to handle duplicate resources in unit requirement costs without crashing 2011-04-26 22:28:37 +00:00
Mark Vejvoda
8d3a53235a - better error message on null resource 2011-04-26 22:11:18 +00:00
Mark Vejvoda
47ef05ceed - attempt to improve pathfinder performance and lengthen max nodes to 900 2011-04-26 21:51:18 +00:00
Mark Vejvoda
b9ebb5aabe - bugfix for handling unexpected small strings in string compare 2011-04-26 19:35:53 +00:00
Mark Vejvoda
4d2422bb57 - added extra info in error text for language strings 2011-04-26 16:02:34 +00:00
Mark Vejvoda
cb113514e1 - limit current resource amounts to max storage allowed at game start 2011-04-25 06:39:40 +00:00
Mark Vejvoda
a77aa5e4be - attempt to correct possible openal issues 2011-04-24 15:34:53 +00:00
Mark Vejvoda
e8897552de - attempt to fix some of the crashes when clicking multiple things 2011-04-24 06:10:30 +00:00
Mark Vejvoda
1f3d97dbe1 - fixed strange messagebox display (was caused by map preview renderer setting glLineWidth to 14 and never resetting afterwards) 2011-04-24 05:39:13 +00:00
Mark Vejvoda
68a906ab2a - fix crc check so it does not add special faction names (like random, etc) 2011-04-24 04:31:39 +00:00
Mark Vejvoda
ac83b1a898 - attempt to fix socket bug where we incorrectly polled for data using ioctl / ioctlsocket. While we stilkl do some peeks, the bulk of the socket work is now done properly by simply doing recv and thus should prove more stable and reliable as well as perform better. 2011-04-24 04:22:19 +00:00
Mark Vejvoda
fa82d1712a - updated version to 3.5.1-dev 2011-04-22 00:31:10 +00:00
Mark Vejvoda
16ea7881ab - no longer allow killing self or team to update your skill levels 2011-04-20 16:46:47 +00:00
Mark Vejvoda
b180581bf8 - bugfix for disabling hotkeys when in menu's and editing text in a field 2011-04-20 16:25:16 +00:00
Mark Vejvoda
257689ba07 - moved return button and progress bar to try to avoid console message overlap 2011-04-20 05:48:33 +00:00
Mark Vejvoda
a12e9787e1 - moved progress bar beside return button 2011-04-20 05:24:11 +00:00
Mark Vejvoda
98a3c5e699 - bugfix for mod menu segfault when user clicks like mad 2011-04-20 05:04:43 +00:00
Mark Vejvoda
6967f23a92 - if error during reload saved settings, restore original settings (to avoid corrupted game settings not matching the UI). Discovered after renaming romans_beta to romans and faction not found when restoring saved settings 2011-04-19 22:53:37 +00:00
Mark Vejvoda
d4cff9786a - bugfix for displaying units with light sources in view of the camera 2011-04-19 18:30:44 +00:00
Mark Vejvoda
5174e33b92 - attempt a better video recovery when selected mode and colour bits fail 2011-04-19 04:03:52 +00:00
Mark Vejvoda
497c513576 - updated version# to 3.5.0 release (may have last minute changes while testing installers etc. 2011-04-19 03:50:49 +00:00
Mark Vejvoda
c0ad16d3d5 - disable screenshot console text in options menu 2011-04-19 03:26:42 +00:00
Mark Vejvoda
f0fededd56 - trim crc message in connected client menu to 110 chars max per line 2011-04-19 00:02:23 +00:00
Mark Vejvoda
8c5a758f8d - attempt to force crc refresh for server user if there is an invalid crc value in the cache somehow 2011-04-18 23:48:37 +00:00
Mark Vejvoda
c8a6404ecf - screen resolutions sorted now in options menu 2011-04-18 23:31:33 +00:00
Mark Vejvoda
3866cf286f - update for video fallback if current resolution fails 2011-04-18 22:46:28 +00:00
Mark Vejvoda
8325463c71 - ALT-F4 auto quits the game in win32 2011-04-18 22:09:55 +00:00
Mark Vejvoda
c2eca9bb05 - added better way to show some common resolutions in the options menu
- if video mode selected fails, first we now try to revert to 800x600 then 640x480
2011-04-18 22:05:41 +00:00
Mark Vejvoda
c366d108e8 - see if this fixes some peoples screenshot problems 2011-04-18 20:20:16 +00:00
Mark Vejvoda
c4d32ae0d2 - bugfix for users toggling back from Linux tty session 2011-04-18 19:48:05 +00:00
Mark Vejvoda
016771ed81 - adjust camera angle for more properly unit visibility calc
- more accurate unit titles when debugging
2011-04-18 16:51:30 +00:00
Mark Vejvoda
1b68053397 - attempt disabling threaded faction pathfinder precache 2011-04-18 06:51:10 +00:00
Mark Vejvoda
4bce94fbbb - make messageboxes less alpha background so they are darker and easier to read (try it ultifd)
- made lag timeout max set to 35 instead of 65 since 35 is bad enough
- added another error check
2011-04-18 06:42:25 +00:00
Mark Vejvoda
0a0ee9113c - found a rare case where cancelling an upgrade with multiple upgrades happening and a unit dies causes a crash 2011-04-18 05:34:31 +00:00
Mark Vejvoda
762a612e33 - better error message on error 2011-04-18 04:28:25 +00:00
Mark Vejvoda
3617603fde - try to lower max pathfinder nodes to see if it makes smoother game play 2011-04-18 04:07:39 +00:00
Mark Vejvoda
4b570b88db - try to end crc faction messages with period. 2011-04-18 03:00:15 +00:00
Mark Vejvoda
31d572af12 - split apart crc mismatch faction names if string too long 2011-04-18 02:31:36 +00:00
Mark Vejvoda
05847617e6 - bugfix to get proper factions for faction listing in menus (ignore files and look only at folders)
- split apart crc mismatch faction names if string too long
2011-04-18 02:22:26 +00:00
Mark Vejvoda
8dbef7d7ea - fixed configurator to properly read / write mg ini files 2011-04-17 07:04:38 +00:00
Mark Vejvoda
734db6c7d4 - bugfix, units can now heal self if they are capable of healing own unit type 2011-04-17 06:25:08 +00:00
Mark Vejvoda
e5fa7d45c3 - bugfix to show the right harvested resource when switching to another resource (based on silnarm's pointer in the forums) 2011-04-17 05:29:25 +00:00
Mark Vejvoda
26b1785b7a - mod description now word wraps on \n 2011-04-16 18:53:57 +00:00
Mark Vejvoda
29bb7800f6 - attempt to solve techtree and faction crc issues 2011-04-15 02:53:05 +00:00
Mark Vejvoda
8fa76043ca - debug code to be removed after testing with ultifd 2011-04-15 02:44:49 +00:00
Mark Vejvoda
ec27fbe174 - debug code to be removed after testing with ultifd 2011-04-15 02:39:17 +00:00
Mark Vejvoda
dbc56c7ba2 - another techtree crc fix 2011-04-15 02:06:50 +00:00
Mark Vejvoda
37a7ad86a3 - updated to force faction CRC refresh when techtree crc mismatched 2011-04-15 01:54:09 +00:00
Mark Vejvoda
b196a5ba37 - bugfix for faction CRC check 2011-04-15 01:39:31 +00:00
Mark Vejvoda
cfd0e12dd7 -fix cmake script for mingw, just for completeness. 2011-04-15 01:15:46 +00:00
Mark Vejvoda
6e8157b9de - added console object to base menustate and added a way to disable console output when taking a screenshot (on be default). To Disable:
DisableScreenshotConsoleText=true
2011-04-15 01:05:36 +00:00
Mark Vejvoda
5d10312ead - send notification of cancel action 2011-04-15 00:13:13 +00:00
Mark Vejvoda
d14b13e285 - added a new cancel button for connected menu to cancel all current and queued file transfers 2011-04-15 00:09:38 +00:00
Mark Vejvoda
431ca8e6fb mod menu now only shows 3 lines max for console messages 2011-04-14 23:13:44 +00:00
Mark Vejvoda
b897611a6b - bugfix for mixed up username when changing map and human player's slot is changed. 2011-04-14 16:04:42 +00:00
Mark Vejvoda
ea90bd0715 - added verticle synch option, to enable use:
EnableVSynch=true
2011-04-14 05:02:32 +00:00
Mark Vejvoda
a04557ee7f - set pathfinder values back to be compatible with beta2 2011-04-14 03:27:34 +00:00
Mark Vejvoda
06fb3decda - added some code for possible future use to improve pathfinder (not for this release) so disabled right now 2011-04-14 02:51:13 +00:00
Mark Vejvoda
88a81a6993 - removed useless items in debug view
- removed some noise from verbose output
2011-04-13 18:45:27 +00:00
Mark Vejvoda
eac3ccde5a - added tags so main menu textures can be moved armound 2011-04-13 07:29:45 +00:00
Mark Vejvoda
540d91ed92 - bugfix for recent socket change on windows 2011-04-13 05:07:47 +00:00
Mark Vejvoda
1858240879 - inspired by brazil boy. added a temp block feature for server player to temp block players from the current game in the lobby 2011-04-13 04:04:08 +00:00
Mark Vejvoda
7bf40db4ce - updated crc check for techtrees to also store date last updated and force an immediate refresh if the techtree has different CRC with server and was older than 1 day 2011-04-13 01:51:15 +00:00
Mark Vejvoda
7a501a4e26 - added code to track mutex source for sockets 2011-04-13 01:20:40 +00:00
Mark Vejvoda
05a61ec619 - client connected menu now uses same rendering as custom game menu for map preview (resulting in better fps there) 2011-04-13 01:11:23 +00:00
Titus Tscharntke
8c39a1b725 now you are "forced" to say "ready" when you are connected :-D 2011-04-12 22:20:41 +00:00
Mark Vejvoda
38b9a4e371 - added a keyboard test display area in keyboard setup (shows the key it thinks you pressed) 2011-04-12 16:47:14 +00:00
Titus Tscharntke
4df5e0266c camera movement fixed 2011-04-11 23:26:50 +00:00
Mark Vejvoda
5a6418ac60 - removed some debug statements to see if it will improve debug logging performance 2011-04-11 00:11:52 +00:00
Mark Vejvoda
1ffc7d99d4 - calculate megapack techtree CRC first if it exists in the users techtrees 2011-04-10 23:50:47 +00:00
Titus Tscharntke
daf8f42f7e real camera movement! 2011-04-10 21:38:29 +00:00
Mark Vejvoda
3e3b774dd5 - removed hard coded reference to 7z, uses all ini file options 2011-04-10 20:25:36 +00:00
Titus Tscharntke
842f1dac69 menu structure changed 2011-04-10 20:03:38 +00:00
Mark Vejvoda
0a2ffde50f - fixed mod menu crash bug after doing a remove 2011-04-10 01:42:14 +00:00
Titus Tscharntke
36ebfcf95e end game stats with better PlayingTime, tomreyns endgame color problem (maybe) fixed ,updated german lang file 2011-04-09 23:25:18 +00:00
Mark Vejvoda
a06dcadd08 - added other mod types for crc check of changed server data (server items require a proper value in the crc field) 2011-04-09 22:46:32 +00:00
Mark Vejvoda
42a6737960 - proper detection that user does not have 7z installed in their path 2011-04-09 22:20:10 +00:00
Mark Vejvoda
51ae014124 - added feature to use mod CRC values if they are entered on the server, clients will fetch their own CRC value and if different allow users to replace current mod with server version, currently ONLY techtree is implemented for testing (munchy techtree is setup) 2011-04-09 21:46:13 +00:00
Mark Vejvoda
9b1893054f - renamed Linux binaries launch scripts start with start_megaglest_x and binaries start with megaglest_ 2011-04-09 19:13:10 +00:00
Mark Vejvoda
9b91bf5c68 - modified lua method addConsoleText to look in scenario language file for text
- added new commandline options to display CRC values for various items (like maps, tilesets etc)
2011-04-09 06:20:43 +00:00
Mark Vejvoda
c71480739b - added a new check to faction validator to report on sound files with a bitrate > 200K 2011-04-09 03:14:05 +00:00
Mark Vejvoda
5d96e8f3ab - attempt to work around non power of two texture errors (tomreyn please try this rev and report back) 2011-04-09 01:42:20 +00:00
Mark Vejvoda
2bab37fdc0 - bugfix so that openal 1.13 works properly with megaglest
- added some code so we can show error messages when no menu item is active
2011-04-09 01:22:39 +00:00
Titus Tscharntke
6b63089612 pressed keys don't keep camera moving continously anymore ( has this side effects? ) 2011-04-08 22:49:10 +00:00
Titus Tscharntke
5aa6092f1f produce commands are not ALWAYS queued! Behaviour should be like in original glest! 2011-04-08 20:25:03 +00:00
Mark Vejvoda
b99d37c02c - bugfix for texture loading in mod menu 2011-04-08 02:09:50 +00:00
Mark Vejvoda
93a92e9dee - removed hard coded enabled system and network debug (someone must have left this code in there)
- added verbose output in mod menu for content metadata output
- bugfix for masterserver php files not using proper variuable for imageurl output
2011-04-08 01:58:34 +00:00
Mark Vejvoda
b4e5327c24 - fix for supporting custom credits in about screen 2011-04-07 23:56:39 +00:00
Mark Vejvoda
788d81ba7e - added code to download and display image preview for mod selections if they exist 2011-04-07 23:51:22 +00:00
Mark Vejvoda
4a160355c7 - updated masterserver files to send image preview URL's to client for mod menu 2011-04-07 23:37:56 +00:00
Titus Tscharntke
03d706db11 additional data/core/menu/credits.txt file can be given for about screen 2011-04-07 23:30:27 +00:00
Titus Tscharntke
5613be6128 more work for mod infos 2011-04-07 21:44:21 +00:00
Titus Tscharntke
556b190d3a mod menu can display descriptions now, endgame stat with gold instead of green, minimap has smaller border and is a tiny bit less transparent 2011-04-07 00:09:57 +00:00
Mark Vejvoda
cd3451b1f4 - make colour coding in battle end optional via ini (for tomreyn)
DisableBattleEndColorCoding=true
2011-04-06 19:12:41 +00:00
Mark Vejvoda
896cf7231d - added new commandline option for inital code to validate a scenario. 2011-04-06 18:58:48 +00:00
Mark Vejvoda
a6ccf539e6 - added more techtree validations to indicate things that may make a problem for the AI and invalid xml configurations (like harvest skill but no move skill) 2011-04-06 18:03:22 +00:00
Mark Vejvoda
d8c337ae7b - bugfix for resource usage checking
- added new techtree validation in validation report to tell if a techtress has resources that are ununsed by the techtree
2011-04-06 17:50:20 +00:00
Mark Vejvoda
99f7038a86 - added logic for AI players to ignore resources that they cannot harvest and are not unit requirements. 2011-04-06 15:44:33 +00:00
Titus Tscharntke
b7fb8fe335 missing resources to morph are reported to console now 2011-04-05 21:46:02 +00:00
Mark Vejvoda
56bac6cd80 - removed duplicate code that did nothing 2011-04-05 21:30:25 +00:00
Mark Vejvoda
5ce6c17f7d - try to see if this fixes an opengl bug, by retrying texture loading using older opengl API if newer fails 2011-04-05 21:16:53 +00:00
Mark Vejvoda
c196e1ccfc - try to see if this fixes an opengl bug, by retrying texture loading using older opengl API if newer fails 2011-04-05 21:10:20 +00:00
Mark Vejvoda
9cb1cd7bc8 - bugfixes related to multi-language text messaging 2011-04-05 20:19:25 +00:00
Mark Vejvoda
4a27e75891 - initial work to support multi-language text messages 2011-04-05 18:39:47 +00:00
Mark Vejvoda
4fb33d34ce - moved a few more strings into the language file 2011-04-05 14:59:48 +00:00
Mark Vejvoda
5b119d1378 - added the word 'victory' to show in green also when player is on victories team 2011-04-05 14:33:31 +00:00
Mark Vejvoda
0f52b630d7 - on battle end stats screen we show each item in green that the player had a best score. (ties are allowed) 2011-04-05 14:28:40 +00:00
Mark Vejvoda
f694c745f7 - winner has a small crown under their name now :) 2011-04-05 13:34:54 +00:00
Mark Vejvoda
5add2da254 - mingw compile fixes, now it seems to properly compile and runs under wine again :) 2011-04-05 12:57:52 +00:00
Mark Vejvoda
22328e0666 - mingw based compiling seems to work again with this fix 2011-04-05 07:32:36 +00:00
Mark Vejvoda
eaf10434b0 - bugfixes for compiling on older wxwidgets 2011-04-05 07:10:12 +00:00
Mark Vejvoda
1f433d6339 - bugfixes for compiling on older wxwidgets and also for mingw 2011-04-05 07:08:29 +00:00
Mark Vejvoda
0fce64897e - added a few more things to end game stats as requested by ultifd
(now we can tell the difference between killed units and killed enemy units and final score is based on killed enemy units not all killed units)
2011-04-05 06:32:23 +00:00
Mark Vejvoda
ebbdf2d2c2 - by default route planner is disabled for release, need to add the following to the ini to get it to show up:
EnableRoutePlannerPathfinder=true
2011-04-05 05:49:04 +00:00
Mark Vejvoda
0ad84a6920 - stupid stupid stupid Microsoft, I CANNOT BELEIVE IT THIS TIME!!! They broke their STL implementation in VC++ 2010! This fixes a problem using the inserter class.
see: http://code.google.com/p/angel-engine/issues/detail?id=34
2011-04-05 05:43:30 +00:00
Mark Vejvoda
bdb4db9756 - fixed loss of username sometimes when changing slots in network game lobby 2011-04-05 05:32:35 +00:00
Mark Vejvoda
53642bc7c7 - updated vc++ 2008 project files to handle default path for map editor and g3d viewer 2011-04-05 05:23:28 +00:00
Mark Vejvoda
f684e7f356 - updated g3dviewer and map editor to default to the userdata folder areas 2011-04-05 04:49:48 +00:00
Titus Tscharntke
5cd4824c94 default techtree and map ( if available ) , jpg default for screenshots 2011-04-04 23:11:59 +00:00
Mark Vejvoda
064addf888 - update ver# because current svn code not compatible with beta1 2011-04-04 18:32:16 +00:00
Mark Vejvoda
5fd59eb00f - added more debug info and error output to detect failures to write file data during file xfers 2011-04-04 17:56:47 +00:00
Mark Vejvoda
f91c4a8707 - added a new disabled field for mod data (and now disabled munchy until it is fixed) 2011-04-04 17:37:53 +00:00
Mark Vejvoda
e9ef00a213 - added more error checking in mod menu when retrieving masterserver data 2011-04-04 17:03:07 +00:00
Mark Vejvoda
6a35db6031 - do not render player status for closed slots 2011-04-04 05:06:22 +00:00
Mark Vejvoda
a48406a592 - attempt to fix bailout pathfinding logic to have better performance 2011-04-04 04:32:01 +00:00
Mark Vejvoda
d610c0fbd2 - added individual factions to crc pre-processing for better performance 2011-04-03 07:23:15 +00:00
Mark Vejvoda
d4d250f2b6 - more efficient handling of faction CRC calc in menus 2011-04-03 07:09:54 +00:00
Mark Vejvoda
678fca2aad - disable faction threads when user selects route planner pathfinder (fixes current crash) 2011-04-03 06:18:21 +00:00
Mark Vejvoda
7b14d860c9 - attempt to log more info related to CRC processing
- better thread mutex tracking
2011-04-03 06:09:43 +00:00
Mark Vejvoda
755378b0b1 - we now rename duplicate tilesets and techtrees also at program startup (with a warning message) 2011-04-03 04:15:25 +00:00
Mark Vejvoda
a58d4bb360 - only save ini for join menu if server IP address is different from the value already stored. 2011-04-03 02:47:46 +00:00
Mark Vejvoda
cd952fcda0 - updated world synch debug calls to only log outside of faction pre-calculated pathfinding 2011-04-03 02:42:45 +00:00
Mark Vejvoda
6384c4c611 - bugfix for auto-loading scenarios, new timer for the scenario preview was being called when the menu was already destroyed sometimes. 2011-04-03 02:11:45 +00:00
Mark Vejvoda
cf706491e1 - added screenshot file format to options menu
- more cleanup from things discovered with valgrind.
- added an environment variable to use with openal so it is possible to specify which sound device to use if needed down the road
2011-04-02 21:17:17 +00:00
Mark Vejvoda
54469e9090 - updated version # to 3.5.0.-beta1 2011-03-31 23:38:49 +00:00
Mark Vejvoda
acbb11b327 - bugfix for tileset crc calc (was cached and did not always update the cached value) 2011-03-31 23:26:32 +00:00
Mark Vejvoda
623dfe7aa5 - updated pathfinder max to 400 2011-03-31 19:08:52 +00:00
Mark Vejvoda
e3584c26ef - cancel button only shows is manually enabled in ini
- bugfix for playernames in network status loading screen
2011-03-31 18:30:53 +00:00
Mark Vejvoda
085cb7d543 - added a cancel button when loading a game for the server user only
- updated client side loading screen to show who the server is waiting for
- moved some more strings into the english language file
2011-03-31 18:13:02 +00:00
Mark Vejvoda
e56b6079c6 - added new menu option to be able to toggle texture compression
- scenario menu now does NOT cache textures
2011-03-31 01:34:01 +00:00
Titus Tscharntke
2a48f8e290 delayed loading of previews 2011-03-31 00:33:40 +00:00
Mark Vejvoda
a3029e6e25 - updated lua attribute to additionally accept:
<fog-of-war value="explored"/>
2011-03-30 23:48:27 +00:00
Titus Tscharntke
b4a352285f minimap transparent again but with border 2011-03-30 23:27:21 +00:00
Titus Tscharntke
12a33e8461 minimap with border and non transparent 2011-03-30 22:39:52 +00:00
Mark Vejvoda
438bedd4fa - now show scenario logo files when user selects a scenario with a loading screen 2011-03-30 22:14:51 +00:00
Mark Vejvoda
4344a958d6 - changed game unload so it doesn't try to render on exit 2011-03-30 21:15:20 +00:00
Mark Vejvoda
55f2bdc2d5 - when loading textures, if compressed texture call fails, try to revert to uncompressed before throwing an error 2011-03-30 19:23:27 +00:00
Titus Tscharntke
2f250846b1 forgot to comment debug ... 2011-03-29 23:19:19 +00:00
Titus Tscharntke
4719686440 enemy targeting changed a bit again 2011-03-29 22:12:55 +00:00
Titus Tscharntke
c99fb68f5b selecting mining positions (and by this mining itself ) should be much better now 2011-03-29 21:44:36 +00:00
Mark Vejvoda
d0b71d0eb2 - added a new commandline parameter to disable sound without having to edit the ini file 2011-03-29 19:30:17 +00:00
Mark Vejvoda
2c2b629cf9 - revert to old harvest selection 2011-03-29 19:01:15 +00:00
Mark Vejvoda
0e9cf65e70 - more code cleanup (removal of dead code that is no longer used)
- fix the icon for wartime mechanic's heal command
2011-03-29 16:27:01 +00:00
Mark Vejvoda
c58f338d1b - clear pathfinder precache for units when they die to free memory sooner 2011-03-29 10:01:01 +00:00
Mark Vejvoda
8059c064a3 - more cleanup of debug logging in menus 2011-03-29 09:45:15 +00:00
Mark Vejvoda
78b49f0a2e - bugfix for CRC cache that was not updated 2011-03-29 09:19:05 +00:00
Mark Vejvoda
82b6b02a89 - bugfixes for wrong item names sometimes for ftp file transfers 2011-03-29 08:45:56 +00:00
Mark Vejvoda
614d0c25db - attempt to improve harvesting a bit 2011-03-29 04:57:36 +00:00
Mark Vejvoda
b6e9a7aca5 - attempt to correct units that harvest a resource far away when they could take a better approach and harvest the resource closer. (needs testing) 2011-03-29 01:45:10 +00:00
Mark Vejvoda
1fc330ace3 - bugfix (And removal) for stop command and animation stopping when upgrading 2011-03-28 23:47:22 +00:00
Titus Tscharntke
7560970590 snake basket has (more) splash ; menu_state_mods a bit modified (more work needed) 2011-03-28 23:38:06 +00:00
Mark Vejvoda
56bc84923a - disabled the stopcommand throttling for now to see if performance is still ok 2011-03-28 21:10:49 +00:00
Mark Vejvoda
3ed636aae2 - fixes for some threading shutdown bugs
- We now display when a screenshot is taken in game showing an ingame console message
- Updated AI to attack closest attackers
- Updated found enemy to be closest attacker
2011-03-28 21:04:47 +00:00
Mark Vejvoda
8be4bafdcf - bugfix for segfault with new debug method needs to properly init debug system in a new area 2011-03-28 04:30:52 +00:00
Mark Vejvoda
3b56aa4475 - performance changes... (problem found by titi) most debug calls line are skipped when the debug flag is disabled even BEFORE getting into the handledebug method.
This improves performance VERY MUCH.
2011-03-28 03:54:23 +00:00
Mark Vejvoda
453e5a12e6 - crc thread program exit cleanup, client download now using language string in connected menu 2011-03-27 16:39:19 +00:00
Mark Vejvoda
965ac7e00b - commented out unused curl method so now it should be able to compile on older libcurl 2011-03-27 16:18:16 +00:00
Mark Vejvoda
472fc2989a - changed win32 to substitute $APPDATA for the current users app data folder instead of all users 2011-03-27 16:08:20 +00:00
Mark Vejvoda
0f915ae6a6 - better handling of sound system reset when clicking ok in options menu 2011-03-27 15:55:55 +00:00
Mark Vejvoda
5af6de5aec - win32 now looks/stores userdata in the default windows appdata folder: C:\Documents and Settings\All Users\Application Data\megaglest (all dev users should copy all contents of mydata into this new location).. NOT INCLUDING the mydata folder itself 2011-03-27 15:16:28 +00:00
Titus Tscharntke
df2df4bcfc some rearrangement in options, player names in chat with colors again 2011-03-26 21:38:26 +00:00
Mark Vejvoda
d9bc605974 - added scenarios to mod menu 2011-03-26 18:37:38 +00:00
Titus Tscharntke
5ccfc59819 Masterserver messages are highlighted in yellow now; console lines now can have individual colors (if not in game)! 2011-03-26 17:17:34 +00:00
Mark Vejvoda
8f2613e216 - fixed changing username in the lobby 2011-03-26 16:51:26 +00:00
Titus Tscharntke
5648080095 Ready/not Ready/brb in colors; labels can have colors now 2011-03-26 13:40:22 +00:00
Mark Vejvoda
846dd4769b - better CRC worker thread distribution 2011-03-26 05:16:39 +00:00
Mark Vejvoda
3c73464f5a - added a line to seperate mod lists from return button 2011-03-26 05:09:38 +00:00
Mark Vejvoda
6079e6de2b - better handling of mod menu threading when user has no internet connection 2011-03-26 05:03:38 +00:00
Mark Vejvoda
15e00694bf - attempt to tighten up socket connection logic that detects disconnect 2011-03-26 02:00:41 +00:00
Mark Vejvoda
a3c290240c - removed sleep when waitinf for exit of crc thread 2011-03-26 00:38:26 +00:00
Mark Vejvoda
ff02c552ea - fixed incirrect language string 2011-03-25 23:52:36 +00:00
Mark Vejvoda
07391af2f6 - moved all mod menu strings into english language file 2011-03-25 23:33:04 +00:00
Mark Vejvoda
884b46da60 - more thread cleanup 2011-03-25 22:50:30 +00:00
Mark Vejvoda
53f57dad13 - moved http meta-data work into a background thread for mod menu 2011-03-25 22:40:14 +00:00
Mark Vejvoda
7e35d4a050 - more efficient CRC updating in cache thread 2011-03-25 21:02:53 +00:00
Mark Vejvoda
68f1ec06b5 - fix for harvesting workers to reset to original harvest location each time they deliver resources 2011-03-25 20:51:14 +00:00
Mark Vejvoda
0f6f5cfe21 - rolled back last change as it makes things worse 2011-03-25 20:17:14 +00:00
Mark Vejvoda
742cbaa1c7 - attempt to ignore resource cache for human players to see if this fixes harvesting location problems for human players 2011-03-25 20:07:27 +00:00
Mark Vejvoda
fcb1681de9 - now all libcurl calls support http redirection 2011-03-25 19:19:59 +00:00
Mark Vejvoda
1a783b3bba - updates to mod menu for better user experience 2011-03-25 18:42:08 +00:00
Mark Vejvoda
9096449919 - fixed vc++ project files for mods download menu 2011-03-25 11:15:21 +00:00
Mark Vejvoda
51eca5610e - updated to point mod data lists to masterserver 2011-03-25 10:18:12 +00:00
Mark Vejvoda
9681e7f1bc - initial code for managing mod content (downloads and removal of user data) 2011-03-25 10:11:16 +00:00
Mark Vejvoda
90c12da33e - see if this removes the command delay when issuing commands on idle units 2011-03-25 01:50:35 +00:00
Mark Vejvoda
860777aaec - try to see if this stil lfixes performance without so much delay. 2011-03-25 01:08:34 +00:00
Mark Vejvoda
47a81f8b44 - performance improvements for units using the stop command when units are idle 2011-03-24 21:55:39 +00:00
Mark Vejvoda
ab7dc1d007 - more code cleanup from things found in valgrind 2011-03-23 05:49:38 +00:00
Mark Vejvoda
ffe957c9a6 - added a way to disable water sounds: DisableWaterSounds=true 2011-03-23 04:41:38 +00:00
Mark Vejvoda
6f523bb96a - small bit of code cleanup in unit_updater
- added alarmcount to debug view
2011-03-23 02:45:42 +00:00
Mark Vejvoda
41fc6f661e - rollback last change for testing 2011-03-23 01:17:38 +00:00
Mark Vejvoda
8a9505e1e8 - added conditional check to only issue a stop command to units if they are not already stopped
- memory cleanup on unit errors
- mutex for checksum class
2011-03-23 00:49:21 +00:00
Mark Vejvoda
2a93d22183 - commented out unused class instance as it caused trouble 2011-03-22 19:28:47 +00:00
Mark Vejvoda
6c9ba8bea4 - added more error details when some errors are generated 2011-03-22 17:55:11 +00:00
Mark Vejvoda
14bd71c250 - game ready status bugfix 2011-03-22 06:43:33 +00:00
Mark Vejvoda
f7fdafbff4 - did some code refactoring, wanted to load some textures threaded but bailed out due to opengl's hideous problems related to multi-threads 2011-03-22 02:02:54 +00:00
Mark Vejvoda
e3fd34c18c - attempt to make more randomized cell direction when harvesting using locations in the resource cache 2011-03-21 01:03:14 +00:00
Mark Vejvoda
18f2f531e3 - added map, tileset and techtree to debug view and also AI type 2011-03-20 23:41:46 +00:00
Mark Vejvoda
ab9f88e4c7 - bugfix for map CRC checking after downloading a map 2011-03-20 06:23:19 +00:00
Mark Vejvoda
829c499568 - bugfixes and cleanup for g3d editor and map editor so they now compile and run using newer wxwidgets (should also be backwards compatible with 2.8 2011-03-20 06:05:09 +00:00
Mark Vejvoda
c75181f350 - a few changes so things can also build when using newer wxwidgets libs as well as newer xerces 2011-03-20 00:59:17 +00:00
Mark Vejvoda
0379b7284d - removed requirement to have a newer libcurl, now most platform, should be able to build mg more easily (only require 7.16.4 or newer instead of 7.21.0) 2011-03-20 00:11:00 +00:00