twhl-community / halflife-updated Goto Github PK
View Code? Open in Web Editor NEWHalf-Life SDK updated to compile under VS2019 and 2022. Check README.md for more information.
License: Other
Half-Life SDK updated to compile under VS2019 and 2022. Check README.md for more information.
License: Other
As seen here:
ValveSoftware/halflife#1050
APIProxy.h
defines types, function pointers and constants for dealing with security modules, which have been obsolete for a long time. Remove all of this.
Also remove the engine function declarations involved with loading and calling the client.
Currently there is code that depends on platform-specific types, functions and constants, which are handled on other platforms by defining that code manually.
Rework this code to remove the dependencies and use a cross-platform approach instead.
There are a few preprocessor macro checks in #if
/#ifdef
/#ifndef
checks that are obsolete and can be removed:
The codebase uses both WIN32
and _WIN32
to check if the current platform is Windows. Use WIN32
everywhere for consistency. This makes searching for platform-specific code easier.
Discovered a fix for the long-standing Gluon Gun effect issue, see here: ValveSoftware/halflife#3066
#pragma once
is supported in MSVC, G++ and Clang and is preferred over macro-based include guards. It's simpler, smaller, doesn't pollute the global namespace, doesn't risk symbols conflicting and doesn't require changes when filenames change.
Hello Solo and Shepard,
I have problem with sometimes not existing like errors:
sourceskyboxer@sourceskyboxer-desktop:~/Downloads/halflife-updated-master/linux$ make
mkdir release;
mkdir: cannot create directory ‘release’: File exists
Makefile:145: recipe for target 'build_dir' failed
make: [build_dir] Error 1 (ignored)
cd release
make -j8 -f Makefile.hldll CC="gcc -m32" ARCH=i386 CPP_LIB="-L/usr/lib/gcc/x86_64-linux-gnu/5 -lstdc++ -ldl -lpthread" BUILD_DIR=release BUILD_OBJ_DIR=release/obj SOURCE_DIR=.. ENGINE_SRC_DIR=../engine COMMON_SRC_DIR=../common PM_SRC_DIR=../pm_shared GAME_SHARED_SRC_DIR=../game_shared GAMEDB_SRC_DIR=../common/gamedb BASE_CFLAGS="-fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -DHL1 -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -DQUIVER -DQUAKE2 -DVALVE_DLL -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX" SHLIBEXT=so SHLIBCFLAGS= SHLIBLDFLAGS="-shared -gdwarf-2 -g2 -Wl,-Map,hl_map.txt" PUBLIC_SRC_DIR=../public CFG=release OS=Linux ARCH_CFLAGS="-O3 -gdwarf-2 -g2 -march=pentium-m -mfpmath=387"
make[1]: Entering directory '/home/sourceskyboxer/Downloads/halflife-updated-master/linux'
mkdir release/obj
gcc -m32 -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -DHL1 -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -DQUIVER -DQUAKE2 -DVALVE_DLL -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -gdwarf-2 -g2 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/aflock.o -c ../dlls/aflock.cpp
gcc -m32 -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -DHL1 -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -DQUIVER -DQUAKE2 -DVALVE_DLL -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -gdwarf-2 -g2 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/agrunt.o -c ../dlls/agrunt.cpp
gcc -m32 -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -DHL1 -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -DQUIVER -DQUAKE2 -DVALVE_DLL -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -gdwarf-2 -g2 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/airtank.o -c ../dlls/airtank.cpp
mkdir release/obj/hldll
gcc -m32 -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -DHL1 -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -DQUIVER -DQUAKE2 -DVALVE_DLL -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -gdwarf-2 -g2 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/animating.o -c ../dlls/animating.cpp
gcc -m32 -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -DHL1 -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -DQUIVER -DQUAKE2 -DVALVE_DLL -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -gdwarf-2 -g2 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/animation.o -c ../dlls/animation.cpp
gcc -m32 -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -DHL1 -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -DQUIVER -DQUAKE2 -DVALVE_DLL -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -gdwarf-2 -g2 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/apache.o -c ../dlls/apache.cpp
gcc -m32 -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -DHL1 -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -DQUIVER -DQUAKE2 -DVALVE_DLL -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -gdwarf-2 -g2 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/barnacle.o -c ../dlls/barnacle.cpp
mkdir release/obj/hldll/wpn_shared
mkdir release/obj/hldll/pm_shared
In file included from ../common/Platform.h:37:0,
from ../dlls/extdll.h:23,
from ../dlls/agrunt.cpp:19:
../public/archtypes.h:12:22: fatal error: sys/stat.h: No such file or directory
compilation terminated.
In file included from ../common/Platform.h:37:0,
from ../dlls/animation.cpp:16:
../public/archtypes.h:12:22: fatal error: sys/stat.h: No such file or directory
compilation terminated.
In file included from ../dlls/aflock.cpp:17:0:
../public/archtypes.h:12:22: fatal error: sys/stat.h: No such file or directory
compilation terminated.
In file included from ../common/Platform.h:37:0,
from ../dlls/extdll.h:23,
from ../dlls/airtank.cpp:15:
../public/archtypes.h:12:22: fatal error: sys/stat.h: No such file or directory
compilation terminated.
Makefile.hldll:160: recipe for target 'release/obj/hldll/animation.o' failed
make[1]: *** [release/obj/hldll/animation.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile.hldll:160: recipe for target 'release/obj/hldll/airtank.o' failed
make[1]: *** [release/obj/hldll/airtank.o] Error 1
Makefile.hldll:160: recipe for target 'release/obj/hldll/aflock.o' failed
make[1]: *** [release/obj/hldll/aflock.o] Error 1
mkdir release/obj/hldll/game_shared
Makefile.hldll:160: recipe for target 'release/obj/hldll/agrunt.o' failed
make[1]: *** [release/obj/hldll/agrunt.o] Error 1
In file included from ../common/Platform.h:37:0,
from ../dlls/extdll.h:23,
from ../dlls/animating.cpp:23:
../public/archtypes.h:12:22: fatal error: sys/stat.h: No such file or directory
compilation terminated.
In file included from ../common/Platform.h:37:0,
from ../dlls/extdll.h:23,
from ../dlls/barnacle.cpp:19:
../public/archtypes.h:12:22: fatal error: sys/stat.h: No such file or directory
In file included from ../common/Platform.h:37:0,
from ../dlls/extdll.h:23,
from ../dlls/apache.cpp:17:
../public/archtypes.h:12:22: fatal error: sys/stat.h: No such file or directory
compilation terminated.
compilation terminated.
Makefile.hldll:160: recipe for target 'release/obj/hldll/animating.o' failed
make[1]: *** [release/obj/hldll/animating.o] Error 1
Makefile.hldll:160: recipe for target 'release/obj/hldll/barnacle.o' failed
make[1]: *** [release/obj/hldll/barnacle.o] Error 1
Makefile.hldll:160: recipe for target 'release/obj/hldll/apache.o' failed
make[1]: *** [release/obj/hldll/apache.o] Error 1
make[1]: Leaving directory '/home/sourceskyboxer/Downloads/halflife-updated-master/linux'
Makefile:161: recipe for target 'hl' failed
make: *** [hl] Error 2
That is my Ubuntu 16.04 x64 - How do I fix? What do I forget to install debs?
// EDIT Please add forgotten link to /usr/include/sys and /usr/include/bits
Than It works fine. Please add read-me for Linux build preparations
Some headers are included using the "redundant include guard pattern":
#ifndef HEADER_H
#include "header.h"
#endif
This pattern is meant to prevent the preprocessor from opening headers multiple times to check for include guards. This used to speed up compilation. It's no longer a useful optimization thanks to improvements in compilers so it only complicates things.
There are 2 versions of interface.h
and interface.cpp
. One of them is an older version that should be removed to eliminate conflicts.
I've built the SO files following this tutorial:
https://twhl.info/wiki/page/Half-Life_Programming_-_Getting_Started
For some reason, Half-Life (up-to-date Steam for Linux version) can't load the libraries and it doesn't give much info why. For the client library, I only get the following message:
could not load library .../client.so
(In the place of "...", it writes the full path.)
When I try to go only with the server library, the following messages appear in the developer console.
LoadLibrary failed on /home/megabrutal/.steam/steam/steamapps/common/Half-Life/deltasection/dlls/hl.so: /home/megabrutal/.steam/steam/steamapps/common/Half-Life/deltasection/dlls/hl.so: undefined symbol: _ZdlPvj
Last 32 messages parsed.
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
0 0000 svc_bad
BAD: -1:svc_bad
Wrote erroneous message to buffer.dat
Host_Error: Couldn't get DLL API from /home/megabrutal/.steam/steam/steamapps/common/Half-Life/deltasection/dlls/hl.so!
Contents of the mentioned buffer.dat
:
00000000 00 00 00 00 ff ff ff ff |........|
So... the libraries are built but then just don't work. What am I doing wrong?
What's also strange is that my SOs have significant size differences to the originals (might be because of debug info, though neither of the binaries are stripped).
-rwxr-xr-x 1 megabrutal megabrutal 1036632 aug 26 00:23 deltasection/cl_dlls/client.so
-rwxr-xr-x 1 megabrutal megabrutal 4000283 márc 22 2020 valve/cl_dlls/client.so
-rwxr-xr-x 1 megabrutal megabrutal 2261332 aug 26 00:23 deltasection/dlls/hl.so
-rwxrwxr-x 1 megabrutal megabrutal 6773862 jún 21 00:06 valve/dlls/hl.so
Various other differences:
megabrutal@thinkpad:~/.steam/steam/steamapps/common/Half-Life$ file */dlls/hl.so
deltasection/dlls/hl.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=217a8c162def419cdbb4b028cccff1e105c7fea8, not stripped
valve/dlls/hl.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, with debug_info, not stripped
megabrutal@thinkpad:~/.steam/steam/steamapps/common/Half-Life$ ldd valve/dlls/hl.so
linux-gate.so.1 (0xf7f3d000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7c2a000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7a4b000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7854000)
/lib/ld-linux.so.2 (0xf7f3f000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7835000)
megabrutal@thinkpad:~/.steam/steam/steamapps/common/Half-Life$ ldd deltasection/dlls/hl.so
linux-gate.so.1 (0xf7fbc000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7b9a000)
/lib/ld-linux.so.2 (0xf7fbe000)
As of now I have no modifications to the code, I'm compiling from d872ad0.
There are a few headers that deal with abstracting platform-specific functionality:
nowin.h
was rendered obsolete by refactoring work done in animation.cpp
and can be removed. port.h
should be merged into Platform.h
and removed.
Obsolete definitions should be removed to simplify Platform.h
as much as possible.
The "explosion" KeyValue for breakable entities does nothing. It was supposed to allow mappers to set the direction of the gibs.
Valve has set this KeyValue for many breakable objects on their maps, so you can see the changes in vanilla Half-Life.
The "explosion" KeyValue is set to 1 for some of breakable objects on this map.
Here's my commit how to fix this issue:
https://github.com/ArroganceJustified/Ultimate-Point/commit/e974912f933f49bec5616df8eb18a9f7cdbf86ce
You can test the result of this fix on c2a5 by breaking the boxes near the spawn point:
https://www.youtube.com/watch?v=NRlLxsvDVE0
I have verified that this was also fixed in Sven Co-op and Half-Life: Source.
P.S. Also yes, I saw Valve comment above the if statement, but still, if it's defined in .fgd file then it supposed to work.
The engine has an updated player_info_t structure. And Valve didn't update the SDK. The struct misses 2 new variables: "hashedcdkey" and "m_nSteamID".
Reverse-engineered data:
https://i.imgur.com/5f7ooLX.png
https://i.imgur.com/HpUuyZT.png
https://i.imgur.com/IXYadfT.png
Adding them to this SDK would not be superfluous.
The node graph global variable WorldGraph
is needlessly forward declared multiple times and is referenced from inside CGraph
member functions. Clean this up.
when i try to compile the solution with vs2019 it does not create the dll files
Ran some tests on the latest build, for some reason none of the weapons animate when connecting to a server. They appear to work fine in singleplayer though.
EDIT: Also happens in OpFor multiplayer.
A number of headers are meant to be included once, but lack any kind of include guards. Add #pragma once
to them to protect against multiple inclusion.
Some hud functions specify the _cdecl
calling convention. This is completely unnecessary and can be removed.
if i try to build something(some will build) will not build
Theres like 443 errors in dmcdll.vcxproj, but why
And no, i havent benn working with game engines.
The client includes game_controls.lib
, but doesn't use it. This is an import library containing functionality not useful to clients, so remove it.
Recent engine updates added a few new cvar flags:
Add these flags.
The game currently relies on the Windows API for certain common structures, like POINT
and RECT
. Rework this to use platform-agnostic types. Also rework wrect
to fit with these types to eliminate duplicate types.
Remove the obsolete benchmarking functionality. The code to enable it no longer exists and it isn't useful anymore.
It's only implemented fully on Windows, and it uses the Windows-specific ICMP APIs incorrectly for currently supported versions.
See the documentation for more information: https://docs.microsoft.com/en-us/windows/win32/api/icmpapi/nf-icmpapi-icmpcreatefile
There is a try-catch statement in the command menu parsing code that is completely useless. No exception of type CException
exists, the exception is caught incorrectly (by non-const pointer instead of const reference), and nothing will throw the exception.
Remove this statement.
The Windows.h
header includes a lot of other stuff that slows down project compilation. Disabling as many of them as possible reduces build times for the client and server combined by 3 seconds, from 17 to 14 seconds. Larger projects will see a bigger decrease, scaling linearly with the number of source files that include Platform.h
directly or indirectly.
This would be rather nice. Also 16 Bit and Stereo .wav files would be welcome as well!
So I've been meaning to report this for a while, I think this also exists in the standard Steam version as well. But sometimes when playing the singleplayer campaign, after the the resonance cascade begins and you're loaded to the beginning of Unforeseen Consequences, instead of the players view fading in from black, the screen just stays completely black. Usually restarting the campaign over helps, but not loading a quicksave before the sequence.
Would it be possible to add compatibility for Blue Shift as well? Or perhaps in another branch?
Hey! Installed all the dependencies (I think? at last from what wiki told me to) and after a couple of seconds that's all I've got:
make mkdir release; cd release make -j8 -f Makefile.hldll CC="gcc -m32" ARCH=i386 CPP_LIB="-L/usr/lib/gcc/x86_64-linux-gnu/9/32 -lstdc++ -ldl -lpthread" BUILD_DIR=release BUILD_OBJ_DIR=release/obj SOURCE_DIR=.. ENGINE_SRC_DIR=../engine COMMON_SRC_DIR=../common PM_SRC_DIR=../pm_shared GAME_SHARED_SRC_DIR=../game_shared BASE_CFLAGS="-fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX" SHLIBEXT=so SHLIBCFLAGS= SHLIBLDFLAGS="-shared -Wl,-Map,hl_map.txt" PUBLIC_SRC_DIR=../public CFG=release OS=Linux ARCH_CFLAGS="-O3 -march=pentium-m -mfpmath=387" make[1]: Entering directory '/home/dragon99919/Downloads/git/halflife-updated/linux' mkdir release/obj gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/aflock.o -c ../dlls/aflock.cpp mkdir release/obj/hldll gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/agrunt.o -c ../dlls/agrunt.cpp mkdir release/obj/hldll/wpn_shared gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/airtank.o -c ../dlls/airtank.cpp mkdir release/obj/hldll/pm_shared gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/animating.o -c ../dlls/animating.cpp mkdir release/obj/hldll/game_shared gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/animation.o -c ../dlls/animation.cpp mkdir release/obj/hldll/common gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/apache.o -c ../dlls/apache.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/barnacle.o -c ../dlls/barnacle.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/barney.o -c ../dlls/barney.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/bigmomma.o -c ../dlls/bigmomma.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/bloater.o -c ../dlls/bloater.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/bmodels.o -c ../dlls/bmodels.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/bullsquid.o -c ../dlls/bullsquid.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/buttons.o -c ../dlls/buttons.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/cbase.o -c ../dlls/cbase.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/client.o -c ../dlls/client.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/combat.o -c ../dlls/combat.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/controller.o -c ../dlls/controller.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-make mkdir release; cd release make -j8 -f Makefile.hldll CC="gcc -m32" ARCH=i386 CPP_LIB="-L/usr/lib/gcc/x86_64-linux-gnu/9/32 -lstdc++ -ldl -lpthread" BUILD_DIR=release BUILD_OBJ_DIR=release/obj SOURCE_DIR=.. ENGINE_SRC_DIR=../engine COMMON_SRC_DIR=../common PM_SRC_DIR=../pm_shared GAME_SHARED_SRC_DIR=../game_shared BASE_CFLAGS="-fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX" SHLIBEXT=so SHLIBCFLAGS= SHLIBLDFLAGS="-shared -Wl,-Map,hl_map.txt" PUBLIC_SRC_DIR=../public CFG=release OS=Linux ARCH_CFLAGS="-O3 -march=pentium-m -mfpmath=387" make[1]: Entering directory '/home/dragon99919/Downloads/git/halflife-updated/linux' mkdir release/obj gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/aflock.o -c ../dlls/aflock.cpp mkdir release/obj/hldll gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/agrunt.o -c ../dlls/agrunt.cpp mkdir release/obj/hldll/wpn_shared gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/airtank.o -c ../dlls/airtank.cpp mkdir release/obj/hldll/pm_shared gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/animating.o -c ../dlls/animating.cpp mkdir release/obj/hldll/game_shared gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/animation.o -c ../dlls/animation.cpp mkdir release/obj/hldll/common gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/apache.o -c ../dlls/apache.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/barnacle.o -c ../dlls/barnacle.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/barney.o -c ../dlls/barney.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/bigmomma.o -c ../dlls/bigmomma.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/bloater.o -c ../dlls/bloater.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/bmodels.o -c ../dlls/bmodels.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/bullsquid.o -c ../dlls/bullsquid.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/buttons.o -c ../dlls/buttons.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/cbase.o -c ../dlls/cbase.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/client.o -c ../dlls/client.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/combat.o -c ../dlls/combat.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/controller.o -c ../dlls/controller.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/crossbow.o -c ../dlls/crossbow.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/crowbar.o -c ../dlls/crowbar.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/defaultai.o -c ../dlls/defaultai.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/doors.o -c ../dlls/doors.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/effects.o -c ../dlls/effects.cpp make[1]: *** No rule to make target 'release/obj/hldll/ehandle.o', needed by 'hl.so'. Stop. make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/dragon99919/Downloads/git/halflife-updated/linux' make: *** [Makefile:162: hl] Error 2 type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/crossbow.o -c ../dlls/crossbow.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/crowbar.o -c ../dlls/crowbar.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/defaultai.o -c ../dlls/defaultai.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/doors.o -c ../dlls/doors.cpp gcc -m32 -I../dlls -I../engine -I../common -I../pm_shared -I../game_shared -I../public -fpermissive -fno-strict-aliasing -DNDEBUG -DPOSIX -D_POSIX -DLINUX -D_LINUX -DGNUC -Dstricmp=strcasecmp -D_strnicmp=strncasecmp -Dstrnicmp=strncasecmp -D_snprintf=snprintf -D_alloca=alloca -fno-exceptions -fexpensive-optimizations -D_vsnprintf=vsnprintf -DNO_MALLOC_OVERRIDE -Werror=return-type -w -DLINUX -D_LINUX -O3 -march=pentium-m -mfpmath=387 -DCLIENT_WEAPONS -o release/obj/hldll/effects.o -c ../dlls/effects.cpp make[1]: *** No rule to make target 'release/obj/hldll/ehandle.o', needed by 'hl.so'. Stop. make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/dragon99919/Downloads/git/halflife-updated/linux' make: *** [Makefile:162: hl] Error 2
It's very minor nitpick, but I was checking out the codebase and noticed you accounted for health more than 255, but there's this constant padding which doesn't match the original. I got an impression that while this codebase fixes internal/minor issues, it would still aim to stay close to the original.
I'd like to base project of mine on this codebase and I'd get rid of padding for myself anyway, should I pull request rendering of health with more than 3 digits without constant padding if I get to it, or you'd leave it as it is?
I was curious, did you implement all these fixes plus the ones we talked about in the thread (minus the gauss idle since that's unused)?
Hi, I build a release for cl_dll using vs2019, and didn't change any thing except using tool kits v142. When I run the game, I popup a Fatal Error "could not load lib client.dll".
The texture_t data is incorrect in vanilla HL SDK.
When I worked on R_InitTextures, I noticed that r_notexture_mip->offsets[0] (sizeof(texture_t)) is 64 when IDA shows it's 72;
Then I noticed that there are 2 missing varibales (and another 1 has a different type) that are used by the engine.
When I move the mouse my view is capped on the horizontal axis. It's like how you can't look up/down past a certain point, but for left/right. I tried toggling the mouse and controller flags in Options but that didn't help.
I compiled with VS2019 in debug mode in Windows 10. When I compile the official SDK with VS2010 I don't have this problem.
Any plans to implement the old bobbing from pre-1.1.x.x? Or would that go against the philosophy of your project? It seems like a pretty easy fix.
Is there any plans to support the latest Visual Studio 2022 release?
Since the entire codebase is written in C++ there is no reason to use extern "C"
to decorate functions. All functions are compiled as C++ code, so this only adds visual noise.
Only functions that are exported from the libraries (mod interfaces) should keep this.
Any #ifdef __cplusplus
checks involved should also be removed.
Currently the toolset for both VS2017 and 2019 projects default to XP compatible ones. Developers have to install this toolset separately to use it, which could cause problems.
Since Steam no longer supports Windows XP this isn't worth keeping as the default setting, so change it.
The Windows SDK version should be set to version 10 so the projects will compile.
I can compile in Linux successfuly but in Windows says require install XP Tools.
When i installed XP Tools with Visual Studio Installer, i tried compile again but now says "Windows XP tools disabled and no longer available for newer Visual Studio versions".
How i can solve? Will it be possible to use this project in the future?
(I got banned very easily on Discord server. Thanks.)
Hello Solokiller i'm fan a tactical shooter can you increase MP5 fire rate and accuracy like this mod "https://github.com/phoenixprojectsoftware/halflife-classic"
snprintf
was added to the C standard a while ago, but after the game's release, and MSVC didn't support it for some time. Update all code to use it instead of workarounds. Same for vsnprintf
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.