1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-23 01:59:43 +08:00
Commit Graph

53 Commits

Author SHA1 Message Date
David Anderson
ddcda93d30 Rename clamp to V_clamp. 2023-10-19 20:45:13 -07:00
Nick Hastings
cbab58f4da Update IVEngineServer and IServerGameDLL. 2021-11-15 17:35:03 -05:00
David Anderson
caee95ac9a Fix conflicts with std::swap. 2020-06-02 10:25:01 -07:00
Michael Flaherty
668b2d2a81 Revert "Remove depricated register declaration"
This reverts commit 75ca4f2cd3.
2018-07-19 19:10:39 -07:00
Michael Flaherty
75ca4f2cd3 Remove depricated register declaration 2018-07-19 18:35:26 -07:00
Nicholas Hastings
8ca67e8f10 Force KeyValues to use g_pMemAlloc where applicable for string alloc. 2015-07-12 17:59:47 -04:00
Nicholas Hastings
0763266123 Port offsetof "fix" from sdk2013. 2014-11-09 10:29:08 -05:00
Nicholas Hastings
26a28e2efc Add missing const to CSteamID Render return. 2014-08-21 20:06:41 -04:00
Scott Ehlert
664783e773 Rebuilt tier1 and mathlib for OS X using clang. 2013-04-27 10:47:03 -05:00
Scott Ehlert
e0fe50f9f5 Removed 3DNow support from mathlib. 2013-04-27 10:34:41 -05:00
Nicholas Hastings
94844b1d99 Fixed unused var warning in logging.h when compiling with GCC. 2013-01-03 18:16:49 -05:00
Scott Ehlert
3038e8311f Ugh, really suppress clang warning for GetCPUInformation(). 2012-05-29 19:59:24 -05:00
Scott Ehlert
722d1d9293 Suppress clang warning for tier0's GetCPUInformation(). 2012-05-29 19:11:47 -05:00
Scott Ehlert
1af349b854 Fixed compiler error in icvar.h when memalloc.h wasn't included (bug 5159). 2011-11-03 13:58:35 -05:00
Reuben Morais
b9c54ec60f Fixed debug mode builds on OS X (bug 5076, r=ds). 2011-09-09 18:20:05 -05:00
Asher Baker
7c12e79993 Added support for the new logging system (bug 5017, r=ds). 2011-07-18 03:13:59 +01:00
Scott Ehlert
b7472ee95e Block out seemingly unused CRefDebug class for clang builds. 2011-06-17 17:41:40 -05:00
Scott Ehlert
4caefcbcba Fixed conflict between min/max macros and std::min/max when using GCC >= 4.2. 2011-04-28 01:30:37 -05:00
Scott Ehlert
6c38e2e589 Fixed a clang warning: control may reach end of non-void function [-Wreturn-type] (bug 4877, r=dvander). 2011-04-23 21:23:18 -05:00
Nicholas Hastings
cabe543f67 Updated player_info_s/player_info_t struct (bug 4729, r=ds). 2010-12-03 22:39:31 -08:00
Scott Ehlert
f12130c3a9 More portions of L4D2 SDK compile and link on Mac OS X (bug 4646, r=dvander). 2010-10-14 16:36:09 -05:00
Scott Ehlert
1d2bcd2337 Updated INetChannelHandler inteface. 2010-10-05 23:24:44 -07:00
Scott Ehlert
1fa41fd130 IMemAlloc::Free now used in ICvar::Iterator destructor. 2010-07-22 14:35:35 -05:00
Scott Ehlert
d4162df4e1 Backported various changes from Alien Swarm SDK (bug 4532, r=dvander). 2010-07-21 22:52:49 -05:00
Scott Ehlert
fc2a5340a7 Fixed compile error in filesystem.h and recompiled tier1 for Windows (bug 4509). 2010-07-09 22:43:41 -05:00
Scott Ehlert
3b4ae7caee Updated IFileSystem interface (bug 4509). 2010-07-09 23:25:01 -04:00
Asher Baker
eb79dd725f Fixed gcc-4.4 errors (bug 4346, r=dvander). 2010-04-29 02:05:30 -07:00
Scott Ehlert
283938666e Updated IFileSystem interface and recompiled tier1 for Linux. 2010-04-23 08:14:59 -04:00
Scott Ehlert
afdb086579 Slightly updated SDK for L4D2 DLC, The Passing
Renamed and updated tier0 and vstdlib libraries.
Bumped VFileSystem to 018.

