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
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
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
02a16da938
- small change to the view co-ordinates of shadows
2010-10-29 00:46:54 +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
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
3db2b07e90
- removed some unneeded things from the custom game menu (as requested by tomreyn)
2010-10-26 21:52:00 +00:00
Mark Vejvoda
e2610df502
- fixed chatting logic to now retain more info about the user that sent the text in the console manager. Colors now apply to the playername and changing playernames is ok in the lobby andf rendering accounts for this (as well as switching slots)
2010-10-23 04:00:39 +00:00
Mark Vejvoda
c4c812dd15
- updated chat player colors in console so ONLY playername is colored the players color
...
(by request from titi)
2010-10-22 21:54:47 +00:00
Mark Vejvoda
8ab3366c66
- added player color coding in lobbies as well as chat console
2010-10-22 07:28:55 +00:00
Mark Vejvoda
182f2cd20d
- bugfixes to AI where workers harvesting think they have arrived but really did not.
2010-10-19 04:38:55 +00:00
Mark Vejvoda
d38b46a529
- Removed deprecated parameter
...
- Added more debug logging for LUA functions
2010-10-04 18:31:17 +00:00
Titus Tscharntke
8d053ba314
another implementation of performance based shadow on/off
2010-10-04 16:43:00 +00:00
Mark Vejvoda
16fd1fcfa1
- attempt to tweak shadow off/on windows to make it more smooth
2010-10-02 04:29:12 +00:00
Mark Vejvoda
c87e27eabd
- added an average renderfps to use when toggling shadows off/on to make it more smooth
...
- added a new commandline to autostart a new game with the last game settings you played called:
--autostart-lastgame
2010-10-02 02:17:50 +00:00
Titus Tscharntke
0e084cabd3
minifix for particles
...
transparency works a bit better with existing transparent models
2010-09-27 21:02:06 +00:00
Titus Tscharntke
e6ade03509
Working transparency for units! Not really perfect, but much better than before! Even shadows are rendered according to the textures now. The behaviour should be excatly the same as for the trees.
...
Some unit models which already used transparency might look a bit different with this change, but this change will allow so much better and detailed looking models that its a must have :) .
2010-09-25 23:03:27 +00:00
James McCulloch
91fbc561ea
* fix for freshly killed units begin rendered on Minimap
2010-09-20 04:54:20 +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
Titus Tscharntke
e23592f793
ressources are rendered a bit nicer in the map preview ( glVertex2f instead if glVertex2i )
2010-09-16 00:02:07 +00:00
Titus Tscharntke
3bfc7daddf
renderMapPreview nearly done.
2010-09-15 23:49:26 +00:00
Mark Vejvoda
a22586571e
- attempt to see if the screen shot capture can be fixed with a simple gl command
2010-09-14 22:26:54 +00:00
Mark Vejvoda
3a10e8be32
- fixed bug in menu water tesselation render loop
2010-09-13 19:33:00 +00:00
Mark Vejvoda
350d658ceb
- updated network menus to hide player rows that are not applicable to the map selected
...
- added new visible property to graphical controls
2010-09-11 06:08:50 +00:00
Mark Vejvoda
ab88a2971a
- small improvement for when units and objects are deleted.
2010-09-10 19:44:00 +00:00
Mark Vejvoda
f4e6e8ffd7
- fixed arrow show path of units
2010-09-10 15:57:07 +00:00
Mark Vejvoda
3f393fd37d
- added a way to signal the cache is dirty for when resources are deleted.
2010-09-10 15:47:19 +00:00
Titus Tscharntke
87e0324dd4
cleaned up computeSelected (and renderUnitsFast)
2010-09-10 14:06:31 +00:00
Mark Vejvoda
cc9bde39af
- updated debug stats to use render cache
2010-09-10 09:09:12 +00:00
Mark Vejvoda
0783b23e12
- bugfixes for rendering (new ini setting toggles new quad cache and is called: UseQuadCache=true)
2010-09-10 08:51:32 +00:00
Mark Vejvoda
4d9bc556d6
- a few more improvements to rendering cache
2010-09-10 00:41:51 +00:00
Mark Vejvoda
2c1b6b6304
- added a caching system for rendering game entities
2010-09-10 00:28:14 +00:00
Mark Vejvoda
17f61a808e
- bugfix for VERY BAD missing return value
2010-09-08 22:54:02 +00:00
Mark Vejvoda
9817e8a860
- memory leak fixes
2010-09-07 17:30:13 +00:00
Mark Vejvoda
ca30612c9c
- attempt to cleanup particles when a unit is deleted
2010-09-06 17:52:33 +00:00
Mark Vejvoda
a1eebafac6
- attempt fix smooth the shadow off / on logic when rendering slows
2010-09-03 01:50:16 +00:00
Mark Vejvoda
ca49e0ba68
- attempt to fix multi-build
2010-08-31 23:14:15 +00:00
Mark Vejvoda
6ce69a1e0b
- added new messagebox prompt on server when data synch check enabled and data is different we stop the server from launching the game.
...
- added faction preview texture when users change their faction selection
2010-08-31 06:38:27 +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
5fb040c9f1
- Fixed bug related to particles not updating smoothly
2010-08-26 01:25:27 +00:00
Mark Vejvoda
0e3c0a8d0e
- disabled staggered unit updates
2010-08-24 02:49:55 +00:00
Mark Vejvoda
65cf1bfdac
- attempt to lessen memory footprint of particles and speed up rendering
2010-08-24 01:21:34 +00:00
Titus Tscharntke
8e281e2faf
new attribute MaxUnitCount in units and yellow select circle for allies
2010-08-22 21:09:35 +00:00
Mark Vejvoda
1c5b43ad12
- a few bugfixes to rendering optimizations
2010-08-22 19:49:33 +00:00
Mark Vejvoda
5338f9c330
- atempt to squeeze some extra rendering performance
2010-08-21 19:15:39 +00:00
Mark Vejvoda
22f57e0684
- atempt to squeeze some extra rendering performance
2010-08-21 19:04:09 +00:00
Mark Vejvoda
cce338a2c6
- atempt to squeeze some extra rendering performance
2010-08-21 18:50:56 +00:00
Mark Vejvoda
34ff4bb2e7
- changed messagebox back to normal color and fixed lua displaytext to NOT fade
2010-08-11 23:07:18 +00:00
Mark Vejvoda
a28a20fd77
- updated messageboxes and lua script messages to use selected font color
2010-08-11 22:31:26 +00:00
Mark Vejvoda
ac31d06106
- added more error checks in code and defaults for invalid font size values.
...
- re-enabled client side changing of values from connect menu without waiting for server reply.
2010-08-05 00:09:45 +00:00
Mark Vejvoda
4336ae3e37
- added new commandline param --validate-techtrees which will be used to check for known problems in the techtrees for an installation
2010-07-30 07:51:39 +00:00
Mark Vejvoda
81af3c7f8c
- more rendering improvements when fps starts to drop to 20 or less
2010-07-17 12:41:05 +00:00
Mark Vejvoda
d58a3d948c
- fast caching of interpolation data
2010-07-17 12:16:02 +00:00
Mark Vejvoda
0089cc7d31
- updated location of some opengl calls to be more friendly in open suse
2010-07-16 00:42:13 +00:00
Mark Vejvoda
1096e81562
- bugfix for mouse click offset issue (had to do with Renderer::perspFarPlane value)
2010-07-15 14:54:19 +00:00
Mark Vejvoda
4582214815
- bugfix for mouse click offset issue (had to do with Renderer::maxLightDist value)
...
- bugfix for holding Ctrl key to queu commands
2010-07-15 07:33:49 +00:00
James McCulloch
8387ed29dc
* wired up RoutePlanner/Cartographer
...
* added DebugRenderer (mostly dysfunctional)
* add lots of OutputDebug calls for the path finder, as macro PF_TRACE
2010-07-13 05:33:43 +00:00
Mark Vejvoda
d1fa4975de
- added another xerces XML validation flag
...
- added new commandline option: opengl-info to output graphics card info
- added some opengl rendering optimzations
2010-07-12 06:30:54 +00:00
Mark Vejvoda
61b77fe645
- added the ability to toggle hardware acceleration and full screen anti-aliasing via ini settings
...
- added video card info screen to options menu
2010-07-11 07:38:08 +00:00
Mark Vejvoda
39ad29ba3d
- attempt to improve rendering speed by rolling back render code to be more like 3.3.4
...
- added new ini setting to adjust http timeout and set default timeout to 10 seconds now
2010-07-07 18:50:55 +00:00
Mark Vejvoda
b0b775dc49
- adjusted ? toggle key to always allow toggling of FPS (whether or not debug in enabled)
2010-07-06 15:11:10 +00:00
Mark Vejvoda
aecc708942
- attempt to improve rendering speed
2010-07-06 13:26:23 +00:00
Mark Vejvoda
c04b83259e
- attempt to improve rendering speed
2010-07-06 10:11:56 +00:00
Mark Vejvoda
413c492684
- attempt to improve rendering speed
2010-07-06 06:30:49 +00:00
Mark Vejvoda
8478ab80b3
- bugfixes for malformed debug statements
...
- updated version to 3.3.5.1
- added more null checks
- changes to try to fix crash when ending a game (delete cells bug)
2010-07-06 05:30:34 +00:00
Mark Vejvoda
9508dad51b
- network related bugfixes:
...
menu slowdown when picking network slots
clients can once again change network slots
performance fixes for network receiving
2010-06-29 06:50:35 +00:00
Mark Vejvoda
a7954abc02
- updated version number to beta15
...
- fixed bug affecting performance due to unconnected slots
2010-06-28 03:17:50 +00:00
Mark Vejvoda
9637a708a7
- small code rollback to see if it really affects render performance?
2010-06-28 00:25:12 +00:00
Mark Vejvoda
646e8593f4
- made some small performance updates for rendering and updated beta version number
2010-06-25 05:41:50 +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
1d4f47718c
- added many new things and fixed a number of bugs (too tried to mention them all)
2010-06-24 01:23:18 +00:00
Mark Vejvoda
87b4706940
- Attempt to use libcurl in a thread safe manner
2010-06-23 14:49:20 +00:00
Titus Tscharntke
e0b9089eeb
chatmanager is rendered with colored and shadowed console font.
...
Fixed font problems while switching display colors ingame
(+ little fix for last checkin )
2010-06-22 20:53:54 +00:00
Mark Vejvoda
0a6c382750
- a few more optimizations for rendering and removal of junk
...
- updated version # to beta8
2010-06-22 04:09:23 +00:00
Mark Vejvoda
731df7f16e
- changed rendering to be nearly the same as 3.3.4.3
2010-06-21 23:38:53 +00:00
Mark Vejvoda
df7181d435
- removed white ghosting trigger logic as its just too annoying, even if fps is low.. live with low fps!
2010-06-18 04:43:14 +00:00
Mark Vejvoda
a287422930
bugfixes to correct segfault
2010-06-17 22:09:25 +00:00
Mark Vejvoda
b2f91e0f32
- attempt to make TOM happy, clickl madly while game is loading and help lame windows not choke
2010-06-17 06:55:35 +00:00
Mark Vejvoda
eeda623b4f
- removed the rotateunit flag (its now just part of MG)
...
- updated rendering to consider both visible and explored cells when rendering untis and objects
- added a warning message when a client is lagging and coming close to being kicked off
2010-06-17 00:08:27 +00:00
Mark Vejvoda
cad295c912
- a few minor render updates to try to squeeze better performance out of the rendering (only render visible and explored unit and object cells)
2010-06-16 07:18:06 +00:00
Mark Vejvoda
94c8a08d04
- bugfix for particles showing when fog of war on but they shouldn't show
2010-06-16 06:25:32 +00:00
Mark Vejvoda
c7c9e69567
- added initial work to better manage rendering (but not yet enabled)
...
- added new commandline parameter: --version
- some thread cleanup to try adjusted timings when threads shutdown
2010-06-15 16:27:52 +00:00
Mark Vejvoda
085d4e4bfe
- added more debug statements to try to track beta bugs
...
- added safer customization of ini files
- added ability to customize game keys
- added more error checking for ogg file loading
- added faction loader progress
- added a few more thread protections on custom menu
2010-06-12 18:27:39 +00:00
Titus Tscharntke
74400f77fc
chat in menu doesn't fade and 'M'-key to show more messages works in menu too
2010-06-08 22:50:37 +00:00
Mark Vejvoda
3fdc1d2a18
- added proper toggle for new unit title rendering
2010-05-29 07:07:46 +00:00
Mark Vejvoda
7753435b3a
- Added ability to render text titles for each unit (currently used to debug)
2010-05-29 05:41:40 +00:00
Mark Vejvoda
908b155d62
some changes to how we use streflop:
...
- Removed all unneeded includes of cmath
- added proper wrapper classes for lua calls to toggle streflop back and forth
- some code cleanup
2010-05-28 05:31:17 +00:00
Mark Vejvoda
69d7070f54
Added some more mutex guards around multi-player server side thread that processes incoming messages
2010-05-21 16:36:08 +00:00
Mark Vejvoda
43c00d5740
- removed interpolation thread as it did nothing to help performance.
...
- added a cache in the interpolation class
2010-05-12 21:49:12 +00:00
Mark Vejvoda
e7d06aebc3
commented out interpolation thread since it doesn't seem to improve anything.
2010-05-10 19:51:53 +00:00
Mark Vejvoda
a68ae2fdfb
fixed teamcolor bug from last code checkins dealing with threaded interpolation
2010-05-10 19:35:56 +00:00
Mark Vejvoda
cde5a52fd3
- experiemental code to process interpolation calcs in a background thread
...
Requires a new setting to be turned on in glest.ini:
ThreadedInterpolation=true
2010-05-10 17:50:57 +00:00
Mark Vejvoda
3547276699
- added a special thread to calculate interpolation to try to improve performance
2010-05-08 09:06:30 +00:00
Mark Vejvoda
8aa14009d1
- added a more proper #define setup to completely stub out debugging to test performance
...
(simply uncomment #define UNDEF_DEBUG and the debug statements become nothing)
- Added piles of experimental changes for testing different performance scenarios (all of these changes are turned off by default and will most likely eventually be removed)
2010-05-07 06:46:55 +00:00
Mark Vejvoda
1a6bb489b8
- bugfix for language files in scenarios and tutorials
...
- added numerous performance profiling statements
2010-05-06 21:29:46 +00:00
Titus Tscharntke
0dd135fc12
windowed/fullscreen switch in options ( needed for windows )
...
watereffect improved for big unnits ( ElimiNator should test it )
2010-05-03 22:07:27 +00:00
Mark Vejvoda
1efc2dc0a6
- updates to Chinese font support so Linux will compile
...
- added more debugging and NULL guards
2010-05-03 06:25:54 +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
5af308125b
- Cleanup of logging code to properly manage multiple logs etc
...
- Cleaned up a bunch of compiler warnings (conversion from int to float and vice versa)
2010-04-27 20:38:34 +00:00
Mark Vejvoda
472e34dc6c
HAd to add a #define for includes on non WIN32 platform
2010-04-24 11:33:50 +00:00
Mark Vejvoda
1d6f3ebe58
fixed broken build (renabled some header files)
2010-04-24 11:22:59 +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
Titus Tscharntke
06660e3a17
clients can see which setups are made on the server. ( work in progress !)
...
menu gfx-components can be set editable/non editable now
+ in addition fixed several memory problems and FOW in scenarios ...)
2010-04-21 23:13:39 +00:00
Mark Vejvoda
6a9dcdcf7e
Added some extra guards for NULL
2010-04-15 05:06:15 +00:00
Titus Tscharntke
e5d9631a9f
watersounds playing all over the map is fixed.
...
'M' key shows faded console messages again (currently ingame only )
2010-04-14 20:49:14 +00:00
Titus Tscharntke
ac6deedd93
fixed the null pointer exception related to font colors while chatting in the menu
...
setting version to 3.3.4-dev
2010-04-11 00:45:09 +00:00
Titus Tscharntke
f5e21ae896
ingame fontcolor change with key 'C' is back
2010-04-08 20:19:25 +00:00
Titus Tscharntke
d5a55f6a83
fonts can be scaled from options menu and more switches are in glest.ini
...
helvetica is used for linux
fire fix for blacksmith
persian elephant chaged a little bit for balance ( I think he is still too strong )
2010-04-07 22:20:28 +00:00
Mark Vejvoda
40f5097a07
SLight change to win32 re-init when doing ctrl-enter (a small speed up)
2010-04-06 20:10:38 +00:00
Mark Vejvoda
b7a5970a3c
Added code to support toggling between windowed and fullscreen mode for win32 platform.
2010-04-05 20:42:05 +00:00
Mark Vejvoda
1fe29664c9
bug fix to properly initialize textures dynamically loaded when loading a faction.
2010-04-05 19:38:50 +00:00
Mark Vejvoda
18249c02bd
- Some changes to try to reload textures for win32 when doing alt-enter
...
- Added better logging and guards in sound and socket classes
2010-04-04 04:14:27 +00:00
James McCulloch
00dd0f490d
* fix for map names (possible duplicate entries if mgm and gbm with same name) & alphabetically sorted now
...
* re-implemented building rotation (Note: requires particle systems that should be rotated with the building to be 'relative')
2010-03-25 12:15:10 +00:00
James McCulloch
2d3dad5a9b
Renderer::renderResourceStatus() fix, to always draw resource status icons 'lit'
2010-03-25 04:47:04 +00:00
Mark Vejvoda
b22adbfa02
bugfix for scripted scenarios and placing unit model not showing
2010-03-24 21:26:17 +00:00
Mark Vejvoda
f838293632
Added code for the following:
...
a) Complete Unit Rotation for multi-player
b) Added support for user defined data folders
2010-03-18 21:26:40 +00:00
Mark Vejvoda
2012b7e22c
Made changes to properly isolate new unit rotation code so that it is disabled by default
2010-03-13 21:10:45 +00:00
Mark Vejvoda
43c3f2457e
Code Restructuring to make mega-glest more standard
2010-03-12 05:20:53 +00:00
Mark Vejvoda
7cb4f99ec4
Code Restructuring to make mega-glest more standard
2010-03-12 05:11:28 +00:00
Titus Tscharntke
daa9c94129
multiple particle systems for every skill
2010-02-21 13:56:17 +00:00
Titus Tscharntke
0550d06faf
particles for te skills
2010-02-16 01:12:48 +00:00
Mark Vejvoda
fb5035c230
Updated with initial 3.4.4 codebase includes:
...
- network fixes for multiplayer defects found
- initial code (disabled currently) for content crc checking and downloading
- code compiles on Win32 using VS2008 express, project files not yet included
2010-02-03 01:09:50 +00:00
Titus Tscharntke
0ce9b5fcac
initial version ( megaglest 3.2.3-beta3 )
2010-01-22 01:45:58 +00:00