SoftCoder
3111b733e2
- bugfix for chrono class calcs causing group camera recall to fail (And numerous other problems)
...
- added better tracking of mutexes by assigning them location info
2013-12-24 22:27:44 -08:00
SoftCoder
3a24531ba7
- more code cleanup based on cppcheck results and valgrind
...
- added -h option to build-mg.sh to show parameter usage.
2013-12-22 22:53:26 -08:00
SoftCoder
f269273f07
- round #2 of coverity bug fixes
2013-12-14 22:37:15 -08:00
SoftCoder
b9d6b38e8f
- coverity based bug fixes - round #1
2013-12-13 23:04:12 -08:00
Mark Vejvoda
4a4c7fbfde
- code cleanup based on additional gcc warnings
2013-11-19 06:24:22 +00: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
53a557d8d1
- fixed mod center image previews in cases where userdata folder was non default
...
- removed commented out old code
2013-10-03 05:44:50 +00:00
Mark Vejvoda
d4a6645a4d
- more code cleanup and game lobby force refresh bugfix when data changes
2013-09-19 01:19:36 +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
1e1676a34a
more render improvements
2013-06-12 06:14:55 +00:00
Titus Tscharntke
01b6986581
First steps for new terrain texturing. In tileset xml do:
...
<surface partsize="64">
<texture path="textures/512.png"/>
</surface>
2013-02-20 17:42:47 +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
1966710628
- more detailed error handling for bad textures and/or models and sounds
2012-11-11 04:52:26 +00:00
Mark Vejvoda
8ba5524f35
- updated error handling to be more flexible so we can display better error details (like bad tga file, etc)
2012-11-10 23:19:42 +00:00
Mark Vejvoda
8a0390db35
- cleanup compiler warnings
2012-11-10 07:31:21 +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
7243a22abc
- added byte order logic for loading textures and sounds
2012-11-01 23:07:51 +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
64058b17e7
- code cleanup from cppcheck
...
- added more checks when loading models, maps and textures
2012-10-20 07:15:13 +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
3b8dd289ac
- updated cmake to check for support of backtraces in gcc compiler
...
- fixed numerous bugs / warnings from cppcheck
2012-04-16 19:29:37 +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
4ad42518c0
- updated for better handling of streflop on different platforms
...
- attempt for bugfix on windows when socket send buffer is continuously full
2012-02-10 06:21:06 +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
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
01ea0787a3
- a few more updates to cut down on RAM use for headless server
2011-12-03 00:39:03 +00:00
Mark Vejvoda
57afc2d715
- phase 2 of cppcheck verbose fixes
2011-09-01 01:11:23 +00:00
Mark Vejvoda
970fe6a326
- some decent render improvement for surface terrain rendering (combined willvar's layer idea with visible quad, but no using vbo's at this point only vertex arrays)
2011-07-10 05:42:11 +00:00
Mark Vejvoda
1a5c70c76e
- another small bugfix for water texture loading
2011-07-02 07:15:23 +00:00
Mark Vejvoda
7c996e3296
- added percentage support for min / map hp on damage particles
...
- bugfixes for png support for pixmap3d (water textures)
2011-07-01 23:13:55 +00:00
Mark Vejvoda
d2c8cc0187
- bugfix for unit titles in special debug mode
...
- added support for png format for pixmap3d (Water) textures
2011-07-01 07:46:18 +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
15489b066f
- added new ini setting to see if this helps fix non power of two texture loading for some ATI video cards, user needs to set this in the ini:
...
EnableATIHacks=true
2011-04-28 07:48:19 +00:00
Mark Vejvoda
3b56aa4475
- performance changes... (problem found by titi) most debug calls line are skipped when the debug flag is disabled even BEFORE getting into the handledebug method.
...
This improves performance VERY MUCH.
2011-03-28 03:54:23 +00:00
Mark Vejvoda
28f74a15f7
- we can now save jpg screenshots and can also convert model textures to jpg (WARNING jpg DOES NOT support alpha channel (for transparency) so use this wisely
2011-03-13 22:43:44 +00:00
Mark Vejvoda
cc973f3427
- bugfixes, some related to things pointed out by valgrind, some from opengl research and some for more stable operation
2011-02-12 07:34:32 +00:00
Mark Vejvoda
8213d8eed9
- fixed screenshots saved in game
2011-01-22 18:20:37 +00:00
Mark Vejvoda
9d369bb30e
- added ability to save screenshots in G3d with background transparency
2011-01-21 16:34:33 +00:00
Mark Vejvoda
d89953ee96
- improved performance and bug fixes.
2010-11-09 09:06:52 +00:00
Mark Vejvoda
77bad3ce07
- added new default PNG format for doing screenshots AND the saving to disk is queued in a background thread allowing almost no delay when saving many screenshots!
2010-10-30 02:21:47 +00:00
Mark Vejvoda
369a0dc215
- fixed warnings when compiling in vc++
2010-10-30 00:14:15 +00:00
Mark Vejvoda
13c4deb5b6
- added new screenshot format to be bmp (can be oveeriden by ini setting, and more formats may be added later) ScreenShotFileType=tga to revert to old default tga screenshots
2010-10-29 22:18:23 +00:00
Mark Vejvoda
df3f56a451
- cleanup of texture compression. We output stats for textures that we attempt to compress and what percent they were compressed (before and after byte sizes)
2010-10-28 06:59:43 +00:00
Mark Vejvoda
de3a92081d
- a bunch of in progress work related to texture compression and more timely texture memory management cleanup. For now to test texture compression use the following ini setting: EnableTextureCompression=true
2010-10-28 00:51:25 +00:00
Mark Vejvoda
78f6f49cb6
- fixed shadow mapping by removing the use of the extension: GL_ARB_shadow_ambient
...
(thanks: asmodeus and Ishmaru)
- added some initial work for texture compression (but not active yet)
2010-10-27 15:04:47 +00:00
Mark Vejvoda
f3ea511c40
- attempt to help poor kobe and his mad need to press E continuously
...
- also cleanup a memory leak from code that was thus far unused
2010-09-17 04:59:32 +00:00
Mark Vejvoda
a81286cbba
- added support for showing projectile particles in the g3d viewer
2010-06-24 10:52:58 +00:00
Mark Vejvoda
04bb6659ce
Added more debugging and option to disable new streflop usage.
2010-05-01 20:14:25 +00:00
Mark Vejvoda
f748874601
Ported streflop code to win32
2010-04-24 11:15:15 +00:00
Mark Vejvoda
2bfaa4d1d7
Added streflop (standalone reproducible floating point library) layer to mega-glest (initial checkin only) and changed a few areas to use the library in linux
2010-04-24 03:57:38 +00:00