Commit Graph
100 Commits
Author SHA1 Message Date
David Anderson 30f50e6ded Initial import of menu API
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40774
2007-05-12 23:45:36 +00:00
David Anderson e76b4cd255 whoa, added a new template function
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40773
2007-05-12 22:52:25 +00:00
David Anderson 47e359d195 fixed typo
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40770
2007-05-12 02:14:12 +00:00
David Anderson a4d07a2d40 stupid bug
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40767
2007-05-10 14:13:50 +00:00
David Anderson a6c9fa470d fixed __DATE__ showing up wrong
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40766
2007-05-09 21:35:24 +00:00
David Anderson 45d0589585 fixed a serious codegen bug where for loops with no variable declarations would misalign the internal stack tracker of the compiler
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40760
2007-05-07 04:17:24 +00:00
David Anderson 3493467771 small rewrite of how keyvalues iterator and get deleted. phew!
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40759
2007-05-07 02:58:58 +00:00
David Anderson 2f14014f3f oops, how did this happen
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40758
2007-05-07 00:11:10 +00:00
David Anderson ca7ebffc8a oops
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40757
2007-05-07 00:03:37 +00:00
David Anderson e69edf05eb added amb260
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40756
2007-05-07 00:02:33 +00:00
David Anderson 67a0cdf1c3 added StrCat stock
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40755
2007-05-06 23:35:45 +00:00
David Anderson eb5b94ec44 more string natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40754
2007-05-06 23:12:54 +00:00
David Anderson ffe0867d1a fixed amb254
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40753
2007-05-06 19:52:00 +00:00
David Anderson a247f402ca builder now creates a data folder
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40752
2007-05-06 19:45:46 +00:00
David Anderson b8e2b6cf68 fixed bug amb259
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40751
2007-05-06 19:13:39 +00:00
David Anderson 7013072236 added request amb251
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40749
2007-05-06 06:15:48 +00:00
David Anderson 539d09c9b0 bumped version no
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40741
2007-05-04 02:45:10 +00:00
David Anderson 1f97a66fbf fixed makefile for jit/sp stuff
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40740
2007-05-04 02:36:11 +00:00
David Anderson 01b0432776 changed LANG_ENGLISH to CORELANG_ENGLISH
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40738
2007-05-03 05:27:22 +00:00
David Anderson 44d1ea5f09 added LANG_ENGLISH define
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40737
2007-05-03 05:26:10 +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 45d5518b11 these should be default as the comments imply so
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40731
2007-05-02 20:51:28 +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
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
David Anderson d432dc0cbd fixups to a few include files
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40722
2007-05-02 02:15:45 +00:00
David Anderson 462fe04f95 added SOURCEMOD_BUILD define for extensions
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40721
2007-05-02 02:13:15 +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
David Anderson 053029af87 fixed comment
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40714
2007-04-27 00:21:21 +00:00
David Anderson d30f82d3fa updated linux build to new layout
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40713
2007-04-26 22:42:39 +00:00
David Anderson 960bee31da jit helpers are now public
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40712
2007-04-26 22:20:39 +00:00
David Anderson 453d636cc9 added jit layout
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40711
2007-04-26 22:16:58 +00:00
David Anderson cc44e1416a added menu control strings
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40710
2007-04-26 03:50:06 +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
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
David Anderson 7125585125 all tags get exported now
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40695
2007-04-12 20:48:33 +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
David Anderson 9542cf5113 Added some redirection and exception handling
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40692
2007-04-12 19:08:01 +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
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 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
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
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
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
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
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
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
David Anderson 632608b5bb fixed debug section not being packed -- oops!
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40636
2007-03-16 18:19:26 +00:00
David Anderson 279c102ddc random touchups that might not be so great
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40625
2007-03-15 20:44:23 +00:00
David Anderson 0aadfbdfab added natives for iterating plugins and retrieving plugin info
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40624
2007-03-15 20:10:25 +00:00
David Anderson dc9f6e405e fixed two spelling mistakes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40623
2007-03-15 04:45:33 +00:00
David Anderson 2c70ec1a8c refactored singleton class names
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40622
2007-03-15 04:45:17 +00:00
David Anderson 043b8f255f removed const from most apis. it was pointless since there were no actual const pointers.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40621
2007-03-15 04:34:42 +00:00
David Anderson 0bbb4670fc my easter egg. if you're wondering, this only took an hour.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40620
2007-03-15 04:23:46 +00:00
David Anderson 3f7180aa65 whoops, i should have done this a long time ago
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40616
2007-03-14 04:08:59 +00:00
David Anderson 8867fb1ce7 fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40612
2007-03-13 05:55:58 +00:00
David Anderson 21ed05048f dynamic native providers can now be unloaded safely
fixed an api naming typo :(

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40611
2007-03-12 20:40:30 +00:00
David Anderson 8e4a59a4e0 This assertion is no longer correct because of sm_trie_delete()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40610
2007-03-12 20:11:54 +00:00
David Anderson b3d3b30855 updated Makefile to have all the .cpp files - we need to keep better track of this
various gcc whinings fixed

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40609
2007-03-12 17:42:44 +00:00
David Anderson 57d0a7a23a gcc fix
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40608
2007-03-12 17:33:39 +00:00
David Anderson 7c06d89b00 initial import of dynamic native code for both the JIT and plugins
note: dependency resolution is not done yet!

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40607
2007-03-12 07:08:05 +00:00
David Anderson 7ab8e2027b fixed spacing on headers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40606
2007-03-12 00:07:54 +00:00
David Anderson 2aa8810021 used a better error number
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40605
2007-03-12 00:06:20 +00:00
David Anderson d8c02c294f fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40602
2007-03-11 18:37:55 +00:00
David Anderson c2f106d4c6 added request amb80 (system time)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40601
2007-03-11 18:30:29 +00:00
David Anderson 5b1f1d19c1 part 2 of singleton renaming
--HG--
rename : core/CGameConfigs.cpp => core/GameConfigs.cpp
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40598
2007-03-10 21:26:04 +00:00
David Anderson 749ddc8c15 part 1 of singleton renaming
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40597
2007-03-10 21:18:07 +00:00
David Anderson 5228c86e2c reorganized this a bit
--HG--
rename : core/CMsgListenerWrapper.h => core/smn_usermsgs.h
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40596
2007-03-10 21:12:40 +00:00
David Anderson 38c94838b9 IPluginFunction implementation is re-entrant across native calls, as heap allocations are delayed until execution
removed ICallable::GetAddressOfPushedParam
removed phys_addr from ICallable::PushArray
fixed a bug where sp_context_t::n_idx was overwritten upon re-entrant calls

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40595
2007-03-10 21:02:40 +00:00
David Anderson bda756f3ff fixed a really dumb bug - shouldn't compilers be checking this?
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40592
2007-03-10 05:52:51 +00:00
David Anderson 876e3da8e3 fixed the build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40589
2007-03-07 16:41:12 +00:00
David Anderson 510b764d43 fixed really stupid bug
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40581
2007-03-03 09:46:36 +00:00