dhewg
f3ce725f8e
cmake: Whitespace fixes for consistency
2012-07-09 23:31:35 +02:00
dhewg
28d127b230
cmake: default to build d3xp
2012-07-09 23:12:07 +02:00
dhewg
0b22c8e297
cmake: Remove fugly hack to compile 32bit binaries
...
This doesn't work on multiarch systems. A proper cmake toolchain file
has to be used instead.
2012-07-09 23:03:12 +02:00
dhewg
600a07e134
cmake: Fix error when curl is not found
...
Set the library name to an empty string to prevent this error:
CMake Error: The following variables are used in this project, but they
are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the
CMake files:
CURL_LIBRARY (ADVANCED)
2012-07-09 22:57:13 +02:00
dhewg
96e8b7b904
cmake: Use GNUInstallDirs
...
Provides configure style overwritable path settings.
Include a fallback for cmake versions without GNUInstallDirs.
2012-07-09 22:52:05 +02:00
dhewg
390b6a493d
Try to find a steam install for the base path
2012-07-06 19:47:34 +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
90bd14564f
Remove redundant setenv() call
...
The version which overwrites existing envvars is just below.
2012-07-06 01:41:12 +02:00
dhewg
5a9c2006ff
Get rid of Posix_EarlyInit() and Posix_LateInit()
...
Since we don't have our own signal handler anymore, those two
init functions can be merged into the existing Sys_Init(), which
is already called by common->Init().
2012-07-06 01:39:01 +02:00
dhewg
0bc457063f
Get rid of the signal handler
...
SDL covers this via e.g. SDL_QUIT event on ctrl+c.
2012-07-06 01:31:27 +02:00
dhewg
d2b7eac843
Get rid of Sys_SetFatalError()
...
Unnecessary.
2012-07-06 01:24:25 +02:00
dhewg
33c841ef4c
Get rid of socks proxy code in win_net.cpp
...
That was never active.
2012-07-06 01:07:02 +02:00
dhewg
7c06aa16b8
Fix warnings in win_net.cpp
...
warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
warning: unused variable ‘len’ [-Wunused-variable]
warning: format ‘%d’ expects argument of type ‘int’, but argument 3
has type ‘long long unsigned int’ [-Wformat]
2012-07-06 01:07:01 +02:00
dhewg
1f9c88fc22
Correct the cpu type for 64bit msvc
2012-07-06 01:07:00 +02:00
dhewg
78822ac932
Disable warning 4267 for msvc
...
Spams the console due to 32bit data types on 64bit.
2012-07-06 01:07:00 +02:00
dhewg
d6dd8c636b
Fix sys/cpu.cpp for msvc 64bit
2012-07-06 01:06:59 +02:00
dhewg
d22865b8a1
Use _exit() in AssertFailed()
...
Ensure application exit.
2012-07-06 01:06:59 +02:00
dhewg
5fee87be2a
Replace "__asm int 0x03" with __debugbreak()
...
Fixes compilation with msvc 64bit.
2012-07-06 01:06:58 +02:00
dhewg
30c66d5ef8
Only compile msvc style asm with 32bit msvc
...
The 64bit compiler doesn't support __asm.
2012-07-06 01:06:57 +02:00
dhewg
84717833e1
Get rid of sysMemoryStats_t
...
Unused.
2012-07-06 01:06:56 +02:00
dhewg
68284f9a09
Get rid of empty sys/linux/dedicated.cpp
2012-07-06 01:06:56 +02:00
dhewg
d53c91b023
Get rid of useless files in sys/linux
2012-07-06 01:06:55 +02:00
dhewg
b073f281ad
Get rid of the SIGFPE handler
...
If shit happens, let it crash.
2012-07-06 01:06:55 +02:00
dhewg
9cbc9ff6db
Get rid of win_cpu.cpp
...
All unused now.
2012-07-06 01:06:54 +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
93fdc96e60
Get rid of Sys_FPU_EnableExceptions()
...
No exceptions were ever enabled.
2012-07-06 01:06:51 +02:00
dhewg
65b13cb73e
Use a more modern way to set the fpu precision
2012-07-06 01:06:51 +02:00
dhewg
a4558bb080
Get rid of Sys_FPU_SetRounding()
...
Unused.
2012-07-05 21:31:49 +02:00
dhewg
0ef470de6c
Use common->Warning() in linux/main.cpp
2012-07-05 19:15:12 +02:00
dhewg
8f157e63db
Convert backslashes in the windows EXE path
2012-07-05 19:15:11 +02:00
dhewg
571f6b3d3b
Overhaul the windows BASE path
...
Look for "base" next to the binary first, then the vanilla
doom3 path (written to the registry by the original installer).
2012-07-05 19:14:13 +02:00
dhewg
f6c0e2a174
Split GetHomeDir()
...
Makes the WCHAR to char path code reusable.
2012-07-05 18:18:01 +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
3706f8fb85
README: update zlib/minizip license blob
...
The remainder of framework/Unzip.cpp does not contain zlib code
anymore, only minizip.
2012-07-04 22:11:38 +02:00
dhewg
c5141488a9
README: Mention the new zlib dependency
2012-07-04 22:11:34 +02:00
dhewg
6179e855a9
Use system zlib
2012-07-04 18:56:29 +02:00
dhewg
764799c14f
Initial make install
target for *nix
...
cmake fails it, so *nix only.
2012-07-04 02:18:51 +02:00
dhewg
1da44eb856
Fix Sys_IsLANAddress() on *nix
...
Don't just convert the first char of the IP.
LAN clients now get properly detected and don't need to auth
against the master server.
2012-07-04 02:18:51 +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