Commit Graph

150 Commits

Author SHA1 Message Date
Mark Vejvoda
7966422582 attempt to fix segfaults discovered during testing 2013-05-18 05:57:22 +00:00
Mark Vejvoda
f87b8b6ee2 - updated code to protect against null pointers and uninitialized values and threading issues 2013-02-04 08:30:43 +00:00
Mark Vejvoda
bd2bb98e3f - bugfix g3d viewer to render textures 2013-01-25 15:23:45 +00:00
Mark Vejvoda
0b087a9e84 - updated cmake to only place binaries in dev friendly folder if a new option is passed (enabled by default using the build script)
-DWANT_DEV_OUTPATH=ON
2013-01-15 20:13:18 +00:00
Mark Vejvoda
1e6364051b - updated cmake to only place binaries in dev friendly folder if a new option is passed (enabled by default using the build script)
-DWANT_DEV_OUTPATH=ON
2013-01-15 17:26:55 +00:00
Mark Vejvoda
ff58a868b3 - attempt to bugfix windows using proper printf syntax for data types 2012-11-10 06:37:23 +00:00
Mark Vejvoda
8c182b9712 - some minor cppcheck code cleanup 2012-11-05 05:40:47 +00:00
Mark Vejvoda
2fe92ec848 - attempt at getting perfection in debian lintian checks 2012-10-31 05:41:31 +00:00
Mark Vejvoda
b4990de52e - bugfix for cmake install for map editor and g3d viewer 2012-10-29 21:03:38 +00:00
Mark Vejvoda
38a205c540 - bugfix to cmake install for map editor and g3d viewer 2012-10-29 19:47:58 +00:00
Mark Vejvoda
3419127632 - proper way to handle size_t objects (cleanup warning on other platforms) 2012-10-26 02:42:10 +00:00
Mark Vejvoda
011e0263b0 - lots more code cleanup, using safe buffer size code to avoid buffer overflows 2012-10-19 01:31:20 +00:00
Mark Vejvoda
5e42c6dc03 - loads of code cleanup based on verbose output from the latest git version of cppcheck 2012-10-06 07:06:40 +00:00
Mark Vejvoda
e0bf4df646 - cppcheck round #2 cleanup 2012-09-22 20:37:42 +00:00
Mark Vejvoda
1c211e4ce6 - lots of code cleanup from the cppcheck 2012-09-22 20:13:57 +00:00
Mark Vejvoda
c982bce20f - added check for required opengl features 2012-08-10 07:10:47 +00:00
Mark Vejvoda
f681b309a9 - turned off the interpolation cache which was taking too much memory. Please test this to see if performance is affected, this should REALLY help with memory usage. 2012-07-22 00:04:44 +00:00
Mark Vejvoda
e1054d6e07 - fixed memory leaks in map editor, g3dviewer and the game 2012-07-21 20:21:27 +00:00
Mark Vejvoda
fff77031fc - bugfixes for g3d viewer to display only particles without a unit 2012-05-11 16:05:26 +00:00
Mark Vejvoda
dbb116f250 - load of changes to get things compiling under VC++ 2010 (with updated deps seperate for vc2010) 2012-04-20 01:04:05 +00:00
Mark Vejvoda
8c0bf75bf5 - got built in memory leak working. Just edit leak_dumper.h and uncomment:
//#define SL_LEAK_DUMP
- got better / more accurate stack dumps when we detect errors in game.
- Both of these need to be worked on in windows next, win32 may not compile for now until i fix it on that platform.
- BE VERY CAREFUL when working in leak_dumper.* it may cause GCC and your system to crash if you don't know what you are doing!
2012-04-14 21:21:09 +00:00
Mark Vejvoda
c1f617481e - bug fixes for load saved game (now fixes loading on windows) and corrects memory bug for loading saved games on all platforms. 2012-04-04 15:36:09 +00:00
Mark Vejvoda
9286130138 - bugfixes and code cleanup found using cppcheck 2012-03-28 06:25:57 +00:00
Mark Vejvoda
bc3cc07aba - corrected multiple model processing based on hp
- fixed cmake scripts (thanks Andrew Clarke)
- fixed streflop files to ignore softfloats if not used during build
2012-03-24 18:30:49 +00:00
Mark Vejvoda
c3e40ca1e5 - updated to include desktop files for map editor and g3d viewer and added to make install in cmake build system 2012-02-25 04:11:07 +00:00
Mark Vejvoda
d8092d25f6 - best i can do for now, screnshots can be sized, but size cannot exceed max viewable on screen resolution 2012-01-06 21:02:23 +00:00
Mark Vejvoda
1622b9b046 - changed g3d screenshot resizing to render at desired screensize instead of scaling image. 2012-01-06 19:34:47 +00:00
Mark Vejvoda
d449517872 - added ability to specify scaled image size of screenshots in g3d viewer example:
./megaglest_g3dviewer --load-unit=techs/megapack/factions/romans/units/catapult,attack_skill --auto-screenshot=resize-1024x768
2012-01-06 18:49:33 +00:00
Mark Vejvoda
8e4ed05159 - bugfixes to g3dviewer when loading a unit with particles from commandline (fixes recursive call crash), and added verbose commandline switch for g3dviewer 2012-01-06 18:04:01 +00:00
Mark Vejvoda
7b69d3040f - bugfix on windows for autoscreenshots in g3d viewer 2012-01-04 21:43:34 +00:00
Mark Vejvoda
43c9d44bd6 - updated g3dviewer to output file found status on unit autoload 2012-01-04 19:59:12 +00:00
Mark Vejvoda
eb1408550d - more debian related changes for better manpages 2011-12-20 07:00:23 +00:00
Mark Vejvoda
2298cc99a7 - more debian related changes for better manpages 2011-12-20 06:31:38 +00:00
Mark Vejvoda
cd046783c8 - updated man2help options 2011-12-20 06:09:33 +00:00
Mark Vejvoda
ea741cb0bb - updated man2help options 2011-12-20 05:51:10 +00:00
Mark Vejvoda
50021e7789 - cleanup of some manpage output (try to keep max width of 80 characters) 2011-12-19 23:29:33 +00:00
Mark Vejvoda
ebba25b06f - updated so streflop can be totally ignored when that cmake switch is off 2011-12-16 06:24:21 +00:00
Mark Vejvoda
bb16ed2a65 - debian related changes 2011-12-15 11:16:14 +00:00
Mark Vejvoda
92088ef1f6 - more bugfixes for properly install of manpages on debian 2011-12-14 16:57:56 +00:00
Mark Vejvoda
eca4f1934f - updated cmake builds scripts to not fail if help2man is not installed 2011-12-14 09:39:03 +00:00
Mark Vejvoda
17ce117c18 - bugfix for manpage location during install on debian 2011-12-14 08:33:10 +00:00
Mark Vejvoda
19d564dcd1 - fixes for build scripts to use common manpage variable name 2011-12-14 07:50:53 +00:00
Mark Vejvoda
9852325da6 - fixed Martiño Figueroa's name in all copyrights in source code
- added copyrights to files that were missing it
2011-12-14 07:40:48 +00:00
Mark Vejvoda
62a7186216 - updated build files to auto generate manpages for debian
- fixed spelling mistakes and broken links
2011-12-14 06:27:35 +00:00
Mark Vejvoda
b6d7d1234c - incremented version to 3.6.1-dev
- a few changes to opengl version checking (now uses glew)
2011-12-06 01:34:51 +00:00
Mark Vejvoda
4955090cb5 - commented out old debug output 2011-12-03 08:54:18 +00:00
Mark Vejvoda
0787c09d9b fixed g3d viewer (to use glew) 2011-11-18 08:50:52 +00:00
Mark Vejvoda
316739c5bd - fixed Linux build 2011-11-18 08:42:50 +00:00
Mark Vejvoda
5b7329594c - merging in changes from weltall for macosx 2011-10-18 01:13:38 +00:00
Mark Vejvoda
dac61b9f5d added some new cmake directives to optional turn off subprojects from the build process. The new cmake options include:
BUILD_MEGAGLEST_MODEL_IMPORT_EXPORT_TOOLS
BUILD_MEGAGLEST_MODEL_VIEWER
BUILD_MEGAGLEST_MAP_EDITOR
BUILD_MEGAGLEST_CONFIGURATOR
BUILD_MEGAGLEST

By default these are all enabled (On). Turn turn off a module run cmake with the option turned off:
-DBUILD_MEGAGLEST_CONFIGURATOR=OFF
2011-10-17 16:59:22 +00:00