Commit Graph

374 Commits

Author SHA1 Message Date
Scott Ehlert
dc6a5fc4d9 This averted my eyes...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40736
2007-05-03 03:54:44 +00:00
Scott Ehlert
de9dc9ed99 Various pointless things of no importance:
- Renamed ISourceMod::GetModPath() to GetGamePath()
- Renamed ISourceMod::GetModFolderName() to GetGameFolderName()
- Various spelling corrections (why did I do this?)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40735
2007-05-03 03:45:53 +00:00
David Anderson
39110a7a51 added a translation helper
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40734
2007-05-02 22:49:28 +00:00
David Anderson
b8d3ea5196 attempted fix for amb243, timers now simulate ticks if gameframe doesn't give changed curtimes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40733
2007-05-02 22:35:51 +00:00
David Anderson
9219fbb96c fixed a bug where KvJumpToKey did not obey the internal path stack
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40732
2007-05-02 21:00:13 +00:00
David Anderson
2489044d8b oops, we can reference this implicitly now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40730
2007-05-02 20:46:21 +00:00
David Anderson
a5c018724a added amb217 (server.cfg forward)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40729
2007-05-02 20:44:35 +00:00
David Anderson
f498af0190 removed debug code
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40728
2007-05-02 20:30:29 +00:00
Scott Ehlert
3cdd3c0d0d Added GetGameFolderName() native
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40727
2007-05-02 19:33:51 +00:00
David Anderson
5c6ba68e4b userid cache gets repopulated now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40726
2007-05-02 19:20:34 +00:00
David Anderson
4f66cfbf9f fixed issue amb235
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40725
2007-05-02 19:14:26 +00:00
David Anderson
3c3906b494 added request amb234 (OnMapEnd)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40724
2007-05-02 17:49:23 +00:00
David Anderson
d57f543820 renamed OnServerLoad to OnMapStart
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40723
2007-05-02 17:45:09 +00:00
Scott Ehlert
41e473a60c - Removed GetConVarMin/Max() and replaced them with GetConVarBounds()
- Added SetConVarBounds() to set convar constraints after convar has already been created

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40720
2007-05-01 05:29:37 +00:00
Scott Ehlert
523e3d042d Added paramater to CreateEvent to determine whether or not creation should be forced even if nothing is hooking/listening to the event.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40719
2007-04-30 22:53:27 +00:00
Scott Ehlert
473e1d4135 Removed flags from FireEvent()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40718
2007-04-30 22:03:28 +00:00
Scott Ehlert
1b5bcc4836 Fixed amb238 - BuildPath native didn't accept format arguments properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40717
2007-04-30 18:02:28 +00:00
Borja Ferrer
ba17aafb8a synced linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40716
2007-04-27 11:25:30 +00:00
David Anderson
d7cf6dbba9 fixed a bug where typedescription_t searching could crash
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40715
2007-04-27 01:51:34 +00:00
Borja Ferrer
b0e21c9da0 added game config file natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40709
2007-04-22 18:25:10 +00:00
Scott Ehlert
7ce1ef6ea1 Wow, how did I forget this - exported IMemoryUtils interface
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40708
2007-04-21 17:03:28 +00:00
Scott Ehlert
199d839122 Made libPtr param const. Doesn't get modified so why not.
Also removed some unneccessary code (for now)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40707
2007-04-20 18:50:52 +00:00
Scott Ehlert
efa6067669 Basic signature scanning has arrived!
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40706
2007-04-20 18:32:33 +00:00
David Anderson
5811c5b29f fixed a re-entrancy bug
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40705
2007-04-16 16:53:48 +00:00
Scott Ehlert
43856e7dc4 User message functions now use SourceMM 1.4's new API
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40704
2007-04-15 05:43:43 +00:00
Scott Ehlert
93be4e29b8 Oh forgot this - QueryClientConVar returns 0 on bots now.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40703
2007-04-14 04:49:08 +00:00
Scott Ehlert
77e49c855f Added client convar querying :o
Also added ISourceMod::GetModFolderName() for returning the name of the mod directory by itself

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40702
2007-04-14 04:27:47 +00:00
Scott Ehlert
c8f507561c Empty strings can now properly be passed via PushString and StringToLocal
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40701
2007-04-14 04:19:58 +00:00
Borja Ferrer
b56de5d546 added entity string natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40700
2007-04-14 02:24:23 +00:00
David Anderson
f335c318bf Fixed a bug where natives were not rebound on debug toggle
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40699
2007-04-13 17:18:41 +00:00
David Anderson
3f25c99653 fixed a corruption bug when toggling debug mode
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40698
2007-04-13 17:12:25 +00:00
David Anderson
c7db185400 function names now follow convention
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40697
2007-04-13 07:17:52 +00:00
Scott Ehlert
ab4f11e4f5 Fixed linux build... GCC likes to complain.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40696
2007-04-13 05:07:01 +00:00
David Anderson
f3da8efe10 fixed amb193
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40694
2007-04-12 20:18:24 +00:00
Scott Ehlert
7b74745ceb CancelCreatedEvent actually does what it is supposed to do now...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40693
2007-04-12 19:49:49 +00:00
David Anderson
ccdddc16fb fixed using newer engine functions on The Ship because Valve can't version properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40691
2007-04-12 16:28:29 +00:00
Scott Ehlert
4e6834a7a4 Fixed amb190 - Crash with Mani's spawn protection and GetEvent (which exposed re-entrancy problems in EventManager)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40690
2007-04-12 07:51:05 +00:00
Scott Ehlert
3b8864193d Fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40689
2007-04-12 02:16:09 +00:00
Borja Ferrer
21923d7871 added datamap property offset native
added clientofuserid native for fast userid to client id translation
fixed a memory leek (some tries weren't being deleted)
added createdialog native
added 2 million inetchannelinfo wrappers

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40688
2007-04-12 00:45:53 +00:00
David Anderson
4ecb7a985f renamed another native, fixed backwards compat
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40687
2007-04-11 20:07:20 +00:00
David Anderson
e42773b07d added strncmp
renamed StrCompare to strcmp

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40686
2007-04-11 16:24:50 +00:00
David Anderson
e3b3180099 moved another CBaseEdict helper to HalfLife2.cpp
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40684
2007-04-11 15:28:08 +00:00
David Anderson
c889515263 fixed amb186 (state changing crashes)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40683
2007-04-11 15:05:56 +00:00
Scott Ehlert
4c3d5673e6 Added VSP listening and a function to SMGlobalClass
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40681
2007-04-08 18:19:06 +00:00
David Anderson
b6e9922394 fixed a linux build problem
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40680
2007-04-07 04:01:24 +00:00
David Anderson
dee3a2b3cf added some levelchange functions to SMGlobalClass to get rid of some messy crap
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40679
2007-04-07 03:58:20 +00:00
Scott Ehlert
a99089b518 Can't do anything right... removed debug message
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40677
2007-04-05 11:01:12 +00:00
Scott Ehlert
385a4408da Oh. This variable was no longer used.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40676
2007-04-05 10:59:26 +00:00
Scott Ehlert
e677d5d5de Various things:
- Fixed inline translations when using %T
- "Improved" caching of server language
- Renamed Translator::GetServerLanguageCode() to GetServerLanguage()
- Added some more comments to sm_globals.h
- Natives folder in project file mysteriously was moved inside Interfaces, so moved it back o_O
- DS hates empty if statements :o

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40675
2007-04-05 10:55:40 +00:00
David Anderson
58ad1932c2 added file headers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40673
2007-04-05 07:09:17 +00:00