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
dhewg
b242041319
Make Sys_DLL_Load() on *nix non verbose on errors
...
Just like the windows port.
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
1a5ddc01d0
Add TODO for OSX .dylib's for the bundle
2012-07-04 02:18:42 +02:00
dhewg
fecf720c75
Introduce CMAKE_INSTALL_PREFIX relative paths
...
configure style install dirs.
2012-07-04 02:18:42 +02:00
dhewg
3dad2151c5
Get the shared library suffix from the build system
2012-07-03 21:13:00 +02:00
dhewg
262df52cdd
Drop the CPU suffix from libraries on all platforms
2012-07-03 21:13:00 +02:00
dhewg
ff00686218
Provide a fallback for PATH_EXE on *nix
...
Less pain on BSD.
2012-07-03 21:12:59 +02:00
dhewg
14ba5b82c6
Use XDG Base Directories on *nix
...
See
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
2012-07-03 21:12:59 +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
8f6f1883ff
Use Library/Application Support/dhewm3 on OSX
2012-07-03 21:12:57 +02:00
Daniel Gibson
2375dd1588
Use My Documents/My Games/dhewm3 on windows
...
Includes savegames, configs, screenshots and so on.
And "My Documents" is actually CSIDL_PERSONAL, see
http://msdn.microsoft.com/en-us/library/windows/desktop/bb762494%28v=vs.85%29.aspx
This somehow matches the behaviour on Linux and OSX where this stuff is
saved in some kind of home-dir (e.g. ~/.doom3)
Taken (with kind permission) from Yamagi Quake II's Sys_GetHomeDir()
2012-07-03 21:12:57 +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
e2ca3d1f84
Get rid of sys_stub.cpp
...
Unused.
2012-07-03 21:12:54 +02:00
dhewg
2d69979be2
Use the portable getifaddrs() on *nix
...
Cleanup the OSX specific code in Sys_InitNetworking() and use it
for all *nix platforms.
Fixes nic detection on BSD.
2012-07-03 21:11:05 +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
f000947d4e
Fixes issues with MacOSX.
...
- Fixes compiler errors with mismatching types in DoomController.mm
- Adds PPC_INTRINSICS fix to Simd_Altivec.h
2012-06-28 14:08:39 +02:00
dhewg
112c00d409
Rename PVS vars to match their type
2012-06-28 13:52:26 +02:00
dhewg
902a9cee8a
s/ReadDeltaLong/ReadDeltaInt/
...
to match the argument type
2012-06-28 13:52:25 +02:00
dhewg
f767af9d72
s/WriteDeltaLong/WriteDeltaInt/
...
to match the return type
2012-06-28 13:52:25 +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
5f5a6e7043
s/BigLong/BigInt/ to match the return type
2012-06-28 13:52:22 +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
a0fb3cd699
Don't use long in CollisionModel_local.h
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
Daniel Gibson
600531ec98
Don't use long for DDS magic number
...
It's a DWORD (i.e. 32bit int) according to spec, so using long is
actually wrong when sizeof(long) == 8.
2012-06-28 13:02:46 +02:00
Daniel Gibson
0d27bfe7b9
Remove usage of long type from idlib/
...
Apart from some minor stuff, this changes the signature of some methods
of Parser and Token classes and of the (unused) Random2 class.
That no problem though, because the calling code uses normal ints
anyway.
2012-06-28 13:02:45 +02:00
Daniel Gibson
b9247b67b4
Remove longs from game/ and d3xp/
...
(Except for handling of longs in TypeInfo and win32-only Maya import stuff).
sizeof(long) == sizeof(int) on x86 and win64,
but not on 64bit (x86_64) linux/unix/osx/.. so they should be avoided.
2012-06-22 18:20:09 +02:00
Daniel Gibson
4244436d7d
Fix PVS calculations on 64bit systems
...
Monsters got stuck in same places of d3xp because PVS calculations
returned that they were not in the players PVS.
This only happened on LP64 systems like Unix/Linux amd64 where
sizeof(long) == 8 - it did not happen on Win64 because it's LLP64, i.e.
sizeof(long) == 4 (like on x86 32bit).
Bit fiddling code in Pvs.cpp seemed to assume that sizeof(long) == 4
like on win32.
Fixes #7 .
2012-06-22 16:13:08 +02:00