Commit Graph

2136 Commits

Author SHA1 Message Date
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
5f2d98533e - turn off svn rev tag if svn not found 2011-05-15 02:31:00 +00:00
Mark Vejvoda
4c7d09d37b - cleanup of cmake vars shown when doing -LH (marked some less important vars as advanced) 2011-05-15 02:24:54 +00:00
Mark Vejvoda
6ac5f70f68 - fixed to NOT execute svn command when WANT_SVN_STAMP if off 2011-05-15 02:10:29 +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
230bdee567 - updated source and data scripts to remove one redundant level of folders 2011-05-08 21:16:54 +00:00
Mark Vejvoda
5454caf5fa - updating version to 3.5.1 release 2011-05-07 20:22:09 +00:00
Mark Vejvoda
1b573af86d - fixed some issues with files included in win32 installer 2011-05-07 20:08:05 +00:00
Mark Vejvoda
87b9f6f8a7 - updates to win32 installer in prep for release (renamed binaries to be consistent with linux names megaglest_x) 2011-05-07 19:31:11 +00:00
Mark Vejvoda
faf35d1d04 - updates to correct Linux installer issues
- updated changelog
2011-05-07 11:30:25 +00:00
Mark Vejvoda
9bcd0288f4 - get rid of bin subfolder and place binaries in root folder with startup scripts to avoid trouble finding game data since glest.ini by default looks for data in binary root folder 2011-05-07 10:01:32 +00:00
Mark Vejvoda
020cac4455 - fix name in script 2011-05-07 09:51:54 +00:00
Mark Vejvoda
42b0d8384e - cleanup for Linux installer 2011-05-07 09:48:25 +00:00
Mark Vejvoda
dc655629c2 - added missing codeblocks project files 2011-05-07 07:55:51 +00:00
Mark Vejvoda
f78036967a - updated build script files to build by default WITHOUT an install directive / prefix so we can easily test and do development 2011-05-07 07:48:21 +00:00
Mark Vejvoda
362f7c18e9 - small update to data-diff script, not used for 3.5.1 but prep'd for next release (need to update this to remove ugly scripting next release) 2011-05-07 07:36:10 +00:00
Mark Vejvoda
9df444fc8f - updated data archive build script to use proper penguin pathing 2011-05-07 07:08:49 +00:00
Mark Vejvoda
c65b55c6b9 - who will win.. 7z or xz? (so far 7z) 2011-05-07 05:08:17 +00:00
Mark Vejvoda
3405552538 - updated data script to remove hideous way of building out data package, now just waiting for a good commandline to use xz for compression 2011-05-07 02:02:47 +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
9a1afe1b0a - updated scripts as well as cmake so that source and data build both together and separate from in an svn tree or the sf tarballs 2011-05-04 21:00:34 +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
4f3ecdf1ec - default to dynamic libs since most (if not ALL) distros hate static linking, still support it for our own installer:
-DWANT_STATIC_LIBS=ON
is what you add to cmake call to build with statics libs as we did before
2011-05-04 07:31:18 +00:00
Mark Vejvoda
09ec5e095e - check if users system does NOT has SVN then do not use svn version stamping 2011-05-04 07:16:44 +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
01ec71f82f - update for vc++ 2010 project 2011-05-04 05:15:30 +00:00
Mark Vejvoda
1d10d93f64 - fixed win32 build in vc++ 2008 2011-05-04 05:09:27 +00:00
Mark Vejvoda
0e8a65b883 - added missing cscript script file for windows builds 2011-05-04 00:34:32 +00:00
mnaumann
c7fe85aff2 remove dangling "sycreenshots" symlink 2011-05-03 23:43:46 +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
mnaumann
6d5cd99450 Another attempt to somewhat clean up documentation files.
Goals: 
* have two separate 'docs' directories (source code + game data) whose contents can be safely combined for distribution (no duplicate file names, meningful file names)
* somewhat standard file names
* minimum redundant data
* user-friendly README-file to display in installer

How things were moved around etc.:
Delete          docs/copyright.txt (previous version)
Move and rename data/glest_game/docs/LICENSE to docs/copyright.txt
Move and rename data/glest_game/docs/README to docs/README.txt
Move and rename data/glest_game/docs/CHANGELOG to docs/CHANGELOG.txt
Rename          data/glest_game/docs/{AUTHORS,AUTHORS.data.txt}
Rename          data/glest_game/docs/{data_license_readme.txt,README.data-license.txt}
Rename          data/glest_game/docs/{data_license.txt,cc-by-sa-3.0-unported.txt}
Symlink         data/glest_game/docs/CHANGELOG.txt to docs/CHANGELOG.txt
Symlink         data/glest_game/docs/README.txt to docs/README.txt
Rename          docs/{copyright.txt,COPYRIGHT.source_code.txt}
Rename          docs/{code_license.txt,gnu_gpl_3.0.txt}
Rename          docs/{readme_windows.txt,README.compiling-windows.txt}
Rename          docs/{readme_linux.txt,README.compiling-linux.txt}
Create          docs/AUTHORS.source_code.txt
Create          data/glest_game/docs/COPYRIGHT.data.txt

build-mg-win32.sh: Use all CPU available cores when building.
2011-05-03 10:28:54 +00:00