Felix Rueegg
502b9fa180
Fixed doomclassic compiler warnings
2013-11-16 16:22:42 +01:00
Felix Rueegg
bbd634b01e
Doomclassic OpenAL sound positioning changes
2013-11-15 17:26:30 +01:00
Felix Rueegg
41d44b38d5
Added OpenAL for doomclassic to CMake and fixed the sound stub problem
2013-11-13 18:36:15 +01:00
Felix Rueegg
ad2a82ebb2
Added OpenAL support for doomclassic
2013-11-13 18:20:39 +01:00
Felix Rueegg
0e2709674b
Function I_ProcessSoundEvents was missing in doomclassic sound stub
2013-11-05 18:25:17 +01:00
Felix Rueegg
de1e9ff67e
Fixed doomclassic memory allocations for 64-bit compatibility. It compiles and runs now on 64-bit Linux (without sound).
2013-11-01 09:16:41 +01:00
Felix Rueegg
cf15f4d39d
Replaced obsolete pointer in maptexture_t with int for 64-bit compatibility
2013-11-01 08:49:20 +01:00
Felix Rueegg
c9f19c03b8
Changed doomclassic pointer casts for 64-bit compatibility
2013-11-01 08:38:10 +01:00
Felix Rueegg
40d0623479
Removed some more undefined types in Linux
2013-11-01 08:27:00 +01:00
Felix Rueegg
38da0fb308
Fixed some undefined types
2013-10-31 22:12:49 +01:00
Felix Rueegg
7d2d3ee348
Define MAX_PATH for doomclassic when not compiled for Windows
2013-10-31 21:52:11 +01:00
Felix Rueegg
7e3e0fd95d
Removed doomclassic networking functions
2013-10-31 21:44:58 +01:00
Felix Rueegg
513fc0ee8f
Added doomclassic for Linux to CMake
2013-10-31 21:25:05 +01:00
Robert Beckebans
a92a49dc2f
Astyle
2013-10-30 09:42:24 +01:00
Jonathan Young
db626df078
Fixed the autosave dialog being stuck on the screen when starting a map (map or devmap) via the command line, or before selecting Doom 3.
2013-10-19 16:43:39 +10:00
Jonathan Young
2555b804d6
Fixed ERR_DROP resulting in a glitched screen with only the console accessible - show the main menu instead.
2013-09-29 21:03:32 +10:00
Robert Beckebans
9e7230de34
Disabled tunnel vision. Fixes #33 Red screen flash on damage does not dissapear until load or full health
2013-09-25 09:19:21 +02:00
Robert Beckebans
c603add210
Reverted fs_resourceLoadPriority. Be aware to keep this changed if you work on mods or standalones. fixes #59 Player starts out with Soul Cube in Doom 3
2013-09-25 09:09:09 +02:00
Jonathan Young
c925f05f85
Fixed warp effect not being centered when r_useVirtualScreenResolution was 0.
2013-09-22 13:50:49 +10:00
Jonathan Young
bb2e41b5d7
Added r_useVirtualScreenResolution cvar to control whether to do 2D rendering at 640x480 and stretch to the current resolution (default), or render at the current resolution.
2013-09-21 22:12:42 +10:00
Jonathan Young
b3983e582a
astyle
2013-09-21 19:37:12 +10:00
Jonathan Young
4c7a2c5de3
Prioritize source SWF and image (for SWF atlas) files over their binary equivalents in resources files when not in production mode. Now you can replace individual menus without having to extract and delete all the base/*.resources files first.
2013-09-21 19:35:00 +10:00
Jonathan Young
adf2b63e88
Skip some common SWF tags (FileAttributes, Metadata and SetBackgroundColor) instead of failing to load a SWF file if any of them are encountered.
2013-09-21 19:27:03 +10:00
Jonathan Young
a1776a22d0
r_vidMode sanity check was off by 1.
2013-09-18 12:39:31 +10:00
Jonathan Young
45ea17fd70
Removed unused FileSystem variables.
2013-09-17 20:36:18 +10:00
Jonathan Young
1c500b710b
Mirror source code directory structure in generated MSVC projects.
2013-09-16 17:54:14 +10:00
Robert Beckebans
2fafef6a03
Merge pull request #62 from DanielGibson/fix-gldebug-compile
...
Fix gldebug compile
2013-08-31 10:36:31 -07:00
Daniel Gibson
9372fddabb
Fix compile when system GLDEBUGPROCARB signature is without const
...
.. by just casting our DebugCallback to GLDEBUGPROCARB.
It shouldn't make a difference ABI-wise, if there is a const at
a parameter or not.
Fixes #61
2013-08-31 19:23:45 +02:00
Robert Beckebans
d3ddf61d9c
Changed signature of GLDEBUGPROCARB to match OpenGL GL_ARB_debug_output specs
2013-08-29 09:38:52 +02:00
Robert Beckebans
bc45492d9c
Fixed typo that hid the sys/*.h files in the VS solutions
2013-08-14 02:48:07 +02:00
Robert Beckebans
cfbbcd6fe6
Merge pull request #60 from DanielGibson/fix-sdl2
...
Fix compiling with SDL2 release
2013-08-13 14:10:07 -07:00
Daniel Gibson
1f5579a697
Fix compilation with SDL2 Release
...
.. they removed ev.key.keysym.unicode - but checking for
SDL_SCANCODE_GRAVE is better anyway to handle console key
2013-08-13 23:08:48 +02:00
Robert Beckebans
395d3a35cf
Merge pull request #51 from DanielGibson/debug-threads-freebsd
...
Fix DEBUG_THREADS on FreeBSD
2013-06-23 12:42:15 -07:00
Daniel Gibson
88b23611f9
Fix DEBUG_THREADS on FreeBSD
...
There was a typo in an #include, furthermore FreeBSD has no
pthread_getname_np equivalent.
I added Sys_GetThreadName() so the code is a bit cleaner.
2013-06-23 19:16:23 +02:00
RobertBeckebans
86c2ea4d61
Merge pull request #49 from unkier/code_duplication
...
Code duplication in idWeapon::Clear
2013-06-03 02:17:36 -07:00
Dmitry Shapovalov
e6b4326f86
Code duplication in idWeapon::Clear
2013-06-03 14:56:25 +06:00
Robert Beckebans
3b67eabf79
Fixed critical bug in the generic C++ code of DotProduct_SIMD that caused massive errors in the physics system
2013-06-01 18:29:12 +02:00
Robert Beckebans
2a4970c86c
Added CMake batch file for OpenAL
2013-06-01 15:15:18 +02:00
Robert Beckebans
db715535cc
Merged generic C++ fallbacks for SSE optimized code to allow support for non-x86 based platforms like ARM
2013-06-01 15:13:00 +02:00
Robert Beckebans
e510691c36
Changed model loader to not generate binary files for defaulted models. closes #39
2013-05-24 19:27:18 +02:00
Robert Beckebans
bdfc2aadb1
Allow slow-motion sound effect for OpenAL sounds
2013-05-24 18:55:56 +02:00
Robert Beckebans
e7ffc153c2
Added back workaround in RB_DrawElementsWithCounters
2013-04-10 02:40:09 +02:00
Robert Beckebans
d176bca1e7
Fixed critical out of bounds bug in RB_DrawShaderPasses()
2013-04-10 02:13:27 +02:00
Robert Beckebans
3023533e57
Added pthread priority code but it is disabled by default because it requires root privileges
2013-03-26 13:43:30 +01:00
Robert Beckebans
cbd696cc67
Merge remote-tracking branch 'DanielGibson/improve-threading'
2013-03-26 09:58:14 +01:00
Robert Beckebans
dcae311b7f
Renamed in_kbd to in_keyboard
2013-03-26 09:56:48 +01:00
Daniel Gibson
3c755e490b
change threadnames so they fit into 15chars
...
+ terminating null byte - that's the limit of threadnames on linux
Furthermore: idJobThread::Start used va() to create the threadname.
va() isn't threadsafe... so I replaced it with a local buffer and
idStr::snPrintf()
2013-03-26 00:36:04 +01:00
Daniel Gibson
da9ab07e9c
Refactor setting threadname on POSIX systems
...
* setting threadname is now done in a seperate function
* if setting the threadname fails, it just prints a warning now
instead of terminating the game with a FatalError
2013-03-26 00:36:04 +01:00
Daniel Gibson
fe18a49303
Improve POSIX threading code
...
* setting threadname is now done in a seperate function so it's a bit
cleaner (it's different for every platform..)
* replace/refactor signaling code (based on my SDL threading branch and
the old pthread signaling code from RB):
- The interface is like on win32 now (Sys_Signal* functions instead of
overwriting idSysSignal class)
- created a custom signalHandle_t struct for that, which contains all
needed information
- Mimic Windows functions used in win32 implementation more closely,
e.g. signal all waiting threads on manualReset signalRaise, count
waiting threads etc. I'm pretty sure the behavior on Win32 and POSIX
now is identical (as far as possible).
2013-03-25 22:05:02 +01:00
Daniel Gibson
ae02bb54a1
Make it compile with SDL2 again
...
For some reason SDL.h (or headers included by it) need some
string functions (like strncmp) in inline-functions (that we
don't even use).
Str.h has #defines preventing their usage.. so #undef those in
the (few) sourcefiles that need SDL headers
2013-03-24 23:44:13 +01:00