Daniel Gibson
f77ca851d5
Small fix in Mem_Alloc16(): int->size_t
2012-12-29 04:27:01 +01:00
Robert Beckebans
e3584014b9
Fixed MSVC C++ exception warnings
2012-12-24 12:34:18 +01:00
Daniel Gibson
876aa96637
Fix messed up view angle after taking screenshots
...
Pretty much like https://github.com/dhewm/dhewm3/issues/18
but here it took some more changes
2012-12-23 06:43:20 +01:00
Daniel Gibson
7cfe7dd69a
Improve CMakeLists.txt
...
* manage warning flags in a variable, they're reused for
each profile anyway (but this way profile-specific flags can
still be added before or after the generic ones)
* added some disable-warning flags specifically for clang
2012-12-23 06:40:48 +01:00
Daniel Gibson
cca3053069
Prevent segfault on shutdown
...
This should also happen on Windows, I'm really surprised
this hasn't been noticed there
2012-12-23 06:40:48 +01:00
Daniel Gibson
ba126dde3a
Fixed various warnings from clang
2012-12-23 06:40:47 +01:00
Robert Beckebans
9280732913
Fixed Linux build.
2012-12-22 16:34:02 +01:00
Robert Beckebans
dd9b8a8710
Added support for precompiled headers for MSVC which reduced the compiled time from 4 minutes to 67 seconds.
2012-12-22 16:18:19 +01:00
Robert Beckebans
865ee792c0
Disabled usage of pthread_{get,set}_name because it does not work on all Linux systems.
2012-12-22 13:15:47 +01:00
Daniel Gibson
742ef7da83
Fix scrolling in Menus for SDL2
...
scrolling didn't stop, e.g. in the resolution selection menu
2012-12-22 03:26:01 +01:00
Daniel Gibson
f0dfe7e499
restore SDL1-support in sdl_events.cpp
...
* add define for SDL_SCANCODE_GRAVE - seems like only SDL2
has names for the values
* add some missing keys to SDL_KeyToDoom3Key
* add scancode to unmapped-key warning
* backspace needs to be handled the same for SDL1 as in SDL2
(i.e. a new event must be created for it) to work in console
2012-12-22 03:25:33 +01:00
Robert Beckebans
26d3ef7e54
Changed SAVE_PATH on Windows so we don't break the savegames of the original game.
2012-12-21 16:02:42 +01:00
Daniel Gibson
0be69a3162
Fix console on Linux
...
* Add support for Console-Key independently of KB Layout (with scancode)
* add support for TAB key
* Add hack so console is empty after opening it (SDL-only)
2012-12-21 04:58:50 +01:00
Daniel Gibson
ab86006668
Improve console behavior
...
* Pressing up and down again in the console will result in an empty line,
not the stay at the last line from history
* Pressing up will really show the last command, not the last-but-one
2012-12-21 04:58:50 +01:00
Robert Beckebans
731428164f
Fixed error: class idLocalUserWin has no member named StorageSizeAvailable
2012-12-20 02:38:01 +01:00
Robert Beckebans
6b918aef86
Disabled broken savegame and profile storage checks for the PC
2012-12-19 23:56:20 +01:00
Robert Beckebans
a95f5811b6
Updated README.txt
2012-12-19 16:19:42 +01:00
Robert Beckebans
bf7f892d5d
Updated README.txt with compile instructions for Linux
2012-12-19 16:18:18 +01:00
Robert Beckebans
f57d92a1ab
Renamed RBDoom3 to RBDoom3BFG
2012-12-19 15:23:57 +01:00
Daniel Gibson
b1dabf3efd
Improve R_GetModeListForDisplay()
...
* Fixed small bug when only one display mode was found by SDL2
* removed some redundant and dead code
* improved warnings
2012-12-18 22:50:59 +01:00
Daniel Gibson
4863f11607
Fix bug in vidMode_t constructor
...
it caused the default/static video mode list to contain only garbage
2012-12-18 22:49:22 +01:00
Robert Beckebans
978044d491
Merge branch 'master' into glew
2012-12-18 11:36:38 +01:00
Daniel Gibson
f3c4948b2f
R_GetModeListForDisplay() for SDL2
2012-12-18 01:11:21 +01:00
Daniel Gibson
dd987814f7
Fix cursor in menus
...
it didn't work correctly because the mouse isn't grabbed
(in contrast to dhewm3).
It's fixed now by returning absolute coordinates when a menu
is open, furthermore the cursor is now always hidden.
2012-12-18 01:10:38 +01:00
Robert Beckebans
9c477c6bd9
Possible fix for the linker problems on Ubuntu 12.04 64 bit
2012-12-17 20:36:11 +01:00
Robert Beckebans
ff531907c7
Replaced QGL with GLEW.
2012-12-17 17:30:59 +01:00
Robert Beckebans
99166faf71
Fixed compile problems on Win64
2012-12-17 12:24:31 +01:00
Daniel Gibson
e42a886b29
remove deprecated glShadeModel stuff
...
it's only for fixed function opengl, thus it's not needed and deprecated in OpenGL 3.2
AMD's driver complains about this.
2012-12-17 01:02:53 +01:00
Daniel Gibson
ddaa0c8f70
Fix crash when loading mc_underground map
...
it was because in Window.cpp/h a lot of pointers were castet to ints..
if such abomination is done at least use intptr_t...
2012-12-17 00:54:48 +01:00
Robert Beckebans
63f9d4000f
First playable version on Linux.
2012-12-16 17:31:21 +01:00
Robert Beckebans
823ea36ffe
Added support for OpenGL 3.2 context debugging using SDL 2.0
2012-12-16 12:22:07 +01:00
Robert Beckebans
b7d3481f57
Fixed missing 16 byte alignment on 32 bit Linux for SSE structs.
2012-12-15 14:53:11 +01:00
Robert Beckebans
d7888cf99d
Added support for SDL 2.0
2012-12-14 19:03:30 +01:00
Robert Beckebans
202c54ffff
Fixed backslashes bug in idRenderProgManager::LoadGLSLShader()
2012-12-14 14:21:50 +01:00
Robert Beckebans
8c9a2d3e0b
Some changes to the filesystem to give local files a higher priority than resource files.
2012-12-14 14:20:04 +01:00
Robert Beckebans
8b8cfe7d25
Small changes to pthreads.
2012-12-14 13:10:52 +01:00
Robert Beckebans
776b1a2938
Merge remote-tracking branch 'DanielGibson/linux'
2012-12-14 12:06:40 +01:00
Robert Beckebans
7e29478f9e
Merge branch 'linux'
2012-12-14 11:51:57 +01:00
Robert Beckebans
3e533d1e29
Merge branch 'linux' of https://github.com/RobertBeckebans/RBDOOM-3-BFG into linux
2012-12-14 11:50:29 +01:00
Robert Beckebans
7b43a34f37
Changed idSysSignal pthread implementation to consider the manualReset parameter
2012-12-14 11:50:20 +01:00
Daniel Gibson
a5f5d75e82
Use -O0 for Debug builds, make sure that compiles
...
because of some GCC bug the included refactoring in
PacketProcessor.* was necessary
2012-12-14 00:52:31 +01:00
Daniel Gibson
67d6a5a1fa
Make sure SDL_Init() was called before SDL_VideoInfo()
...
by adding GLimp_PreInit()
2012-12-14 00:51:22 +01:00
Robert Beckebans
9abdf06367
Merge remote-tracking branch 'DanielGibson/linux'
2012-12-14 00:20:51 +01:00
Daniel Gibson
ebbb98c9bd
eliminate more longs
...
for 64bit compatibility.
2012-12-13 22:07:49 +01:00
Robert Beckebans
ca85c4d27b
Added changes to compile for Win64
2012-12-13 20:37:55 +01:00
Daniel Gibson
ee88148bd1
eliminate more longs
...
for 64bit compatibility.
2012-12-13 01:28:41 +01:00
Robert Beckebans
86deed26b8
Merged 64 bit fixes.
2012-12-12 12:11:55 +01:00
Robert Beckebans
2952f227ea
Merge remote-tracking branch 'DanielGibson/linux' into linux
2012-12-12 11:35:19 +01:00
Robert Beckebans
baac8780a5
Fixed some bugs in idSysSignal.
2012-12-12 11:29:55 +01:00
Robert Beckebans
47f3f1b999
Fixed bug in Sys_CPUCount()
2012-12-12 00:37:01 +01:00