Commit Graph

4937 Commits

Author SHA1 Message Date
Mark Vejvoda 25dea73abc Added some debug tracing abilities for sound related issues. Added a little protected to the open_al sound wrapper to avoid having queued sound buffers not being cleaned up properly in some cases. (Need to test on Windows now) 2010-03-27 18:35:47 +00:00
Titus Tscharntke 42919a50f2 data is ready for rotation feature
some little hotkey changes
2010-03-27 16:08:03 +00:00
James McCulloch 21acde48a9 * disabled leak dumper, causes broken build on linux 2010-03-27 08:28:31 +00:00
James McCulloch a9026f8c20 * added missing #include "leak_dumper.h" to new cpp files
* fix for map names not being formatted (and replaced explicit loops to do the same to tileSet & techTree)
 * fix exploration state for fog-of-war off & multiplayer (note: also turns off for AI, diff. behaviour to before)
 * added fogOfWar to GameSettings and added to cutom game menu/menu_state_custom_game.cpp
2010-03-27 07:09:34 +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
Mark Vejvoda 7d75f5cc97 bugfix for order of operations.. after rotating 360 degrees or more the enum didn't reset to 0 2010-03-27 02:22:14 +00:00
Mark Vejvoda 26289b70d2 Patch from PolitikerNEU for RGB / RGBA files 2010-03-26 16:55:17 +00:00
Mark Vejvoda 1e519fedbe Bugfix for incorrect header check for jpg textures 2010-03-26 05:45:46 +00:00
James McCulloch 9bca65faa3 * removed quick-fix for static init problem 2010-03-25 19:30:35 +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
Mark Vejvoda 2ce421e06c - disabled mouse revert in win32 as it doesn't seem to work properly (screen freezes while dragging)
- changed the mouse cursor at startup so it always looks like the regular glest mouse (unless we get one of those new glest error message boxes)
2010-03-25 06:35:18 +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 2b56cfe3b0 ported new mouse changes by Titi to win32 (and removed debug output for image classes) 2010-03-25 01:06:28 +00:00
Titus Tscharntke bf9ebf4912 space is used to reset camera to normal game view
mouse scrollwheel behaves different in maxZoom position
2010-03-25 00:58:58 +00:00
Titus Tscharntke 147447b638 better mouse camera navigation ( missing win32 implementation ) 2010-03-25 00:19:49 +00:00
Mark Vejvoda 844ca894b4 bugfixes for static init filereader concrete classes 2010-03-24 22:50:45 +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 eba5aa361c minor project file updates for win32 2010-03-24 16:48:42 +00:00
Mark Vejvoda cd4abf050d minor project file updates for win32 2010-03-24 16:38:31 +00:00
James McCulloch dfc32cdba2 * quick-fix for static initialisation problem in ImageReaders
* fix error in two part NetworkMessageCommandList receive
2010-03-24 13:39:08 +00:00
Mark Vejvoda e91c15b9e2 Updates to the Win32 projects to link in zlib, libpng, and libjpeg 2010-03-24 10:12:08 +00:00
Mark Vejvoda 6496d72533 Updates related to win32 camera zoom compile fixes 2010-03-24 10:10:56 +00:00
Mark Vejvoda 7521a251f5 Commented out temp debug printing 2010-03-24 07:11:12 +00:00
Mark Vejvoda 3ecf980649 Updated camera panning so that holding middle mouse button and moving the mouse changes the camera angle. 2010-03-24 01:28:48 +00:00
Titus Tscharntke ecc39ea911 PolitikerNEU jpg and png support! ( currently linux only ? )
Some little changes where I forgot to integrate the playername
Mousescroll is not longer super fast
2010-03-23 23:32:25 +00:00
Mark Vejvoda f18c73d371 Added shortcuts to the other tools installed with Mega-Glest 2010-03-23 18:03:26 +00:00
Mark Vejvoda 270ff57512 bugfix for startup errors to properly display on both windows and linux 2010-03-23 08:56:41 +00:00
Mark Vejvoda 221b099c67 More bug fixes for error handling if we have early program launch errors. 2010-03-23 08:46:20 +00:00
Mark Vejvoda 1fbff088e4 Some bugfixing for logfile saving after testing in win32 2010-03-23 07:59:24 +00:00
Mark Vejvoda ae10ab55b2 Added ability to automatically log debug info to a debug logfile (respecting the new read / write configurable path) 2010-03-23 06:57:41 +00:00
Mark Vejvoda 1e7cd63330 - Some improvements for setting max videomode when AutoMaxFullScreen=true and Windowed=false
- Added better logic to try to restore video when crashing
2010-03-23 06:03:16 +00:00
Mark Vejvoda b9b6aafe1c updated changes for win32 camera zoom 2010-03-23 05:08:56 +00:00
Mark Vejvoda 237b76e2f2 Updates to new netplayer code to default the value to the hostname and not crash if the property is missing from glest.ini. Also added new property to configurator 2010-03-23 02:37:41 +00:00
Mark Vejvoda 5b713bd785 Added camera zoom (from GAE) into mega-glest (middle mouse button zooms in and out like in GAE) 2010-03-23 02:35:55 +00:00
Titus Tscharntke 397fe3dc41 Network Playernames ( and some more changes in the options menu ) 2010-03-23 01:38:19 +00:00
Mark Vejvoda c26e924e8c Bugfix for unit rotate (when a produced unit is built, the wrong id was used) 2010-03-22 23:10:16 +00:00
Mark Vejvoda bc868ae7b1 Fixed fileexists checking order bug in configurator 2010-03-22 14:00:49 +00:00
Mark Vejvoda d713349187 Changed unit rotation logic to attach to existing ccBuild command (placing rotateAmount into the targetId field which was always unused for this commandtype). Commented out the old network code that was used to do this for now. 2010-03-22 04:47:16 +00:00
Mark Vejvoda 344c4778d1 Added the ability to tell mega-glest where to look for glest.ini, servers.ini and all of the various .log files. The new optional environment variable that mega-glest will look for is:
GLESTHOME
2010-03-21 23:40:35 +00:00
Mark Vejvoda 9756217445 Added full support to have maps, tilesets and techs in a scenario or tutorial folder. 2010-03-21 05:33:13 +00:00
Titus Tscharntke d4202298fd - when you swittch off the ai in a scenario the faction does not consume consumable ressources anymore ( food ..)
- gui bugfix commands are no more canceled when any unit dies
2010-03-20 15:02:52 +00:00
Mark Vejvoda 64513cdf90 bugfix for scenario folder not finding language file 2010-03-20 12:11:46 +00:00
Mark Vejvoda 8c08eefa28 Added EndsWith to headerfile 2010-03-20 12:09:30 +00:00
Mark Vejvoda edd3af5243 Bugfixes so that win32 code will work with latest user data changes 2010-03-20 11:16:07 +00:00
Mark Vejvoda a9d644eba0 Bugfixes so that win32 code will compile with latest user data changes 2010-03-20 10:52:55 +00:00
Mark Vejvoda a6609cbdab Bugfixes so that win32 code will compile with latest sdl changes 2010-03-20 09:02:56 +00:00
Mark Vejvoda 1f2c805fe8 Added new setting to allow playing glest using multiple monitors 2010-03-20 07:19:45 +00:00
Mark Vejvoda 4e9d348fbd Changed user data code to be one path where the data tree folder structure can be found 2010-03-20 00:46:16 +00:00
Mark Vejvoda bc5110c42f Changed defaults for glest.ini (to be ready for next release with proper defaults) and updated configurator with updated properties 2010-03-20 00:43:38 +00:00
Mark Vejvoda a731f9c2a9 Updates to Win32 code to port latest mega-glest features 2010-03-20 00:22:17 +00:00