1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-12-03 15:24:15 +01:00
Commit Graph

10 Commits

Author SHA1 Message Date
peace-maker
b267567e50
Fix detection of Blade Symphony on Windows x64 (#67)
* Fix detection of Blade Symphony on Windows x64

Port finding the module base address on x64 builds from SourceMod.
Fix a bunch of truncation warnings on x64 while at it too.

* Fix mm_TrimComments stripping last char before comment

```c
char test[] = "hi this is a a test!// comment";
mm_TrimComments(test);
puts(test); // prints "hi this is a test" without the !
```

* Fix unsigned comparison warnings

* Fix truncation warnings in SourceHook::String

* Fix unsigned comparison warnings

clang does have some nice analysis.
2020-06-25 00:04:36 +00:00
Nicholas Hastings
30c6e9107d
Normalize paths when comparing. (fixes #37). (#38)
When resolving bin paths from gameinfo to platform-specific absolute paths, we end
up with ".." instances on x64, causing the paths being compared to look different. MM:S
then cannot differentiate it's server bin path from the game's server bin, causing us to
load ourselves as the server bin over and over again, causing a stack overflow.
2018-01-28 11:49:28 -05:00
Nicholas Hastings
30b7be46a8 Merge loader, loader2. Rename env var HL2SDKS2 -> HL2SDKSOURCE2. 2015-07-09 14:09:56 -04:00
Nicholas Hastings
1af0cde81a Fix Mac build. 2014-08-16 11:57:24 -04:00
Nicholas Hastings
7a4845e4ac Improve game detection further for some engines when -game missing 2014-08-11 20:03:07 -04:00
Scott Ehlert
29df2351c9 Added detection for clang compiler and fixed various warnings triggered by it (bug 4877, r=dvander). 2011-04-23 21:35:10 -05:00
Scott Ehlert
31c8cc9681 Mac OS X build fixes (bug 4391, r=dvander). 2010-05-14 00:34:56 -05:00
David Anderson
ab4dfdc722 Updated changelog, added license headers. 2008-11-26 00:19:30 -06:00
David Anderson
e1a9b482b3 Attempt at fixing windows build errors. 2008-11-23 22:10:16 -06:00
David Anderson
ad6f271a71 Initial import of gameinfo loader. 2008-11-23 21:21:49 -06:00