Commit Graph

230 Commits

Author SHA1 Message Date
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
f18061a7ee fix build-site and store adjacency maps for potential building rotation
fix potential annotated map update problem with morphing to a smaller UnitType
2010-07-13 11:05:35 +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
c800ab28cc - bugfixes for incorrect method declaration 2010-06-12 18:56:16 +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
4b6e017241 - Added particle support to g3d viewer 2010-05-25 18:06:42 +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
cfe7d8cec8 Updated world synch logging so we can better compare exact results every 40 frames 2010-04-27 14:10:53 +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
Titus Tscharntke
c1ec8f97df new switch <rotationAllowed value="false" /> for buildings
new switch <relativeDirection value="false" /> for UnitParticleSystems
2010-03-27 03:09:11 +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
59faabfe14 bugfix/improvement for teamcolor particles ** units can morph to flying units ** tech faction with particles 2010-02-27 00:34:03 +00:00
Titus Tscharntke
15783511fd black particles 2010-02-22 22:51:46 +00:00
Titus Tscharntke
daa9c94129 multiple particle systems for every skill 2010-02-21 13:56:17 +00:00
Titus Tscharntke
c4d32651c6 removed old debug printfs in comments
fixed relative switch for unit particles
fixed gravity for unit particles
2010-02-16 23:55:45 +00:00
Titus Tscharntke
e4b3c3117e forgot 2 files for the particles 2010-02-16 01:15:38 +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