Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix trigger_once #3

Merged
merged 5 commits into from
Mar 12, 2022
Merged

Fix trigger_once #3

merged 5 commits into from
Mar 12, 2022

Conversation

MegaBrutal
Copy link
Contributor

Surprisingly, CTriggerOnce (trigger_once) was not part of the server library.
I noticed this when I tried to go through Hazard Course and it didn't let me through the first room. Checking the dev console revealed that it "Can't init trigger_once". :D
Sorry for how these pull requests turned out (containing previous commits which causes conflicts), guess I should merge your master before doing further changes.

MegaBrutal and others added 5 commits March 11, 2022 00:30
- Updated CMake files to support build on Linux
- Deleted original Linux makefiles as they are not needed since CMake is introduced
- Fixed minor problems in the code which prevented the project from compiling

It likely breaks the Windows build, but hopefully it only causes minor problems
those are easy to fix in a way that allows the project to compile on both platforms.

The Linux CMake files don't try to deploy the built libraries to the game mod
directory (people likely build in a separate environment, not where they have the
game installed).
- Added SDL2 to the list of linked libraries to client.so
Not sure if it helps anything, the library loaded without it successfully,
but it doesn't hurt either.

- Fixed symlinks to Linux and MacOS builds of SDL2
They were supposed to be symlinks and they are in Valve's repo, but in
Solokiller's fork they lost their symlink flag with this commit:
twhl-community/halflife-updated@6509102
Apparently, the problem is caused by this issue:
ValveSoftware/halflife#1377

Which Solokiller has a fix for:
twhl-community/halflife-updated@92ffa23

But seems to be originated from L453rh4wk:
ValveSoftware/halflife#1546 (comment)
@wootguy wootguy merged commit 2ee9a0b into wootguy:master Mar 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants