Commit Graph

1924 Commits

Author SHA1 Message Date
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