Commit Graph

5915 Commits

Author SHA1 Message Date
Mark Vejvoda e56ce605db Ported latest linux changes to win32 2010-04-03 02:28:49 +00:00
Mark Vejvoda e3a3b974da Added more debug output and protection for X11 font processing 2010-04-03 02:23:46 +00:00
Mark Vejvoda 092f3a2bca some changes in preparation for file transfers 2010-04-03 02:22:41 +00:00
Mark Vejvoda c8019116c5 Slight change to use receiver's IP address instead of manufactured packet info 2010-04-03 02:21:04 +00:00
Mark Vejvoda 02d0781b40 A few changes to allow for better keyboard state detection 2010-04-02 17:37:04 +00:00
Titus Tscharntke 198d2aeb98 improved resolution change in options menu 2010-04-02 14:21:43 +00:00
Mark Vejvoda 8cf77f1b8a Ported LAN auto-connect feature to win32 2010-04-02 03:06:27 +00:00
Mark Vejvoda bc725454fd Added a new menu item in join menu and added a threaded callback system for clients when searching for servers so that the UI doesn't wait for responses 2010-04-02 02:33:32 +00:00
Mark Vejvoda d4e645424a added a fallback to fixed font on X11 in case of missing fonts 2010-04-02 00:31:39 +00:00
Mark Vejvoda 2391d025ac Bugfix for X11 font loading when NULL pointer encountered. 2010-04-01 20:42:07 +00:00
Titus Tscharntke c678d35bdb new glest ini, font handling changed!!!
"dynamic" fonts for linux ( maybe an error fallback should be added in gl_wrap.cpp if font is not available )
better option menu layout
2010-04-01 18:59:05 +00:00
Mark Vejvoda 05a031cc0e Attempt to fix the retrieval of supported video resolutions 2010-04-01 16:23:25 +00:00
Mark Vejvoda 02c41f7b77 Attempt to fix the retrieval of supported video resolutions 2010-04-01 16:22:17 +00:00
Mark Vejvoda 76f4b87cbb ifdef for win32 only code 2010-04-01 07:53:07 +00:00
Mark Vejvoda e392f3ca2f Changed posix to use all IP addresses for LAN auto connect 2010-04-01 07:50:15 +00:00
Mark Vejvoda 6c92f188b6 Ported auto-discover LAN connect to win32 2010-04-01 07:46:14 +00:00
Mark Vejvoda 215fbdb33f Temp bugfix so that options menu will load, resolution that it tries to auto-select when opening did not exist and caused a crash. 2010-04-01 07:38:49 +00:00
Mark Vejvoda 0bcb710606 Added auto-discovery of LAN servers using UDP broadcast. (for now the client must press the A key from the join menu to trigger this) 2010-04-01 06:31:10 +00:00
Titus Tscharntke 5ecc84099a fonts
options menu
ingame resolution change ( game restart needed )
everything not really poolished yet!
2010-04-01 00:13:28 +00:00
Mark Vejvoda 2eae390d34 Added ServerPort to code so we actually use its value in code. Removed ServerPort from Configurator to make it more protected from common users 2010-03-31 17:30:12 +00:00
Mark Vejvoda 3b38d143d9 Converted win32 project to use SDL so that more code is shared and cross platform friendly. This fixes the issue with using the mouse to scroll the camera. 2010-03-30 00:27:05 +00:00
Mark Vejvoda a74fa24001 Converted win32 project to use SDL so that more code is shared and cross platform friendly. This fixes the issue with using the mouse to scroll the camera. 2010-03-30 00:25:35 +00:00
Mark Vejvoda dab5cb840f Added a script for debian based linux distros to pull down required dependencies to build mega-glest 2010-03-28 04:04:44 +00:00
Mark Vejvoda 87e8246c19 Switched the source code release archive builder back to linux friendly format so that file properties are preserved 2010-03-28 02:31:19 +00:00
Titus Tscharntke 52c40e0713 3.3.2-beta1 2010-03-27 22:22:33 +00:00
Mark Vejvoda cda368b96c Added logic to NOT trigger camera mousemove if keyboard has a key pressed so you can scroll with keys and still move mouse simultaneously 2010-03-27 21:32:33 +00:00
Mark Vejvoda 02b1cb40e2 Bugfix and additional debugging of directx sound under win32 (added an explicit stop of playing the next buffer 2010-03-27 20:33:46 +00:00
Mark Vejvoda 5604473d28 added missing header 2010-03-27 18:43:38 +00:00
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