Daniel Gibson
b3dc1ee9c6
Replace custom unzip functions with standard ones
...
unz[SG]etCurrentFileInfoPosition() isn't needed anymore,
because newer minizip versions have unz[SG]etOffset() for
that purpose.
2018-08-20 01:46:38 +02:00
Daniel Gibson
e19de75a99
CD-Key check for internet-games can now be disabled
...
with ID_ENFORCE_KEY_CLIENT 0
This patch is from Kot-in-Action Creative Artel
Fixes #55
2018-08-20 01:46:37 +02:00
dhewg
2ecfd21427
Use FILENAME_MAX for MAX_OSPATH
...
Fixes compilation with fucking MSVC.
2018-08-20 01:46:35 +02:00
Andre d
a6834f2f39
Remove (faulty/outdated) video ram detection
2018-08-20 01:46:35 +02:00
dhewg
f9ca9c0119
Bump ASYNC_PROTOCOL_MINOR
...
Due to changed protocol we're not compatible anymore.
2018-08-20 01:46:34 +02:00
dhewg
e85823f8ce
Remove all OS specific gamepak code
...
Useless since there are no gamepaks.
2018-08-20 01:46:34 +02:00
dhewg
ed099aa128
Remove all gamepak FileSystem<->Async[Client|Server] code
2018-08-20 01:46:34 +02:00
dhewg
5aa122978d
Don't try to extract libraries from gamepaks.
2018-08-20 01:46:34 +02:00
dhewg
5adb4810d4
Remove UpdateGamePakChecksums()
...
Not required anymore.
2018-08-20 01:46:34 +02:00
dhewg
b992d117f0
Remove all client/server gamepak checks
...
We don't use any gamepaks anymore, remove the related checks.
2018-08-20 01:46:34 +02:00
dhewg
22c8120b56
Overhaul the *nix based BASE path
...
Try BUILD_DATADIR first (build time setting), then the vanilla
doom3 path.
2018-08-20 01:46:34 +02:00
dhewg
e632cd030b
Get rid of ID_DEMO_BUILD
...
There are no demo pk4s compatible to this 1.3.1 codebase.
2018-08-20 01:46:34 +02:00
dhewg
a97f685132
Use PATH_MAX for MAX_OSPATH on all platforms
...
The hardcoded 256 doesn't cut it.
2018-08-20 01:46:34 +02:00
dhewg
9de64efa62
This is dhewm 3
...
Rename project, now at https://github.com/dhewm
2018-08-20 01:46:32 +02:00
dhewg
5b49b7242b
Get rid of unused defines in Licensee.h
2018-08-20 01:46:32 +02:00
dhewg
a6796cb444
CMake: Detect libcurl and use it when found
...
Move ID_ENABLE_CURL to config.h
2018-08-20 01:46:32 +02:00
dhewg
c7d406835e
Get rid of ID_OPENAL
...
This is always required for clients.
2018-08-20 01:46:32 +02:00
dhewg
b8f1a3e38c
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.
2018-08-20 01:46:32 +02:00
dhewg
7d5c0e1fd7
Rename FILE_[EXEC|OPEN] due to conflict
...
Some MinGW versions already define it.
2018-08-20 01:46:31 +02:00
dhewg
f54253d966
Don't use a console lock on Windows or OSX builds
...
Sync with Linux.
2018-08-20 01:46:30 +02:00
dhewg
3c2c603cf4
Move MAX_THREADS as define to BuildDefines.h
2018-08-20 01:46:29 +02:00
dhewg
0a945baff1
Initial SDL setup
...
Use SDL_main on all platforms.
Fix main() for non-const argv so it matches with the SDL
prototype.
Adapt win32 WinMain() to main() and get rid of the win32 special
case in Common::Init().
2018-08-20 01:46:28 +02:00
dhewg
afebd7e1e5
Untangle the epic precompiled.h mess
...
Don't include the lazy precompiled.h everywhere, only what's
required for the compilation unit.
platform.h needs to be included instead to provide all essential
defines and types.
All includes use the relative path to the neo or the game
specific root.
Move all idlib related includes from idlib/Lib.h to precompiled.h.
precompiled.h still exists for the MFC stuff in tools/.
Add some missing header guards.
2018-08-20 01:46:28 +02:00
dhewg
c63e63b234
Move constants from AsyncNetwork.h
...
Make those defines in BuildDefines.h instead to reduce header
dependencies.
2018-08-20 01:46:27 +02:00
dhewg
4df3236c3e
Adapt structs for easy forward declarations
...
Get rid of the tag namespace.
2018-08-20 01:46:27 +02:00
dhewg
d76358afc2
Move the virtual abstract idGame to framework/Game.h
...
This is game independent and code outside of game/ and d3xp/
doesn't need to know about anything game specific.
2018-08-20 01:46:27 +02:00
dhewg
a2586ebb52
Get rid of ID_ALLOW_D3XP
...
There're no second class citizens.
2018-08-20 01:46:27 +02:00
dhewg
2b446ddd28
Basic infrastructure to build with MinGW
...
Add WIN32 support to CMake (core and games, no dedicated for now).
Only use MFC when it is available.
2018-08-20 01:46:26 +02:00
dhewg
0b0db9ab41
Remove the unused and useless CallStack code
...
This was never enabled and only implemented for Windows.
2018-08-20 01:46:26 +02:00
dhewg
c0cba74fdc
Enable OpenAL for all platforms
...
New scons variable 'OPENAL' (defaults to '1') to toggle the
OpenAL sound backend.
Enable via "s_useOpenAL 1".
2018-08-20 01:46:26 +02:00
dhewg
02a42cea86
Split EAX usage off OpenAL
...
New define ID_OPENAL_EAX to enable the deprecated EAX on top
of OpenAL.
OpenAL Soft can now be used.
2018-08-20 01:46:26 +02:00
dhewg
4cfc2d87a5
Fix compilation for *BSD
...
Change most __linux__ defines to __unix__ for all UNIX like systems.
2018-08-20 01:46:25 +02:00
dhewg
1851070be5
Fix -Woverloaded-virtual warnings
...
hides overloaded virtual function
Fix member signatures of deriving classes to its super classes.
Removes the unused idGameBustOutWindow::Activate() and the
useless idMarkerWindow::GetWinVarByName().
2018-08-20 01:46:23 +02:00
dhewg
c7c187e4dc
Fix all whitespace errors
...
Excluding 3rd party files.
2018-08-20 01:46:22 +02:00
dhewg
eac3112d2d
Fix quoting in GPL headers
2018-08-20 01:46:21 +02:00
Timothee 'TTimo' Besset
aa3dbca015
hello world
2011-11-22 15:28:15 -06:00