Commit Graph

1742 Commits

Author SHA1 Message Date
Mark Vejvoda
b8bd927b7b - finally fixed the unit sorting hang bug, try it tomryen 2011-07-06 06:38:56 +00:00
Mark Vejvoda
15488ddb31 - bugfixes related to attack-boost memory leaks 2011-07-06 05:16:25 +00:00
Mark Vejvoda
1fd179196c - attempt to fix hang issue reported by tomreyn 2011-07-05 18:26:09 +00:00
Mark Vejvoda
1f8d1b68eb - attempt to fix crash issue reported by tomreyn 2011-07-05 15:43:39 +00:00
Mark Vejvoda
8c99c7e91f - fixed debug key 2011-07-05 05:40:14 +00:00
Mark Vejvoda
2c80543889 - attempt to group command execution so units given the same command at the same time will work more smartly (closer units go first and so on) 2011-07-05 04:37:35 +00:00
Mark Vejvoda
852b4aa2d2 - bugfix for some hotkeys not working properly 2011-07-04 18:05:02 +00:00
Mark Vejvoda
a8b25cf111 - bugfix for start / stop smoke particles 2011-07-04 15:55:13 +00:00
Mark Vejvoda
14c70966b0 - bugfix for hpanim on bebuilt, to interplotate out the last reset frames 2011-07-02 21:44:29 +00:00
Titus Tscharntke
b8766a9388 somthing was missing in the header .... 2011-07-02 19:02:25 +00:00
Mark Vejvoda
cb98df354d - pre-calc font height for ftgl and optionally allow for language specific characters to be used 2011-07-02 18:33:59 +00:00
Titus Tscharntke
a1ab98d4b9 new param <anim-hp-bound value="true"/> for BeBuilt skill to have the animation progress bound to the HP. / fixed a nullpointer exception related to particles 2011-07-02 16:07:04 +00:00
Mark Vejvoda
f9ad27f655 - bugfix for stopping damage particles properly 2011-07-02 03:59:46 +00:00
Mark Vejvoda
8b23634332 - fixed a bug found during test related to min / map particle logic 2011-07-02 02:52:30 +00:00
Mark Vejvoda
50347b0a66 - cleanup of font work:
- removed uneeded code
  - set default scale font value to 0.8 to fit nicely on screen
  - added two new optional settings for ini or lng files to control scale and y centering:
  FONT_SCALE_SIZE=0.8
  FONT_SCALE_CENTERH_FACTOR=3.0
