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
1f3d97dbe1
- fixed strange messagebox display (was caused by map preview renderer setting glLineWidth to 14 and never resetting afterwards)
2011-04-24 05:39:13 +00:00
Mark Vejvoda
c4d32ae0d2
- bugfix for users toggling back from Linux tty session
2011-04-18 19:48:05 +00:00
Mark Vejvoda
cf706491e1
- added screenshot file format to options menu
...
- more cleanup from things discovered with valgrind.
- added an environment variable to use with openal so it is possible to specify which sound device to use if needed down the road
2011-04-02 21:17:17 +00:00
Mark Vejvoda
f7fdafbff4
- did some code refactoring, wanted to load some textures threaded but bailed out due to opengl's hideous problems related to multi-threads
2011-03-22 02:02:54 +00:00
Mark Vejvoda
7d38aec84a
- new commandline options to discover and optional delete unused files in techtrees
2011-03-15 15:30:28 +00:00
Titus Tscharntke
c54174061f
particles have more switches: day/night visibility , alternating value , radiusBasedStartenergy ( can be disabled now! )
2011-03-13 23:16:07 +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
d0a95b1ff5
- added another option when converting model textures (keepsmallest)
2011-03-13 09:57:04 +00:00
Mark Vejvoda
39bf1b986e
- added new commandline option to convert folders of g3d models to use specified texture format
...
- added new utility methods and changed code to use them (like adding trailing slash on paths)
2011-03-13 08:23:43 +00:00
Mark Vejvoda
f35e920d47
- added logic to delete old texture after doing a model texture conversion
2011-03-12 22:11:09 +00:00
Mark Vejvoda
c67d7d48c2
- some initial work to allow saving models in the current v4 g3d format (new commandline option to test it also) and also convert textures into png
2011-03-12 21:29:37 +00:00
Mark Vejvoda
7dcb12ff60
- some more memory cleanup
2011-02-12 09:08:50 +00:00
Mark Vejvoda
86baa04a3b
- added FBO's for map preview rendering, which improves fps in the custom menu for video cards that support Frame Buffer Objects
2011-02-08 05:54:05 +00:00
Mark Vejvoda
1574e05fcd
- surface rendering is a step closer to using VBO's (code now works using Vertex Arrays, next stop Vertex Buffer Objects)
2011-02-04 23:27:55 +00:00
Mark Vejvoda
6ec92f2127
- attempt to add more randomness to pathfinding and faster AI decsions
2011-02-04 06:34:32 +00:00
Mark Vejvoda
dab57fcb34
- attempt to add "some" VBO rendering for static models (need to test if this improves performance in different environments)
2011-02-04 01:24:26 +00:00
Mark Vejvoda
2e5c5be357
- added more options to g3d viewer commandline options
2011-01-29 03:53:05 +00:00
Mark Vejvoda
ffc9347641
- bugfixes for G3D viewer (but applies to general texture loading in game also) we now handle better scenarios where binary or model are in different working directories
2011-01-21 01:53:58 +00:00
Mark Vejvoda
66261ad662
- updated line endings to unix style characters to fix Bug #3085838
2011-01-20 15:56:30 +00:00
Mark Vejvoda
6b0bc35e3c
- working VBO code for static objects in game, currently disabled in code but to enabled edit model.h and uncomment #define ENABLE_VBO_CODE
2011-01-18 23:56:30 +00:00
Mark Vejvoda
c54e6dbf5d
- a little bit of plumbing for VBO's for static models (currently disabled via # define)
...
- small small speed improvement when calculating interpolations
2011-01-18 07:52:06 +00:00
nosogo
f545edad68
more fixes for editor
2010-12-05 01:33:28 +00:00
Mark Vejvoda
d89953ee96
- improved performance and bug fixes.
2010-11-09 09:06:52 +00:00
Mark Vejvoda
9978cbeff5
- added some initial work to support FBO (frame buffer objects)
...
- added many NULL check guards throughout the code
- added a safe mutex around ptr access of background thread on custom menu
2010-11-01 16:44:05 +00:00
Mark Vejvoda
d8c11ebe71
- thread synch bugfix in Internet Lobby Menu (thanks tomreyn for the stack trace)
2010-10-30 17:31:57 +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
e0d338b583
- added more texture compression supported types
...
- some in progress work related to texture reloading
2010-10-29 16:27:22 +00:00
Mark Vejvoda
01c26b4224
- added the ability to track pixmap memory usage at start and end of a game
2010-10-28 21:06:20 +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
d5117ed7fa
- cleaned up a whole pile of compiler warnings
2010-10-21 07:20:17 +00:00
Mark Vejvoda
a84f0d1b6d
- bugfix to fallback to a default configured font if the specified font in the ini property fails to load. The default font is 'fixed' but can be overriden in the ini using:
...
DefaultFont=yourfonttype
2010-10-09 20:35:53 +00:00
Titus Tscharntke
268aa4793b
particle limits are back again
2010-10-06 17:04:51 +00:00
Titus Tscharntke
3b1ef055b1
- new switch for unit_particle _systems called static-particle-count
...
- Bugfix for "wild particles". ( the splash particle systems never died before! )
- Better german language file ( cpu player have english words again, words like ultra are common enough in germany )
2010-09-25 14:38:00 +00:00
Titus Tscharntke
cd65927924
unit particles can now have float values for emission rates. This allows also emission rates smaller than 1 like 0.01 for example
2010-09-24 16:36:59 +00:00
Titus Tscharntke
3bfc7daddf
renderMapPreview nearly done.
2010-09-15 23:49:26 +00:00
Titus Tscharntke
a38778deb1
map preview is scree resolution resistant
2010-09-14 23:02:50 +00:00
Mark Vejvoda
689b810d46
- some cleanup related to image loaders (valgrind complaints)
2010-09-14 15:59:04 +00:00
Mark Vejvoda
25912fa2bb
- added proper constructor and initialize member vars
2010-09-14 06:36:55 +00:00
Mark Vejvoda
b95e2247cd
- moved map render logic into a shared base class
2010-09-14 06:02:35 +00:00
Mark Vejvoda
4d9bc556d6
- a few more improvements to rendering cache
2010-09-10 00:41:51 +00:00
Mark Vejvoda
958184e018
- more memory cleanup
2010-09-07 21:01:22 +00:00
Mark Vejvoda
63cf199322
- more memory cleanup
2010-09-07 18:28:09 +00:00
Mark Vejvoda
9817e8a860
- memory leak fixes
2010-09-07 17:30:13 +00:00
Mark Vejvoda
ab44c83168
- added leak_dumper header all over the place (not yet functional in linux)
...
- Bugfix for particle cleanup
2010-09-07 05:25:40 +00:00
Mark Vejvoda
ca30612c9c
- attempt to cleanup particles when a unit is deleted
2010-09-06 17:52:33 +00:00
Mark Vejvoda
f3278c3cf3
- bugfixes for stack overflow issue (static array size too large causing chkstk errors)
2010-08-26 19:01:44 +00:00
Mark Vejvoda
0ef23749b8
- allow non visible particles to fade out when its time to do so
2010-08-25 19:46:22 +00:00