Commit Graph

228 Commits

Author SHA1 Message Date
SoftCoder c21317a5f4 - attempt to further stabilize g3d viewer end map editor 2014-11-29 17:44:22 -08:00
SoftCoder ad0b652727 - bugfix for g3d viewer and updated wxwidgets 2014-11-28 23:35:35 -08:00
SoftCoder 3b3132ccce - unit particles now support minHp / mapHp tags 2014-11-18 21:38:46 -08:00
SoftCoder d7f5164fd1 - missed a few other refs to xerces in cmake scripts 2014-01-25 18:27:08 -08:00
SoftCoder 1cacb0df27 - missed some updates 2014-01-24 09:50:17 -08:00
SoftCoder 0b86e1c2d5 - fixed paths for editor and model viewer camek install 2014-01-22 10:10:31 -08:00
SoftCoder 3bb9da6cdf - removed directsound related references as it has been deprecated since 3.6.0.1
- coverity related fixes
2013-12-25 11:42:00 -08:00
SoftCoder f269273f07 - round #2 of coverity bug fixes 2013-12-14 22:37:15 -08:00
SoftCoder b8ab732b85 - cppcheck code cleanup 2013-12-14 18:07:22 -08:00
Will 6afadafa1e Start to abstract model 2013-12-05 16:17:41 +01:00
Mark Vejvoda 9268aaf279 - a few minor bug fixes related to code warnings
- code cleanup based on additional gcc warnings
- enabled additional gcc compiler warnings
2013-11-19 06:14:06 +00:00
Mark Vejvoda 642a26bdb5 - bugfix for cmake builds handling of help2man for empty executable paths 2013-11-18 23:10:38 +00:00
Mark Vejvoda e28097e0d7 - bugfix for cmake builds handling of help2man for empty executable paths 2013-11-18 22:37:12 +00:00
Mark Vejvoda fe6886d273 - bugfix for cmake builds handling of help2man for empty executable paths 2013-11-18 22:05:16 +00:00
Mark Vejvoda 9a03528ee8 - bugfix for g3d viewer screenshot automation 2013-11-17 08:19:17 +00:00
Mark Vejvoda a6fff895b3 - bugfix for g3d viewer to work in wxwidgets 2.9.4 2013-11-17 08:06:06 +00:00
Mark Vejvoda c825acd69f - bugfix for g3d viewer to work in wxwidgets 2.9.4 2013-11-17 08:01:45 +00:00
Mark Vejvoda ac59cf5ab8 - bugfix for g3d viewer to work in wxwidgets 2.9.4 2013-11-17 07:37:13 +00:00
Mark Vejvoda 303746df80 - updated cmake scripts to fix build problems on debian 2013-11-16 19:18:09 +00:00
Mark Vejvoda dc503d6340 - attempt to see if this makes stability better 2013-10-02 20:22:10 +00:00
Mark Vejvoda 63ed244de2 - attempt to fix additional oos issues 2013-09-27 00:14:54 +00:00
Mark Vejvoda 37c2ace11a - rollback last commit 2013-09-26 16:37:32 +00:00
Mark Vejvoda 7349a1f126 - attempt to convert use of more floats to double 2013-09-25 15:40:19 +00:00
Mark Vejvoda 3a6544a257 attempt for big cleanup of out of synch issues, please test! 2013-09-23 17:16:34 +00:00
Mark Vejvoda d46479df95 - bugfix to allow headless server to load a texture for new tilesets where they must read it to determine parts.
- converted asserts to exceptions
2013-06-23 04:17:25 +00:00
Mark Vejvoda 1b3ee1503b code cleanup from cppcheck 2013-06-15 01:43:44 +00:00
Mark Vejvoda e4e7a7dc00 bugfix g3d viewer glewinit was not working 2013-06-03 06:10:16 +00:00
Mark Vejvoda 2c1b181bc7 a bunch more code cleanup from cppcheck 2013-05-26 06:03:32 +00:00
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
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
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 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 60b8093f5b - attempt to get non ascii file paths working in megaglest (Japanese etc...) 2011-05-18 21:49:11 +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 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 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