2011-07-02 01:56:06 +00:00
Mark Vejvoda
32950a168c - more bugfixes for attack-boost 2011-07-02 00:20:28 +00:00
Mark Vejvoda
7c996e3296 - added percentage support for min / map hp on damage particles
- bugfixes for png support for pixmap3d (water textures)
2011-07-01 23:13:55 +00:00
Mark Vejvoda
850825695e - added support for min / max hp associated with damage particles 2011-07-01 21:47:54 +00:00
Mark Vejvoda
d2c8cc0187 - bugfix for unit titles in special debug mode
- added support for png format for pixmap3d (Water) textures
2011-07-01 07:46:18 +00:00
Mark Vejvoda
ec15c81d12 - added a FPS cap (at 800 fps we will sleep for 1 millisecond) to avoid pinning the cpu for hardware that has fps which is too good. Also user can toggle fps view on any screen now 2011-07-01 02:50:20 +00:00
Mark Vejvoda
68e3ad8036 - better randomizing for model animation selection 2011-07-01 01:25:10 +00:00
Mark Vejvoda
1b72bcafe8 - i think this fixes the y centering for all resolutions, after testing we can remove lots of unused properties and code 2011-07-01 01:18:47 +00:00
Titus Tscharntke
97e19785a9 fonts really fixed now? 2011-07-01 00:03:30 +00:00
Mark Vejvoda
f5af03f8d7 - bugfix for using wrong xml names for min and max hp values for models (now look for names mentioned in forum) 2011-06-30 18:59:58 +00:00
Mark Vejvoda
82ccc21d5e - fixed a bug discovered by Elimnator when units are repairing another unit and the other unit morphs need to check of the repairers can still repair the newly morphed unit and if not stop repair 2011-06-30 04:45:17 +00:00
Titus Tscharntke
baea45cae8 no fun with fonts 2011-06-29 23:48:48 +00:00
Mark Vejvoda
4e4825d752 - slight change in loading factiontype (load by folder names not *. to avoid errors when garbage files exist) 2011-06-29 06:42:49 +00:00
Mark Vejvoda
8bbf398e70 - attempt to bugfix weird map preview for ColdfusionStorm 2011-06-28 23:49:45 +00:00
Mark Vejvoda
8d300f06a4 - fix for about screen, placement of some items 2011-06-28 15:56:22 +00:00
Mark Vejvoda
8c2d76b589 - fix for about screen (avoid using Vera font seems buggy) 2011-06-28 15:39:19 +00:00
Mark Vejvoda
0e897ee94f - bugfix for y centering of font for different fonts / languages 2011-06-28 08:15:05 +00:00
Mark Vejvoda
a9dfd3853b - corrections for y co-ord placement of font 2011-06-28 07:52:05 +00:00
Mark Vejvoda
ebd5bca7fe - attempt to fix 'blurry fonts' 2011-06-28 06:18:24 +00:00
Mark Vejvoda
f5b15bd402 - bugfix for filtering out non printable keys 2011-06-28 01:25:14 +00:00
Mark Vejvoda
945c2aa66b - some font bugfixes (use proper fonts in menus and also proper spacing in console) 2011-06-28 00:51:13 +00:00
Titus Tscharntke
6fdc8db138 switching off random pathfinding intervals becasue it causes unit "warping" while walking ( more see forum ) 2011-06-26 23:51:37 +00:00
Titus Tscharntke
6546b30232 try to fix KroArtems crash 2011-06-26 10:12:23 +00:00
Mark Vejvoda
4d6f39d257 - added support for multipliers in attack-boost 2011-06-26 07:06:32 +00:00
Mark Vejvoda
26bf93eeed - bugfix again for negative upgrade sums 2011-06-26 03:59:28 +00:00
Mark Vejvoda
a3cd886b9d - bugfix again for negative upgrade sums 2011-06-26 03:50:42 +00:00
Mark Vejvoda
46ff36c80b - missed one conversion in keyboard test menu 2011-06-26 03:41:20 +00:00
Mark Vejvoda
aa677cfc97 - attempt to NOT convert to utf8 twice 2011-06-26 03:38:28 +00:00
Mark Vejvoda
fd8ed536bb - bugfix for upgrades (don't allow negative sums for each attribute) 2011-06-26 02:58:34 +00:00
Mark Vejvoda
5e67b505a7 - try to convert to utf8 before rendering text 2011-06-26 02:50:13 +00:00
Mark Vejvoda
c4a05c8036 - try this tomreyn 2011-06-26 02:35:09 +00:00
Mark Vejvoda
d791eb4e94 - try this tomreyn 2011-06-26 02:30:04 +00:00
Mark Vejvoda
675750eda7 - some more unicode input cleanup 2011-06-26 02:21:45 +00:00
Mark Vejvoda
4b6bc7a4a7 - loads of changes in order to prepare for better input (not using char but SDLKey instead) 2011-06-26 01:55:08 +00:00
Mark Vejvoda
4013af9447 - for multiple animations added a new xml node to tell the engine to pick a random animation ONLY x number of times (so death animation is random but not changing when completed animating):
<animation-random-cycle-maxcount value="1" />
2011-06-25 21:40:27 +00:00
Mark Vejvoda
1700cbba2d - working implementation of particles for new attack-boost xml tag 2011-06-25 20:44:46 +00:00
Titus Tscharntke
105e639bd8 Mega also scouts to random ressource places .Only first tech type ressource is used to navigate now (which is typically gold) more improvement needed regarding this aspect ;pathfinder back to 900 2011-06-25 18:14:20 +00:00
Mark Vejvoda
14b6f195e6 - for multiple animations, now can specify a 'preferred' animation based on the units hp using:
<animation path="models/archer_standing.g3d" fromHp="0" toHp="10" />
2011-06-25 15:30:18 +00:00
Mark Vejvoda
86743e2718 - more bugfixes for attack-boost check (and now in debug mode if unit selected show his attack-boost radius as well as the units affected) 2011-06-25 14:18:53 +00:00
Mark Vejvoda
b0f8675a65 - small bugfix for attack-boost check 2011-06-25 09:01:31 +00:00
Mark Vejvoda
c252402e71 - initial implementation of attack-boost logic (this is in progress code which is only triggered by new xml entries). Will explain later once tested. 2011-06-25 08:53:53 +00:00
Mark Vejvoda
5dda269151 - bugfix for multiple models per skilltype (let existing model finish animating before allow next random model to be selected)
- started work on a new feature called 'attack-boost' that should prove VERY INTERESTING once fully implemented (shhh its a secret)
2011-06-25 07:31:01 +00:00
Mark Vejvoda
e0860309c0 - added support for multiple animation models for each skill and display a them randomly during game play 2011-06-25 05:23:41 +00:00
Mark Vejvoda
d0d31e4bfe - updated pathfinder to randomize better the pathfinder refresh rate in an attempt to have better performance when we have lots of units 2011-06-24 19:40:47 +00:00
Titus Tscharntke
7344250c5c well formatted change from 2367 again 2011-06-24 16:18:10 +00:00
Titus Tscharntke
1de2d5340d revert to 2366 2011-06-24 16:14:39 +00:00
Titus Tscharntke
cea0cdaa00 automated last messages to irc when leaving lobby ( enter game / trying to open a server / leaving lobby ) 2011-06-23 23:45:46 +00:00
Titus Tscharntke
149e5b15b0 Changes from 2367 without formatting mess 2011-06-23 23:30:49 +00:00
Titus Tscharntke
59136a3d95 revert code formatting mess to same as revision 2366. Change from 2367 will come without this mess with next checkin 2011-06-23 23:28:39 +00:00
Mark Vejvoda
1ea57853c5 - updated win32 project files with newly added files 2011-06-23 22:05:48 +00:00
Titus Tscharntke
3401673918 forgot to checkin 2011-06-23 21:14:00 +00:00
Titus Tscharntke
8b9d4a662a switch for non rotatable objets in tilesets; cleaned up the way the particles were bound to tileset objects 2011-06-22 20:26:39 +00:00
Titus Tscharntke
e58ddd35b4 fixes build bug reported in forum/ adds some better mega-cpu behaviour / fixed some bugs ( I hopefully did not added new ones :-D ) 2011-06-20 23:51:13 +00:00
Titus Tscharntke
f5418efa8a deeper pathfinding ( lets see how much it effects performance ) 2011-06-20 23:48:59 +00:00
Titus Tscharntke
d246a08a6d switch for rain/snow ; multipliers visible ; server can set his state too 2011-06-20 23:48:22 +00:00
Mark Vejvoda
545abe93d6 - bugfix for commandline for setting video settings (fullscreen was interpreted in the opposite manner) 2011-06-14 21:35:21 +00:00
Mark Vejvoda
7ad8510894 - don't render hud in 'photo' mode 2011-06-13 23:28:24 +00:00
Mark Vejvoda
f0c636d2ff - render battle end screen to texture buffer on first render so it takes less fps to render after the 1st frame 2011-06-12 05:54:54 +00:00
Mark Vejvoda
722261e212 - added new commandline option to override font file 2011-06-12 03:44:50 +00:00
Mark Vejvoda
752dd26bcd - some small font centering adjustments 2011-06-12 01:32:02 +00:00
Mark Vejvoda
1d5dcb4ded - better bullet proofing of reading lng files
- able to run in old font mode for comparison
2011-06-11 10:31:24 +00:00
Mark Vejvoda
f1aa231e4b - bugfixes for font display:
- workaround for a bug in freetype in some cases
  - better handling on different resolutions
  - new commandline option to override screen resolution settings
2011-06-11 08:52:49 +00:00
Mark Vejvoda
4aca4af404 - updated patch from willvarfar for animated models in particles 2011-06-11 00:26:26 +00:00
Mark Vejvoda
cd05b22c50 - ensure datapath has backslash 2011-06-10 21:18:22 +00:00
Mark Vejvoda
ba3071c15b - bugfix for group key camera movement (respect different group keys being pressed) 2011-06-10 16:59:19 +00:00
Mark Vejvoda
6bb805978c - better quality font rendering and performance still good. 2011-06-10 04:34:58 +00:00
Mark Vejvoda
06999a8f88 - reworked fonts to now use 3d matrix positioning and render performance is much better.
*NOTE: Still need to deal with some letters getting partially chopped off in some cases.
2011-06-10 03:09:19 +00:00
Titus Tscharntke
ca75809f2d switch in options to show HUD or not ( if available ) 2011-06-09 22:54:45 +00:00
Mark Vejvoda
36c25f709d - new recall group camera center timeout value can be overriden in glestuserini using:
RecallGroupCenterCameraTimeoutMilliseconds=1500
2011-06-09 22:41:49 +00:00
Mark Vejvoda
d668550942 - exclusive feature for Coldfusionstorm! Press the group key a second time within 1.5 seconds and the camera centers on the group 2011-06-09 22:37:37 +00:00
Mark Vejvoda
6b14c21446 - missed some things in last bugfix 2011-06-09 21:50:54 +00:00
Mark Vejvoda
c9518d727a - bugfix for attacking logic to always listen to what you tell it (commented out recently added logic)
- bugfix for building units and unit is too far away
2011-06-09 21:38:04 +00:00
Mark Vejvoda
fc3f5bbfa0 - added some logic to 'try' to figure out when to render font test right to left and when not to 2011-06-09 05:54:04 +00:00
Titus Tscharntke
bc2c59a82a just put a hud.png in a faction dir and you got a HUD overlay 2011-06-09 00:59:03 +00:00
Mark Vejvoda
f65bfe8710 - added some bug fixes to check if lng files are utf-8 or not and deal with it appropriately 2011-06-08 07:18:06 +00:00
Mark Vejvoda
226e8783c0 - added packaged game fonts
- updated code to search new default font folder
- added chinese language file from the fourm for testing
2011-06-07 02:37:58 +00:00
Mark Vejvoda
df178e5eb4 - fix broken win32 compile (but no freetype2 support yet) 2011-06-06 22:37:27 +00:00
Mark Vejvoda
c808a5661a - added freetype2 / FTGL support 2011-06-06 21:38:25 +00:00
Mark Vejvoda
48515d8084 - bugfix for make install from svn folder structure 2011-06-02 16:18:29 +00:00
Mark Vejvoda
9d44f5ad4f - attempt to fix make install for svn dev version 2011-06-02 15:10:28 +00:00
Mark Vejvoda
95755ad832 - update new version # 3.5.3 (possible bugfix release)
- updated some pathfinder settings to see if performance and reaction to attacking is better
2011-06-02 07:09:19 +00:00
Mark Vejvoda
38aa9c94fb - bugfix for units doing a build command where unit is > 1 size
- additional guards for null in miniupnpc calls
2011-06-02 05:05:54 +00:00
Mark Vejvoda
d06b01e4e4 - bugfix to harden the code that looks up line #'s from a stack trace 2011-05-28 18:55:06 +00:00
Mark Vejvoda
23a26994b5 - updates for better handling with debian 2011-05-26 14:36:43 +00:00
Mark Vejvoda
8afb22a603 - added a small addition so windows users can optionally use different font setting in lng files if required 2011-05-25 23:34:25 +00:00
Mark Vejvoda
cc958d266e - updates for possible chinese support (but i really doubt this shows the right text) but stil la good start 2011-05-25 21:11:12 +00:00
Mark Vejvoda
879aaa7fe8 - added russian language (thanks Strannik)
- updated fonts to better handle non ascii languages (russian and ukraine display much better with more native fonts)
2011-05-25 19:03:22 +00:00
Mark Vejvoda
49f3518b03 - updating version # in prep for 3.5.2 2011-05-25 14:57:56 +00:00
Mark Vejvoda
e221011af2 - bugfixes so that the mingw compile builds 2011-05-24 22:51:45 +00:00
Mark Vejvoda
1f1c0f34a3 - do not show error type message when checking existence of language values 2011-05-24 03:44:54 +00:00
Mark Vejvoda
adb7ec4a6a - bugfixes from windows unicode work to compile in Linux 2011-05-23 19:50:17 +00:00
Mark Vejvoda
1085f24c6f - more updates to handle unicode (most of the focus was getting tools working in windows using non ascii file paths) 2011-05-23 19:23:00 +00:00
Mark Vejvoda
737c577099 - don't close open messagebox on alt-enter 2011-05-20 20:02:26 +00:00
Mark Vejvoda
af3c25850a - added extra mutex guard when closing connection slots to try to fix parallel close connections from causing errors. 2011-05-20 19:44:33 +00:00
Mark Vejvoda
5d6ac3aa1d - commented out some debug output 2011-05-18 23:12:49 +00:00
Mark Vejvoda
8e5e54d943 - save main.cpp as utf-8 2011-05-18 22:04:45 +00:00
Mark Vejvoda
60b8093f5b - attempt to get non ascii file paths working in megaglest (Japanese etc...) 2011-05-18 21:49:11 +00:00
Mark Vejvoda
727c7b33d9 - fixed server side detection of dropped socket connection when socket is not reporting a disconnect (we periodically do lag checks) 2011-05-18 21:14:14 +00:00
Mark Vejvoda
93767d8ed8 - bugfix for trying socket connect when nic is down
- removed platform mismatch console printf
2011-05-17 00:21:51 +00:00
Mark Vejvoda
f3c11138db - added a max lag time ever limit of 45 seconds at which point clients are dropped (in case we don't detect a disconnect before this many seconds) 2011-05-16 06:32:06 +00:00
Mark Vejvoda
3f1a0be155 - bugfix for network disconnect detection in game for clients (thanks tomreyn we finally found the bug) 2011-05-16 00:38:43 +00:00
Mark Vejvoda
753ac061b8 - set client socket to be blocking after initial connection to host 2011-05-14 18:06:41 +00:00
Mark Vejvoda
8c59da57cd - bugfixes to install related files to fix:
- missing glest.ini during make install (this file is handled by the data install)
 - properly handles destdir for all installed files
 - customizable paths for all installation destinations (the following can now be set):
   		MEGAGLEST_BIN_INSTALL_PATH   -  "bin/"  -  "The installation path for binaries (this is appended to the CMAKE_INSTALL_PREFIX)")
		MEGAGLEST_DATA_INSTALL_PATH  - "share/megaglest/"  -  "The installation path for data files (this is appended to the CMAKE_INSTALL_PREFIX)")
		MEGAGLEST_DESKTOP_INSTALL_PATH  - "share/applications/"  - "The installation path for desktop files (this is appended to the CMAKE_INSTALL_PREFIX)")
		MEGAGLEST_ICON_INSTALL_PATH  -  "share/pixmaps/"   - "The installation path for icon files (this is appended to the CMAKE_INSTALL_PREFIX)")
		CUSTOM_DATA_INSTALL_PATH  -  "'\\\"${CMAKE_INSTALL_PREFIX}/${MEGAGLEST_DATA_INSTALL_PATH}\\\"'"   -  "The FULL installation path for data files (this is build automatically by combining CMAKE_INSTALL_PREFIX and MEGAGLEST_DATA_INSTALL_PATH)")
