Commit Graph

207 Commits

Author SHA1 Message Date
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
0379b7284d - removed requirement to have a newer libcurl, now most platform, should be able to build mg more easily (only require 7.16.4 or newer instead of 7.21.0) 2011-03-20 00:11:00 +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
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
Titus Tscharntke
ad94506842 gonanas patch! Thank a lot! For me it works, please test ! ( hopefully really no more flickering now ) 2011-03-09 01:46:00 +00:00
Titus Tscharntke
5e844c39e4 particles for ressouces ... the gold will glow tomorrow :-D 2011-03-09 01:32:27 +00:00
Titus Tscharntke
5494a80233 removed unused isDirty bool ( maybe unstable with tileset particles before ) 2011-03-07 20:19:43 +00:00
Titus Tscharntke
fefed3e3ce No more flickering! Thanks gonana ! ; Tilesetparticles are only rendered/calculated when visible now 2011-03-05 14:34:36 +00:00
Mark Vejvoda
935895c89f - configurable keys can be edited in keyboard menu now 2011-03-04 22:54:04 +00:00
Titus Tscharntke
792d0aa665 particles for tilesets ( too much rendered at the moment ) 2011-03-01 23:36:33 +00:00
Mark Vejvoda
bced200dd1 - bugfix when bad values are in map file, game would freeze at game start due to endless loop 2011-02-25 22:13:11 +00:00
Mark Vejvoda
c4795eb6cb - more fixing of map corner position actions causing memory access violations (this will further stabilize the code) 2011-02-25 04:15:22 +00:00
Titus Tscharntke
922df8e025 up to 36 units selectable; maps can set camera heigth now ( be careful with this for performance reasons! ) 2011-02-25 00:31:42 +00:00
Mark Vejvoda
d300c5635b - bugfix for selection circle on units on the edge of map cells 2011-02-23 21:54:51 +00:00
Mark Vejvoda
77fb1b6d15 - bugfix for building units at edges of maps 2011-02-22 23:59:21 +00:00
Mark Vejvoda
8d8ed75990 - bugfix for building units at edges of maps 2011-02-22 22:25:03 +00:00
Mark Vejvoda
a0cfe3fa08 - a few changes and now seems to compile in VC++ 2010 (still need to checkin project files) 2011-02-15 23:53:48 +00:00
Titus Tscharntke
a214fa87f5 clickable resources with display ; softcoder please look at unit_updater.cpp line 1032 2011-02-13 21:04:30 +00:00
Titus Tscharntke
30da435fc2 target selection for ressource objects is done with opengl picking now 2011-02-13 14:35:17 +00:00
Mark Vejvoda
4488a4d388 - make pathfinder caching an ini setting tso its easy to test (disabled by default)
- some code cleanup related to threads and sockets
2011-02-13 03:06:12 +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
7cae047f15 - added more code guards around morph validation
- some render debug info
2011-02-11 04:48:17 +00:00
Mark Vejvoda
12dcc54c5a - more conversions to vertex arrays 2011-02-09 08:04:21 +00:00
Mark Vejvoda
bcc82a381d - again M$ compiler madness, absolute insanity, its why I love gcc and hate vc 2011-02-09 01:42:58 +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
Mark Vejvoda
5623866779 - better handling of map preview for different resolutions 2011-02-08 20:17:16 +00:00
Mark Vejvoda
a2b9ca9e18 - some smaller rendering improvements to surface render 2011-02-08 07:35:37 +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
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
ef3aaacbc2 - reverted back to original surface rendering due to memory issues that need to be looked at eventually 2011-02-06 00:46:40 +00:00
Mark Vejvoda
6052ee6cc7 - bugfix to clear surface data cache on game exit (lest we overfill system RAM) 2011-02-05 05:50:42 +00:00
Mark Vejvoda
25f1cdaae6 - updated surface rendering to improve performance (currently VBO's disabled for surface rendering because they somehow seem to give worse performance) 2011-02-05 05:07: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
ab9d2f1bf2 - some small cleanup in vbo code 2011-02-04 02:26:55 +00:00
Mark Vejvoda
0b4eef10c5 - added a very useful way to track mutex usage and performance timings of mutex locking to discover thread lock issues 2011-01-31 23:01:39 +00:00
Mark Vejvoda
1c558abef0 - bugfix for observers to see water effects 2011-01-27 22:17:31 +00:00
Mark Vejvoda
d10054f1c3 - moved sound system debug into a new debugSound property to lessen the impact of regular debug logging since sound processing is now threaded and therefore logging sound system items may slow down performance
- added texture caching for faction preview textures
2011-01-26 09:09:59 +00:00
Mark Vejvoda
e06639c78d - updated Internet games to use 2 new fields, country and game status.
for now svn users can edit glestuser.ini and add the following entry (pointing to your folder of course) to see the country flags in game:
CountryTexturePath=/home/softcoder/Code/megaglest/trunk/source/masterserver/flags
2011-01-25 07:41:12 +00:00
Mark Vejvoda
dde0abd04b - some in progress work for next release 2011-01-21 22:41:05 +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
e6f69a3839 - added code for server to tell clients which port to use for FTP 2011-01-15 18:56:03 +00:00
Mark Vejvoda
c6e809ec97 - removed deprecated code from renderer since we have good success with the visible quad cache 2011-01-15 08:45:17 +00:00
Mark Vejvoda
a8f982ad2b - rollback last change since now we know what the problem is 2011-01-14 01:50:54 +00:00
Titus Tscharntke
0cb64ca1fa Selection bugfix? Lets see if this one line fix really fixes it... 2011-01-14 01:14:38 +00:00
Mark Vejvoda
2d6203bd21 - ftp progressbar calculation error fix 2011-01-09 09:32:32 +00:00