Commit Graph

2143 Commits

Author SHA1 Message Date
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
7b95fac8cc - bugfix for fonts to remove newline character when calculating / rendering multi-line strings 2011-06-30 22:10:11 +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
Mark Vejvoda
34ef62c59f - fix win32 build (around definition of byte keyword) 2011-06-26 15:41:32 +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
5f32d56b85 - added some common characters to be preloaded when fonts are loaded for better speed 2011-06-25 22:26:56 +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
Titus Tscharntke
a282cfe4e6 model cycle needs to be initialized with 0 ( said willvarfar ) 2011-06-14 22:39:31 +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
Titus Tscharntke
86b926df1a fix for shots( magic summoner and so on ). Not shure if I broke something with the new animated shot models. Willvarfar please look at it . 2011-06-13 23:43:47 +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
90fcb0abe7 - added some more error checks in ftgl wrapper class 2011-06-10 22:17:15 +00:00
Mark Vejvoda
cd05b22c50 - ensure datapath has backslash 2011-06-10 21:18:22 +00:00
Mark Vejvoda
b583c45c5e - see if this helps titi's gcc with constructor init issues? 2011-06-10 21:13:31 +00:00
Mark Vejvoda
3efde1d31b - added will's patch for splash particle animation support 2011-06-10 19:44:34 +00:00
Mark Vejvoda
7c43628643 - included patch from willvarfar for animated attack particles (thanks will) 2011-06-10 17:33:09 +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
001ef20c1b - fixed compile error on win32 builds 2011-06-09 20:20:26 +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
ef0fbc5886 - fixed broken win32 compiling 2011-06-08 08:00:23 +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
bf9702cdca - bugfix for missing include on win32 2011-06-07 03:38:38 +00:00
Mark Vejvoda
875e0c2920 - bugfix for finding fonts in windows 2011-06-07 03:33:32 +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
77ad300b14 - fixed spelling mistake 2011-06-01 19:51:42 +00:00
Mark Vejvoda
1803c2ea94 - only show debug when verbose enabled 2011-06-01 19:07:28 +00:00
Mark Vejvoda
f2ccc5b0ca - bugfix for miniupnpc (when using non embedded version there was a null pointer) 2011-06-01 19:06:14 +00:00
Mark Vejvoda
9372369054 - fixed 3.5.2 build issue which incorrectly referenced a deprecated header file from curl 2011-07-09 01:28:59 +00:00
Mark Vejvoda
1dbdc29622 - do not throw error when connection drops on partial socket receive, just log the condition and close gracefully 2011-05-29 23:01:16 +00:00
Mark Vejvoda
d7c3d9e7ad - code hardening for threaded socket destruction handling 2011-05-28 19:22:03 +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
4c7a2729d5 - bugfix for windows users 7z extraction 2011-05-27 16:39:01 +00:00
Mark Vejvoda
37f42cedee - bugfix for windows users 7z extraction 2011-05-27 16:02:07 +00:00
Mark Vejvoda
1cf6d523fd - updated cmake system to support using NON EMBEDDED versions of libircclient and miniupnpc for proper build in Debian 2011-05-27 06:37:43 +00:00
Mark Vejvoda
23a26994b5 - updates for better handling with debian 2011-05-26 14:36:43 +00:00
mnaumann
a02110e53b * add credit for russian translation
* add missing translations for german language
* improve convert_faction_xml2html configuration file
2011-05-26 14:15:13 +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
a5e1d046dd - better character for multi-byte char width use (use a instead of W) 2011-05-25 23:06:37 +00:00
Mark Vejvoda
4c7d522b6b - bugfix for font width calculation 2011-05-25 22:58:30 +00:00
Mark Vejvoda
3eaabb1b41 - some bugfixes discovered while testing in windows, related to files not found checking
- Fixed debug project settings
2011-05-25 22:41:19 +00:00
Mark Vejvoda
4b47c79af5 - attempt to fix tomreyn's segfault when socket is closing 2011-05-25 21:57:01 +00:00
Mark Vejvoda
8f56fc4657 - updates for possible chinese support (but i really doubt this shows the right text) but still a good start 2011-05-25 21:17:15 +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
65ee439baf - applied patch from LuckAs for better multi-byte character spacing 2011-05-25 16:51:31 +00:00
Mark Vejvoda
a1d80ae22f - updates in prep for 3.5.2 2011-05-25 16:11:49 +00:00
Mark Vejvoda
49f3518b03 - updating version # in prep for 3.5.2 2011-05-25 14:57:56 +00:00
Mark Vejvoda
7387a469c4 - looks like windows cannot reliably paint in wxwidgets when iconized (but Linux works perfectly) so g3dviewer must take focus duing autoscreenshots in windows OS 2011-05-25 07:21:22 +00:00
Mark Vejvoda
44e25c1e62 - fix retarded win32 bug in wxwidgets when in autoscreenshot mode when windows starts iconized getclientsize() returns garbage 2011-05-25 06:19:07 +00:00
Mark Vejvoda
dd620f7563 - when in autoscreenshot mode tell the viewer to NOT take focus (just for your tomreyn) 2011-05-25 05:52:07 +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
e10df0affe - bugfixes for map editor and file extension function 2011-05-24 01:44:48 +00:00
Titus Tscharntke
821e159b05 && not and ..... 2011-05-24 01:07:57 +00:00
Titus Tscharntke
d28b47ffb1 diagonal flipping 2011-05-24 00:58:21 +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
e28fe7c575 - thought this extra close was required but it is not. 2011-05-18 22:16:34 +00:00
Mark Vejvoda
8e5e54d943 - save main.cpp as utf-8 2011-05-18 22:04:45 +00:00
Mark Vejvoda
2f6f5df388 - bugfix for linux variable named wrong 2011-05-18 21:56:07 +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
d1b4905759 - more fallback code to handle non power of two textures for 3d textures 2011-05-18 19:18:40 +00:00
Mark Vejvoda
ae47b47bc8 - bugfixes to avoid segfault when user has no sound card or openal cannot init
- more fallback handling for non power of two textures
2011-05-18 17:54:46 +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
c0e4657f68 - bugfix for corrupted screenshots in g3d viewer reported by tomreyn 2011-05-16 13:14:54 +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
42d6f16ed1 - copyfile copies files in binary mode now 2011-05-06 23:34:58 +00:00
Mark Vejvoda
c54a6ca7e5 - copyfile copies files in binary mode now 2011-05-06 23:23:57 +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
f8e1a5c8cb - bugfixes found during testing of cmake builds 2011-05-04 22:30:32 +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
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