Commit Graph

4937 Commits

Author SHA1 Message Date
Karl Goetz 953c055ced Remove duplicate DCUSTOM_DATA_INSTALL_PATH
Within 5 lines CUSTOM_DATA_INSTALL_PATH is defined twice resulting in lots of
compiler warnings; eg

[ 11%] Building CXX object source/shared_lib/sources/streflop/CMakeFiles/streflop.dir/libm/flt-32/s_atanf.cpp.o
In file included from <built-in>:175:
<command line>:7:9: warning: 'CUSTOM_DATA_INSTALL_PATH' macro redefined
        ^
<command line>:2:9: note: previous definition is here
        ^

This removes the second definition.

Conflicts:
	CMakeLists.txt
2014-12-17 21:11:32 +11:00
SoftCoder c945a5721d - more coverity based fixes 2014-12-15 21:07:13 -08:00
SoftCoder 8210485a42 - a few bugfixes related to coverity scan 2014-12-15 19:44:26 -08:00
titiger 9392aa0fca fixed missing cast found by Coverity CID 1232664 2014-12-16 02:08:29 +01:00
titiger 2d4c4ece8a fixed missing cast found by Coverity CID 1232665 2014-12-16 01:50:12 +01:00
titiger c51817d8d5 fixed missing cast found by Coverity CID 1232666 2014-12-16 01:49:26 +01:00
titiger c3cd1cfc17 return value was not used
Coverity CID 1232671
2014-12-16 01:15:56 +01:00
titiger 37b351aa38 Merge branch 'develop' of github.com:MegaGlest/megaglest-source into develop 2014-12-16 00:59:51 +01:00
titiger a11855e220 fixed Division by float zero
Coverity scan CID 1197074 and more numbers
2014-12-16 00:56:26 +01:00
titiger db0007d277 fixed missing initialisations found by coverity scan
Coverity CID 1197086
2014-12-16 00:53:33 +01:00
Mark Vejvoda a72c882461 Merge pull request #38 from goetzk/change-linker-invocation-through-xcode
Don't strip binaries when building through Xcode
2014-12-15 14:10:56 -08:00
Mark Vejvoda 1d2a18f5cf Merge pull request #37 from goetzk/change-git-version-cmd-test
Change test for GIT_VERSION_CMD an xcode check
2014-12-15 14:10:15 -08:00
titiger d1df0c80d9 Merge branch 'develop' of github.com:MegaGlest/megaglest-source into develop 2014-12-15 21:43:21 +01:00
titiger b407e0090d same button layout for custom game menu and connected game menu 2014-12-15 21:39:11 +01:00
Karl Goetz 56a5cc6f98 Don't strip binaries when building through Xcode
Without this change building the Release version results in an error (which
claims to be a warning) due to using -s which is obsolete.
This removes -s when building through xcode - gnumake and other platforms are
(presumably) unaffected.
2014-12-15 20:36:27 +11:00
Karl Goetz d6f61233ce Change test for GIT_VERSION_CMD an xcode check
Following the work I did on GH ' Remove special casing on GIT_VERSION_CMD #33 '
I've done more experiements and test rebuilds. I've found that the test should
actually be to find out if we are working with Xcode specifically as using the
gnu build chain is working correctly with the code in the 'else' clause - the
codepath i tested before doing my original changes - but doesn't work using the
special 'apple' version.

This change should mean both methods of building work correctly.
2014-12-15 20:35:18 +11:00
Mark Vejvoda a63faa70bd Merge pull request #34 from goetzk/conditionally-use-deb-generator
Only use DEB generator if CPACK_GENERATOR is unset
2014-12-14 21:03:35 -08:00
Karl Goetz 00f116eeee Only use DEB generator if CPACK_GENERATOR is unset
When trying to build a dmg package on an apple system the values set in
mk/macos/CMakeLists.txt are masked by those coded in the main CMakeLists file.
This change means the values are only set if they haven't been already (eg by
using the apple CMakeLists).