--HG--
rename : lib/linux/tier0_linux.so => lib/linux/libtier0.so
rename : lib/linux/vstdlib_linux.so => lib/linux/libvstdlib.so
2010-04-23 05:13:46 -04:00
Scott Ehlert
65fb791f6d Removed CBaseEdict::StateChanged(unsigned short offset) since it no longer seems to be used. 2009-10-31 00:32:19 -05:00
Scott Ehlert
f77a985f91 Initial changes for Left 4 Dead 2.
* Added/removed various functions from the following interfaces: IVEngineServer, IServerGameDLL, IServerGameClients, IFilesystem, and IConVar
* Added new functions to ConVar for setting Color values
* Updated SendProp structure with unknown member
* Recompiled tier1 static library for Windows and Linux
* Fixed up some tier0 exports in public/tier0/dbg.h
* Rebuilt tier0 import libary for Windows
* Replaced tier0_i486.so and vstdlib_i486.so with the newly renamed versions: tier0_linux.so and vstdlib_linux.so

--HG--
rename : lib/linux/tier0_i486.so => lib/linux/tier0_linux.so
rename : lib/linux/vstdlib_i486.so => lib/linux/vstdlib_linux.so
2009-10-28 21:16:05 -05:00
Scott Ehlert
cd122aa43b Ugh. 2009-10-01 11:39:56 -04:00
Scott Ehlert
c4a1fca7ff Updated IGameEvent with GetUint64 and SetUint64 (bug 4032) 2009-10-01 11:16:41 -04:00
Matt Woodrow
33f3241fe6 Updated Ray_t class definition (bug 3634, r=dvander,Fyren) 2009-03-02 14:38:22 +13:00
Scott Ehlert
3e5d0a7960 Merged changes from hl2sdk-ob. 2008-12-29 01:18:43 -06:00
David Anderson
168e6792f9 Some includes can be used on Mac OS X now (bug 3515, r=ds). 2008-12-22 23:33:59 -05:00
Scott Ehlert
7ea852ec15 Fixed typedescription_t structure (I hope). 2008-12-03 10:21:09 -06:00
Scott Ehlert
02a47fc112 Updated IMemAlloc interface from tier0 and added note in icvar.h about freeing ICvarIteratorInternal. 2008-12-02 10:36:09 -06:00
Scott Ehlert
a5680dae14 Updated a few miscellaneous interfaces 2008-11-18 14:14:34 -06:00
Scott Ehlert
e70414add2 Removed freetime from edict_t and fixed comment regarding IndexOfEdict and PEntityOfEntIndex replacements 2008-11-14 22:57:15 -06:00
Scott Ehlert
3ef6aa802d Changed return value of default implementation for IGameEventManager2::GetEventDebugID() from 0 to 42.
- This stops the engine from printing the 'GameEventListener2 callback' warning
2008-11-14 01:01:20 -06:00
Scott Ehlert
5ed18462cf Updated INetChannelInfo and INetChannel interfaces 2008-11-12 16:30:21 -06:00
Scott Ehlert
8071e95e35 Whoops, fixed compilation 2008-11-12 00:11:49 -06:00
Scott Ehlert
2f59f3eb64 Updated typedescription_t with unknown members (thanks pred) 2008-11-12 00:02:51 -06:00
Scott Ehlert
a3e4dfb524 Added extra string param to IVEngineServer::UserMessageBegin 2008-11-11 16:41:09 -06:00
Scott Ehlert
6dbe88f841 Fixed up some SendProp stuff
- Added unknown member variable to SendProp structure in dt_send.h
- Added DPT_VectorXY to SendPropType enum in dt_common.h
2008-11-11 00:13:38 -06:00
Scott Ehlert
d9eb0a00c7 Updated IEngineTrace.h with default parameters for GetPointContents and GetPointContents_WorldOnly 2008-11-10 14:13:23 -06:00
Scott Ehlert
ef3d33c09e Updated inetmsghandler.h with new engine network messages 2008-11-10 00:11:52 -06:00
Scott Ehlert
c1aede03ed Fixed some compile errors in networkstringtabledefs.h and iclient.h 2008-11-10 00:11:25 -06:00
Scott Ehlert
ef23ddbd87 Added ICvarIteratorInternal to icvar.h
ICvar::FactoryIteratorInternal returns a pointer to this.
This can be used as a replacement for ICvar::GetCommands and iterating the ConCommandBase list.
2008-11-09 22:21:58 -06:00