Commit Graph

139 Commits

Author SHA1 Message Date
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
Mark Vejvoda d86ac7d4a7 bugfix for xerces include path 2011-10-15 18:00:47 +00:00
Mark Vejvoda 572ef33ee3 - removed debug stuff 2011-10-07 14:38:20 +00:00
Mark Vejvoda e2ff585fab - bugfixes for g3d viewer showing particles 2011-10-07 07:53:06 +00:00
Mark Vejvoda bb68106912 - phase 3 of cppcheck verbose fixes 2011-09-01 18:08:56 +00:00
Mark Vejvoda d44959d69c - phase 1 of cppcheck verbose fixes 2011-08-31 23:10:43 +00:00
Mark Vejvoda 1b2d4fddea - merged in willvarfar's particle patch 2011-07-06 22:23:51 +00:00
Mark Vejvoda 2088793f94 - changed g3dviewer to default to png (not read glest.ini for screenshot format) but alos added a new commandline option to be able to change the default screenshot format from png if desired 2011-07-05 19:08:28 +00:00
Mark Vejvoda 14c70966b0 - bugfix for hpanim on bebuilt, to interplotate out the last reset frames 2011-07-02 21:44:29 +00:00
Mark Vejvoda 77ad300b14 - fixed spelling mistake 2011-06-01 19:51:42 +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