1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-22 09:38:56 +08:00
Commit Graph

40 Commits

Author SHA1 Message Date
Dora
4c27c1305c
suppress: void* memset(void*, int, size_t)’ clearing an object of type ‘class CThreadSpinRWLock’ with no trivial copy-assignment; use value-initialization instead (#212) 2024-05-13 07:48:20 -04:00
Mohamed Amine "DS" Boussoubel
96df7cdd53
Some fixes for compilation errors (#59)
* Update imovehelper.h

* Update string_t.h

* Update imovehelper.h
2021-11-04 21:09:49 +00:00
sapphonie
c500a84be5 Fix "declaration of swap must be available"
Fixes
```../hl2sdk-sdk2013/public/tier1/utlblockmemory.h:141:2: error: there are no arguments to ‘swap’ that depend on a template parameter, so a declaration of ‘swap’ must be available [-fpermissive]
  141 |  swap( m_nBlocks, mem.m_nBlocks );
      |  ^~~~```
2021-10-06 18:59:54 -07:00
David Anderson
c33f7155e9 Fix conflicts with std::min/max. 2020-05-18 17:46:25 -07:00
David Anderson
46713a22a0
Merge pull request #57 from maximsmol/fix_mac_debug_werror
sdk2013: Mac: debug: fix compilation with -Werror
2019-03-26 12:04:39 +09:00
Maksim Smolin
1dccbadb93 use static_assert in COMPILE_TIME_ASSERT if compiler reports capability through __has_feature 2019-01-22 17:20:28 -08:00
Maksim Smolin
dba6cca973 silence unused typedef warning in COMPILE_TIME_ASSERT 2019-01-22 17:16:30 -08:00
Maksim Smolin
b6a573013e fix unused variable in utlblockmemory.h 2019-01-22 17:08:41 -08:00
Maksim Smolin
2d52e7127e fix utlstring trying to override memdbg on Mac debug builds 2019-01-22 16:59:27 -08:00
Maksim Smolin
8a7a0a5409 fix malloc.h missing from memdbgon.h on mac debug builds 2019-01-22 16:58:39 -08:00
Maksim Smolin
a0c8c381af fix DebuggerBreak warning on Mac debug builds 2019-01-22 16:10:18 -08:00
Nicholas Hastings
245ba001b2 Bad shim to UtlBuffer::GetString for compat with other SDKs. 2017-10-28 09:31:48 -04:00
Nicholas Hastings
210dc2073f Re-add Mac malloc.h fix lost in last merge. 2017-04-29 09:46:46 -04:00
Nicholas Hastings
4ed8d23c39 Add back some fixes that got clobbered in sync again. 2017-04-28 07:16:29 -04:00
Geoffrey McRae
fd71bdcb17 [gcc] fixed out of order initializers (#33) 2017-03-26 11:10:42 -04:00
Nicholas Hastings
3957adff10 Sync with upstream (Issue #30).
Recompiled tier1 and mathlib  for all platforms will come in next commit.
2016-11-30 10:01:15 -05:00
Nicholas Hastings
c6a0af0f3c Unsigned warning fix in public/tier1/byteswap.h 2015-04-23 21:20:35 -04:00
Nicholas Hastings
12d384f0de Compat hacks for mods on old SDK Base. 2014-11-01 10:05:56 -04:00
Nicholas Hastings
917a15eeb9 Add back some fixes that got clobbered in sync. 2014-10-30 13:13:30 -04:00
Nicholas Hastings
88961a1b35 Add back some fixes that got clobbered in sync. 2014-10-30 13:12:17 -04:00
Nicholas Hastings
2445f07be4 Add missing files from last sync. 2014-10-30 13:06:07 -04:00
Nicholas Hastings
5c7d90ed0f Add back some fixes that got clobbered in sync. 2014-10-30 12:53:45 -04:00
Nicholas Hastings
820616e9fc Merge branch 'sdk2013' of https://github.com/alliedmodders/hl2sdk into sdk2013 2014-10-30 12:32:51 -04:00
Nicholas Hastings
aa5841f220 Sync with latest source-sdk-2013. 2014-10-30 12:30:57 -04:00
David Anderson
a72900cd1a Fix reorder warning in tier0/vprof.h. 2014-06-25 01:06:04 -07:00
Scott Ehlert
287a038894 Re-enable __restrict modifier for GCC, Clang 3.4, or Apple Clang 5.1. 2014-03-10 22:36:34 -05:00
Scott Ehlert
d091fd2e17 Fix initialization order warning for GCC and Clang. 2014-02-28 16:10:02 -06:00
Nicholas Hastings
e2781a0000 SDK sync. 2014-02-28 14:08:09 -05:00
Nicholas Hastings
a111d890da Undefine RESTRICT if GNUC due to ABI incompat between GCC and Clang. 2013-11-03 09:37:09 -05:00
Nicholas Hastings
fd59de0881 Include stdlib.h instead of malloc.h on Mac. 2013-10-13 11:28:49 -04:00
Nicholas Hastings
d4c0dc2f11 Fixed restrict errors in bitbuf when compling on clang. 2013-10-13 10:25:08 -04:00
Nicholas Hastings
9889382863 Allow compilation on gcc/clang without -Wno-unknown-pragmas. 2013-10-06 13:46:15 -04:00
Nicholas Hastings
34d4b05185 Added SetNext to ConCommandBase, required for MM:S. 2013-10-06 12:36:32 -04:00
Nicholas Hastings
66e98064f5 Various warning and error fixes. 2013-10-06 12:10:21 -04:00
Joe Ludwig
b95948fb75 * Fixed Source Mod back-compatability by reordering methods in a couple interfaces.
* Added missing singleplayer OSX libs
* Updated vpc and libs.
2013-09-03 16:02:10 -07:00
Joe Ludwig
39d16ca147 General:
* Fixed a variety of server browser issues with mods based on this SDK
* Fixed many warnings on various platforms
* Added source code for fgdlib and raytrace
* Updated many source files with the latest shared source from TF2.

OSX:
* Added support for Xcode 4.6
* Switched OSX builds to use Xcode instead of makefiles
* Moved libs from src/lib/osx32 to src/lib/public/osx32 or src/lib/common/osx32 to match windows better.

Linux:
* Moved libs from src/lib/linux32 to src/lib/public/linux32 or src/lib/common/linux32 to match windows better.
2013-09-02 11:39:10 -07:00
Joe Ludwig
0e42951d44 * Added support for building shaders in your mod
* Added nav mesh support
* fixed many warnings and misc bugs
* Fixed the create*projects scripts in mp
* Added a bunch of stuff to .gitignore
2013-07-17 18:26:59 -07:00
Joe Ludwig
3569c0f8f5 * Switched the SDK from checked-in projects to VPC, the Valve Project Creator. See the Getting Started document on the wiki for details.
* Pulled in bug fixes from HL2 and HL2MP.
2013-07-04 11:20:31 -07:00
Joe Ludwig
7502ba9583 Fixed various missing files 2013-06-27 14:27:15 -07:00
Joe Ludwig
e7d6f4c174 First version of the SOurce SDK 2013 2013-06-26 15:22:04 -07:00