-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mouse trapped inside a rectangle (#2)
* Make project compile on Linux - 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). * Explicitly link SDL2 to client library - 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 * Port fix for getting mouse stuck in box 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) Co-authored-by: MegaBrutal <megabrutal@devcentre>
- Loading branch information
1 parent
8059652
commit 445e326
Showing
4 changed files
with
40 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
libSDL2-2.0.0.dylib |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
libSDL2-2.0.so.0 |