Commit Graph

642 Commits

Author SHA1 Message Date
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
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
Borja Ferrer
d5ca9a3872 synced and fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40635
2007-03-16 18:05:47 +00:00
Scott Ehlert
c9f81b9b11 Changed this for the better...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40634
2007-03-16 18:02:00 +00:00
Scott Ehlert
ccc1dde76d Fixed minor bug...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40633
2007-03-16 17:30:36 +00:00
Scott Ehlert
19728377f1 Minor stuff, no need to look
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40632
2007-03-16 17:29:05 +00:00
Borja Ferrer
a98c47e04b typo fix
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40631
2007-03-16 15:41:56 +00:00
Scott Ehlert
afb247d2bd This line isn't needed anymore o_O
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40630
2007-03-16 11:37:57 +00:00
Scott Ehlert
83145e84fc Fixed issue with UE not finding functions containing parameters with a tag list
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40629
2007-03-16 07:01:54 +00:00
Scott Ehlert
b199861065 Thank you for the typo, UltraEdit
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40628
2007-03-16 06:57:31 +00:00
Scott Ehlert
5fa53bfc68 Dear me, I should have committed this long ago...
1) Added natives to create and manipulate global and private forward
2) Added natives to call forwards and functions
3) Added an IChanageableForward::RemoveFunction overload for convenience or something
4) Added test suite plugins for functions and forwards
5) Some random touch-ups to some include files

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40627
2007-03-16 06:54:24 +00:00
Borja Ferrer
b45b71fdd2 some doxygen fixes
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40626
2007-03-15 22:32:45 +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
Borja Ferrer
df2d234b06 oh forgot to delete killed timers
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40619
2007-03-14 15:32:28 +00:00
Borja Ferrer
971cb8f7e7 implemented timer natives
fixed some design issues in the timer manager

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40618
2007-03-14 11:34:03 +00:00
Scott Ehlert
62aa55b23b Global forwards created after all plugins have been loaded now properly get filled with IPluginFunction pointers.
Added CPluginManager::AddFunctionsToForward() to help do this...

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40617
2007-03-14 07:54:54 +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
Scott Ehlert
c4a677df79 Made this define consistent with AMXX
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40615
2007-03-14 02:58:12 +00:00
Scott Ehlert
243aea7a3a Forgot to add svn:ignore property to a few places
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40614
2007-03-13 21:52:19 +00:00
Scott Ehlert
c3cf831a6d Added svn:ignore property to a bunch of stuff
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40613
2007-03-13 21:48:10 +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
Borja Ferrer
f64945b2aa implemented the bf_read natives
message hooks now receive the bf_read handle

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40604
2007-03-11 21:09:05 +00:00
Borja Ferrer
95dcffc972 user messages tested and working
fixed some floating point casts

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40603
2007-03-11 19:26:47 +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
Borja Ferrer
d51ea0695f HAHA estoy usando el internet!!!11!
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40600
2007-03-11 03:25:28 +00:00