- Fixed startup scripts for tools (remove bin folder)
- Fixed source and data tarball scripts to include required files (missed the proper main ini files)
- Debian can now easily package up megaglest and build deb files
2011-05-14 17:31:40 +00:00
Mark Vejvoda
5454caf5fa - updating version to 3.5.1 release 2011-05-07 20:22:09 +00:00
Mark Vejvoda
449e3f25c8 - updates to commondata handling. From now on commondata tag specified the commondata folder under a techtree making it easier to share data and portable since you just need to copy the techtree and its contents, this means no sharing data between techtrees (which is good since we don't want such dependencies) 2011-05-06 22:12:16 +00:00
Mark Vejvoda
9c992ed353 - fixed observers to be able to see queued commands of all other players
- updated authors for tilesets that we replaced sounds for
- updated source code release archive building script with improvements from svenstaro
- added commondata folder to data and install scripts
2011-05-06 08:44:50 +00:00
Mark Vejvoda
e34e70a0c8 - added code to merge duplicate sounds used in a techtree 2011-05-06 07:47:31 +00:00
Mark Vejvoda
c258dc0822 - display which files contain the reference (the parents) to duplicate data in validation report 2011-05-05 20:18:38 +00:00
Mark Vejvoda
6492832c35 - added initial validation code to warn about duplicate data used in factions 2011-05-05 19:21:50 +00:00
Mark Vejvoda
c3d1d6fca0 - add support for models, sounds and images to be able to load from commondata 2011-05-05 07:15:12 +00:00
Mark Vejvoda
102363f151 - added initial folder(s) and code to handle loading common data to save duplicated files space 2011-05-05 06:17:34 +00:00
Mark Vejvoda
6db2b394bf - renamed megalgest.bin to megaglest and megaglest to start_megaglest 2011-05-05 03:31:18 +00:00
Mark Vejvoda
de40d84ebd - updates so cmake builds everywhere and any which way (well not quite) 2011-05-04 21:59:57 +00:00
Mark Vejvoda
dfe194fa10 - cmake now somewhat split out into binaries and data, likely needs a little tweaking and final touches, good night for now :) 2011-05-04 07:51:48 +00:00
Mark Vejvoda
42d4e45b84 - implemented some additional install files as requested by sven (more needs to come still) 2011-05-04 06:58:22 +00:00
Mark Vejvoda
1d10d93f64 - fixed win32 build in vc++ 2008 2011-05-04 05:09:27 +00:00
Mark Vejvoda
fab36598b1 - lots of updates including:
- cmake system changes (after doing a make you may go: sudo make install to install in standard linux paths)
- updates to various pathing in order to more robustly support lhs

*WARNING, Linux dev's should run cmake like the following to avoid pathing issues as the default now is lhs paths:
cmake -DCMAKE_INSTALL_PREFIX= ..    (notice the SPACE before the ..)
2011-05-03 23:34:25 +00:00
Mark Vejvoda
e4f0e8bfbf - step #1 towards a working make install via cmake 2011-05-03 18:25:35 +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
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
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
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
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
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
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
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
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
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
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
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
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
Titus Tscharntke
daf8f42f7e real camera movement! 2011-04-10 21:38:29 +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
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
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