dhewg
227e8ee5c9
Add SDL2 support to framework/Common.cpp
2012-07-20 21:02:59 +02:00
dhewg
f120900000
SDL2's SDL_TimerID is not a pointer anymore
2012-07-20 17:34:38 +02:00
dhewg
368bf2819c
Log the SDL version
2012-07-20 17:34:32 +02:00
dhewg
7f3fc825ed
Get rid of GetCardCaps()
...
Useless now.
2012-07-20 00:13:04 +02:00
dhewg
e0fd437ba9
Don't warn about uppercase chars in filenames
...
Only print those in developer mode.
2012-07-20 00:12:56 +02:00
dhewg
2a3d07e174
More logging cleanup
2012-07-20 00:12:55 +02:00
dhewg
2052928433
Fall back to fs_basedir for cd keys
...
The windows cd installer and steam write it to that location.
2012-07-06 19:38:32 +02:00
dhewg
d2b7eac843
Get rid of Sys_SetFatalError()
...
Unnecessary.
2012-07-06 01:24:25 +02:00
dhewg
b58f51dbfa
Get rid of Sys_FPU_StackIsEmpty()
...
Same as with Sys_FPU_GetState().
2012-07-06 01:06:53 +02:00
dhewg
0ccef1eba8
Get rid of Sys_FPU_GetState()
...
This was only implemented with MSVC style asm.
Comments suggest that it was used to help catch invalid FOV calculations,
which were probably only happening with ancient compiler bugs.
2012-07-06 01:06:53 +02:00
dhewg
65b13cb73e
Use a more modern way to set the fpu precision
2012-07-06 01:06:51 +02:00
dhewg
57e964f369
Use FILENAME_MAX for MAX_OSPATH
...
Fixes compilation with fucking MSVC.
2012-07-05 17:25:11 +02:00
Andre d
7a5b8b1ec0
Remove (faulty/outdated) video ram detection
2012-07-04 22:47:38 +02:00
dhewg
6179e855a9
Use system zlib
2012-07-04 18:56:29 +02:00
dhewg
20aaba2c65
Bump ASYNC_PROTOCOL_MINOR
...
Due to changed protocol we're not compatible anymore.
2012-07-04 02:18:50 +02:00
dhewg
7620131b8f
Remove net_serverAllowServerMod cvar
...
Unused.
2012-07-04 02:18:50 +02:00
dhewg
b5fd5b0c9b
Remove remaining binary pak FileSystem code
2012-07-04 02:18:49 +02:00
dhewg
0b08240e02
Remove all OS specific gamepak code
...
Useless since there are no gamepaks.
2012-07-04 02:18:48 +02:00
dhewg
cac32559e7
Remove all gamepak FileSystem<->Async[Client|Server] code
2012-07-04 02:18:48 +02:00
dhewg
b049ea78e9
Don't try to extract libraries from gamepaks.
2012-07-04 02:18:47 +02:00
dhewg
a86cbb1bff
Remove UpdateGamePakChecksums()
...
Not required anymore.
2012-07-04 02:18:46 +02:00
dhewg
72156cb1b4
Remove all client/server gamepak checks
...
We don't use any gamepaks anymore, remove the related checks.
2012-07-04 02:18:46 +02:00
dhewg
3d4be95474
Ignore binary pk4's
...
We only load local game libraries, do not ever load binary pk4's.
2012-07-04 02:18:45 +02:00
dhewg
3e9545fb71
Overhaul the *nix based BASE path
...
Try BUILD_DATADIR first (build time setting), then the vanilla
doom3 path.
2012-07-04 02:18:44 +02:00
dhewg
be37221024
Rename game libraries to the game name
...
Never use "game" as library name, use the game name instead. This
allows d3xp/mods to coexist in a single (installation-)directory.
This paves the way for future `make install` or binary installers.
Additionally, the "mods" menu entry works from within the game gui.
2012-07-04 02:18:43 +02:00
dhewg
822f9d30b5
Always load the game library from known places
...
Never use the virtual filesystem, and never use binaries from
pk4 files. Instead, try the build folder and fall back to the
known installation folder.
2012-07-04 02:18:43 +02:00
dhewg
e55753e626
Introduce fs_configpath
...
Split fs_savepath for config files. This is in preparation for
moving the writable paths on *nix to $XDG_DATA_HOME and
$XDG_CONFIG_HOME.
Affected files: config.spec, *.cfg, doomkey, xpkey.
2012-07-03 21:12:58 +02:00
dhewg
478fa783f6
Unify Sys_*Path() into Sys_GetPath()
2012-07-03 21:12:56 +02:00
dhewg
3256783af1
Get rid of ID_DEMO_BUILD
...
There are no demo pk4s compatible to this 1.3.1 codebase.
2012-07-03 21:12:55 +02:00
dhewg
99864667a7
Use PATH_MAX for MAX_OSPATH on all platforms
...
The hardcoded 256 doesn't cut it.
2012-07-03 21:10:45 +02:00
dhewg
822b0b84af
s/ReadDeltaLongCounter/ReadDeltaIntCounter/
...
to match the return type
2012-06-28 13:52:24 +02:00
dhewg
c51f59cb15
s/WriteDeltaLongCounter/WriteDeltaIntCounter/
...
to match the argument type.
2012-06-28 13:52:24 +02:00
dhewg
9034da11d0
s/ReadLong/ReadInt/ to match the return type
2012-06-28 13:52:24 +02:00
dhewg
94df46637a
s/WriteLong/WriteInt/ to match the argument type
2012-06-28 13:52:23 +02:00
dhewg
49c4d028a5
s/LittleLong/LittleInt/ to match the return type
2012-06-28 13:02:47 +02:00
Daniel Gibson
0eb604c436
Use int instead of long in FS_WriteFloatString()
...
The correct type for %d, %i, %u, ... is int, not long.
Even if FS_WriteFloatString() didn't care about that, sprintf() (which is called
with the same format strings and the corresponding values) does.
2012-06-28 13:02:46 +02:00
Daniel Gibson
e8f047bcb6
Use int instead of long in idCompressor_Arithmetic methods
...
They return int anyway, so using long doesn't make sense (and originally on
win32 it didn't make a difference anyway)
2012-06-28 13:02:46 +02:00
dhewg
6d6c5c8ce7
Fix "unreachable code" warnings
2012-01-15 14:13:44 +01:00
dhewg
898f690fc4
This is dhewm 3
...
Rename project, now at https://github.com/dhewm
2012-01-14 20:06:05 +01:00
dhewg
d472149426
Get rid of unused defines in Licensee.h
2012-01-14 17:59:37 +01:00
dhewg
b7ce0ef149
CMake: Use config.h for BUILD_OS and BUILD_CPU
...
This fixes, among others, FreeBSD 64bit builds where the build
system used a "amd64" suffix and runtime "x86_64".
2012-01-14 15:19:12 +01:00
dhewg
827124431e
CMake: Detect libcurl and use it when found
...
Move ID_ENABLE_CURL to config.h
2012-01-14 15:09:29 +01:00
dhewg
b5c66c088c
Get rid of ID_OPENAL
...
This is always required for clients.
2012-01-14 15:02:26 +01:00
dhewg
ece2adbdcd
Port EAX to EFX
...
First attempt at porting the EAX reverb code to EFX.
This only works when the ALC_EXT_EFX extension is supported by
the OpenAL vendor (which is not the case for the OSX supplied
framework, use OpenAL soft instead).
The current stable version of OpenAL Soft (v1.13 as of this
writing) can barely handle this additional workload, current
master is highly recommended when using this feature.
2012-01-08 22:04:56 +01:00
dhewg
6a1d6cb842
Always allow multiple instances
2012-01-08 12:24:58 +01:00
dhewg
9542663097
Get rid of Sys_DefaultCDPath()
...
Stub on all platforms.
2012-01-08 12:24:58 +01:00
dhewg
82a87863ff
Rename FILE_[EXEC|OPEN] due to conflict
...
Some MinGW versions already define it.
2012-01-07 15:40:18 +01:00
dhewg
1fed72fbb4
Get rid of Sys_DoPreferences()
...
The OSX backend was the only one utilizing this to set CVars
for the video mode.
Not required anymore since its now based on SDL.
2012-01-05 00:24:13 +01:00
dhewg
03d4833aa9
Use memory mapped async mixing on OSX
...
The OSX specific preferences dialog sets com_asyncSound to "1"
when OpenAL is used, do the same.
2012-01-05 00:24:13 +01:00
dhewg
4740a55295
Don't use a console lock on Windows or OSX builds
...
Sync with Linux.
2012-01-02 20:00:11 +01:00