I feel it would probably be better to move this lot ot mk/linux/CMakeLists and
then conditionally import the correct file - I'm happy to redo the change that
way if there is agreement on that.
2014-12-15 13:04:05 +11:00
titiger fd765da5e8 Advanced transifex options in menu are back in place 2014-12-15 02:05:47 +01:00
titiger 2c15c89571 render server lines with background to make them more readable. 2014-12-15 01:07:25 +01:00
titiger 080189811f More detailed error message for wrong router setup 2014-12-09 02:39:53 +01:00
titiger e1d85f145c bigger message box to explain wrong router setup 2014-12-09 02:36:30 +01:00
Mark Vejvoda 3ecc553ba9 Merge pull request #33 from goetzk/git-version-cmd-fix
Remove special casing on GIT_VERSION_CMD
2014-12-06 21:15:23 -08:00
Karl Goetz 4919307d8f Reintroduce ELSE clause
Had a chat with softcoder who explained what was going on. We should now be
almost identical to the original but the compiler specific test has been
removed.
2014-12-07 16:06:13 +11:00
Karl Goetz 35347ed36b Re-add IF check around GIT_VERSION_CMD
Previous removal included a APPLE check which I'm told needs to remain.
2014-12-07 15:43:04 +11:00
Mark Vejvoda 83470d8592 Merge pull request #32 from goetzk/custom-data-install-path-fix
Remove special CUSTOM_DATA_INSTALL_PATH for OSX
2014-12-06 19:31:31 -08:00
Karl Goetz e920cba84b Remove special casing on GIT_VERSION_CMD
This special casing has been causing cmake -GXcode to fail.
2014-12-07 14:27:32 +11:00
Karl Goetz 81c94a5772 Remove special CUSTOM_DATA_INSTALL_PATH for OSX
The special codepath for CUSTOM_DATA_INSTALL_PATH on OSX means the path is
generated multiple backslashes which cause problems later on in the compile.
Having the same codepath as everything else appears to resolve this problem.
2014-12-07 14:25:23 +11:00
SoftCoder 8cd7a9580f - disable in game screen res change for osx (prompt user to restart game) 2014-12-06 18:45:26 -08:00
titiger 3e3fef88f5 render a team color in game setup menues 2014-12-06 00:54:00 +01:00
titiger d053e54760 Tell new players what to do when connected to a headless client 2014-12-05 21:44:43 +01:00
titiger 7554d57142 Tell new players what to do when connected to a headless client 2014-12-05 21:43:34 +01:00
titiger 58cba20cf4 update version in script 2014-12-03 01:30:03 +01:00
titiger 974e04ef1f v3.10.0-beta1 2014-12-02 23:37:48 +01:00
Mark Vejvoda 40df13461e Merge pull request #13 from alketii/master
Disabled button in lobby which holds players name.
2014-12-02 10:59:03 -08:00
SoftCoder 5e292e931c - memory leak and a few other minor bug fixes as discovered by coverity scan. 2014-11-30 15:30:02 -08:00
SoftCoder 829f23db4e - updated deps for ubuntu 14.04 and higher 2014-11-29 22:45:31 -08:00
SoftCoder c21317a5f4 - attempt to further stabilize g3d viewer end map editor 2014-11-29 17:44:22 -08:00
titiger 956671f018 bugfix: new attributes must not exist in older savegames 2014-11-29 19:25:33 +01:00
titiger 9e676a6e0e Merge branch 'develop' of github.com:MegaGlest/megaglest-source into develop 2014-11-29 19:09:37 +01:00
titiger f0b8d399a3 new data 2014-11-29 19:07:53 +01:00
SoftCoder 6faa3dc725 - see if this improves stability of the map editor in newer wxwidgets 2014-11-28 23:49:16 -08:00
SoftCoder ad0b652727 - bugfix for g3d viewer and updated wxwidgets 2014-11-28 23:35:35 -08:00
SoftCoder 126ed18589 - bugfix selection circle and healthbar rendering 2014-11-28 20:49:04 -08:00
SoftCoder 8e7dfbd43a Merge branch 'develop' of github-softcoder-megaglest:MegaGlest/megaglest-source into develop 2014-11-28 20:45:40 -08:00
SoftCoder e27c44bb8f - bugfix of selection circle and healthbar ratio value 2014-11-28 20:45:07 -08:00
SoftCoder 645778a490 - added new files to vc2012 project 2014-11-28 20:05:33 -08:00
SoftCoder ceca2fc5aa - more fixes from cppcheck 2014-11-28 18:19:40 -08:00
SoftCoder a656a64830 - corrected some uninitialized vars identified by cppcheck 2014-11-28 16:53:30 -08:00
SoftCoder d0cdea1a6d Merge branch 'develop' of github-softcoder-megaglest:MegaGlest/megaglest-source into develop 2014-11-28 16:23:14 -08:00