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
ab7dc1d007
- more code cleanup from things found in valgrind
2011-03-23 05:49:38 +00:00
Mark Vejvoda
29a123e263
- cleanup a few compiler warnings
2011-03-16 05:55:11 +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
c1ee5df801
- attempt to shutdown sdl in a more controlled way
2011-02-12 08:05:18 +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
49d7f5f036
- more rendering speed improvements (conversion of main portions of minimap to vertex arrays)
2011-02-09 01:27:41 +00:00
Titus Tscharntke
e20162a3c4
cleaned up the cliff coding; hopefully really no more flickering now
2011-02-08 20:59:34 +00:00
Mark Vejvoda
17e2a87890
- fixed one type of freeze in the custom menu
...
- some small opengl changes
2011-02-08 18:23:41 +00:00
Mark Vejvoda
1ee25a2c91
- bugfixes to get win32 working with fbo's
2011-02-08 16:34:19 +00:00
Mark Vejvoda
01de8700ec
- stupid win32 hacks to allow opengl extensions for FBOs
2011-02-08 07:33:28 +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
c856aa2c44
- fixed models that flicker when intersecting with other polygons (also known as z-fighting)
2011-02-08 04:50:57 +00:00
Titus Tscharntke
e03b029bea
Cliffs work and some map cleanup; ( !!currently old maps are broken in editor!! )
2011-02-08 03:50:59 +00:00
Mark Vejvoda
c58e893047
- attempt to improve issues in the custom menu related to freezing
...
- modified debug UI display to support multi levels of UI debug info
- added more validations to mutexes
- improved client sockets to properly be setup as non blocking
2011-02-06 07:01:54 +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
ab9d2f1bf2
- some small cleanup in vbo code
2011-02-04 02:26:55 +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
8213d8eed9
- fixed screenshots saved in game
2011-01-22 18:20:37 +00:00
Mark Vejvoda
004803a8a6
- fixed win32 vc++ project files to add new include path for libpng
2011-01-21 23:17:54 +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
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
Mark Vejvoda
6bfc4d7c2e
- attempt to better handler tomreyn's fuzzer.
2011-01-12 06:52:03 +00:00
Mark Vejvoda
d622c7bf7f
- try to discover what texture is corrupt in tomreyn's fuzzer
2011-01-11 22:34:01 +00:00
Mark Vejvoda
9acbfb9d19
- patch from Nebososo for 2 byte characters and font widths
2011-01-11 19:03:41 +00:00
Mark Vejvoda
5fa01b0b8c
- attempt to throw exception (instead of assert) on bad texture detection
2011-01-11 00:49: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
8e6609fdac
- texture info now logged to debug log when appropriate instead of spamming the console
2010-11-05 09:49:57 +00:00
Mark Vejvoda
3c7fbd1fd7
- for now disable refs to fbo's on windows platform till we decide if we include glew or not
2010-11-01 23:56:46 +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
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
27212dd962
- a bit of code cleanup related to supporting texture compression on Intel
2010-10-29 21:18:07 +00:00
Mark Vejvoda
e299250f94
- try to add special texture compression types from GL_3DFX_texture_compression_FXT1
2010-10-29 20:53:20 +00:00
Mark Vejvoda
268730cfae
- try to add special texture compression types from GL_3DFX_texture_compression_FXT1
2010-10-29 20:44:21 +00:00
Mark Vejvoda
200031874c
- try to add special texture compression types from GL_3DFX_texture_compression_FXT1
2010-10-29 20:37:49 +00:00
Mark Vejvoda
d5018d217e
- try to add special texture compression types from GL_EXT_texture_sRGB
2010-10-29 19:58:43 +00:00