Commit Graph

679 Commits

Author SHA1 Message Date
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
3474ba74a5 removed unused libraries section
added tag section for sawce

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40685
2007-04-11 16:07:44 +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
David Anderson
3bec29a1fe GET_V_IFACE_* will work from SDK_OnMetamodLoad now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40682
2007-04-09 03:05:53 +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
c7f1f04246 Added LANG_SERVER constant to lang.inc
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40678
2007-04-05 11:02:22 +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
Scott Ehlert
5ee48f60a2 Added comments to core.cfg
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40674
2007-04-05 07:59:27 +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
David Anderson
7263533fe5 initial import of skeletal DBI code
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40672
2007-04-05 07:08:39 +00:00
David Anderson
eb006bb665 fixed various retarded errors
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40671
2007-04-05 05:45:35 +00:00
David Anderson
2cb7b5a06a whoops
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40670
2007-04-05 05:28:44 +00:00
David Anderson
f93711bd82 changed the API around a bit to be more flexible
removed some ghastly unneeded stuff from the Translator
added Logger::LogFatal, experimental

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40669
2007-04-05 05:25:11 +00:00
Scott Ehlert
3b9c8e1410 Oh, wow, I forgot to remove this.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40668
2007-04-05 03:16:03 +00:00
Scott Ehlert
ddfe6d84d6 Ugh, initial import of core config file stuff
Warning: This is positively terrible code.
It works, but needs A LOT of work still :\

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40667
2007-04-05 03:02:00 +00:00
Scott Ehlert
af77decdab configs/gamedata wasn't being copied...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40666
2007-04-03 07:02:27 +00:00
Borja Ferrer
708a3a9a5c oh one native for the hat man teame
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40665
2007-03-29 19:48:54 +00:00
Borja Ferrer
daeb5a7dba added iplayerinfo natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40664
2007-03-28 23:35:12 +00:00
Scott Ehlert
22dd1ba592 Couple of quick things...
- Changed SourceMod logtag from SRCMOD to SM
 - ConVars dynamically created by convar manager now can properly be set on srcds command line

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40663
2007-03-28 20:28:42 +00:00
Borja Ferrer
fd1e3c4e97 added precache natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40662
2007-03-25 22:25:45 +00:00
Borja Ferrer
5c7381f11a synced linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40661
2007-03-25 21:18:50 +00:00
Borja Ferrer
08ec195e27 initial implementation of KV natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40660
2007-03-25 20:20:43 +00:00
Scott Ehlert
bb92fc06a6 More consistency of some sort...
Oh god, what has possessed me to do this?

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40659
2007-03-22 21:50:20 +00:00
Scott Ehlert
5b3a3cef27 Made this more consistent or something...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40658
2007-03-22 21:12:17 +00:00
Borja Ferrer
862f25b223 fixed possible overflow cases
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40657
2007-03-19 19:19:41 +00:00
Scott Ehlert
1ced2210ed Guess I forgot to close this.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40656
2007-03-19 18:07:15 +00:00
David Anderson
1bb6f90d2e apparently I can't change a single line of code these days
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40655
2007-03-19 05:39:11 +00:00
David Anderson
ec0e0dca63 whoops, tee hee, broke OnClientAuthorized
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40654
2007-03-19 01:50:03 +00:00
David Anderson
c6c4de1f75 fixed a potential bug with kicking players during authorization
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40653
2007-03-19 01:44:09 +00:00
David Anderson
c6375166a1 added auth ident type creation
fixed some spacing issues

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40652
2007-03-19 01:29:29 +00:00
David Anderson
ee8780966d made another timer parameter default
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40651
2007-03-17 23:03:56 +00:00
David Anderson
49c9ab6e25 added a playerinfo function to kick this off
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40650
2007-03-17 23:03:44 +00:00
David Anderson
88eae4ad1e added a new forward for OnServerActivate
included timers from sourcemod.inc

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40649
2007-03-17 20:25:08 +00:00
David Anderson
3250b1d2b7 added the textpad files contributed by cybermind
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40648
2007-03-17 16:32:40 +00:00
Borja Ferrer
6e78ac6302 fixed several memory leaks
fixed plugin listeners being removed before a OnPluginUnloaded Call_AskPluginLoad
removed some virtuality
all cached ptrs using the Stack system are freed now

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40647
2007-03-17 00:55:46 +00:00
David Anderson
c6166f4b44 fixed a very serious codegen bug where stack usage was not corrected when breaking or continuing in while loops. glad I caught this last minute!
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40646
2007-03-16 22:50:27 +00:00
David Anderson
c6183b14b0 moved to inner loop
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40645
2007-03-16 22:49:52 +00:00
David Anderson
b89b932f15 fixed a bug where ReadFileLine could return true when no data was read
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40644
2007-03-16 22:38:24 +00:00
David Anderson
cbf1bbec0f added admin "simple file" parsing
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40643
2007-03-16 22:15:03 +00:00
David Anderson
62bd9ee7f8 fixed various file operations using Path_SM instead of Path_Game
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40642
2007-03-16 22:09:07 +00:00
Scott Ehlert
c02dbabe30 Clarified some things here...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40641
2007-03-16 21:34:29 +00:00
Scott Ehlert
5187ea1903 Changed some tags to "any" where appropriate (did I miss anything?)
Plus some other strange things...

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40640
2007-03-16 20:39:32 +00:00
David Anderson
bb40b22125 fixed a bug where GetCmdArgString() would crash on 0 parameters
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40639
2007-03-16 20:10:34 +00:00
Scott Ehlert
43af1a130e Added experimental "any" tag to compiler...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40638
2007-03-16 20:10:26 +00:00
David Anderson
19cfb041aa added StrBreak from AMX Mod X, with various improvements
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40637
2007-03-16 20:10:13 +00:00