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
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
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
Scott Ehlert
949b83c99b
Reverted change where flags param was removed on PushCellByRef and PushFloatByRef. Instead set the param to a default value of SM_PARAM_COPYBACK. (DS, how dare you!)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40591
2007-03-07 18:37:41 +00:00
Scott Ehlert
dfed71eb28
Breakage alert :\
...
ThrowNativeErrorEx now returns 0 for convenience
PushCellByRef and PushFloatByRef no longer have a flags parameter because it was almost pointless
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40590
2007-03-07 18:24:09 +00:00
Scott Ehlert
0b25b6d667
Many things:
...
1) General code clean-up in convar manager
2) Fixed bug where convar handles were not being cached for pre-existing convars
3) Fixed bug where a convar's old value and new value were switched in the ConVarChanged hooks
4) Made convar and concmd listings more consistent, I think
5) Alphabetized convar listing
6) Minor clean-up in event manager
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40588
2007-03-06 23:59:25 +00:00
Scott Ehlert
e6a127ac17
Redid case on some error messages
...
Really minor things in EventManager
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40587
2007-03-06 07:38:19 +00:00
Scott Ehlert
c256741488
Renamed CConVarManager to ConVarManager
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40586
2007-03-06 06:49:35 +00:00
Scott Ehlert
70ec3db66c
Commands with the same name as an existing convar can no longer be created
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40585
2007-03-06 06:15:19 +00:00
Scott Ehlert
ac9051ab71
Oh, this isn't needed anymore
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40584
2007-03-06 04:53:14 +00:00
Scott Ehlert
dbb74a612d
Creating/Firing/Canceling events now use CStack to avoid the need to use new when possible
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40583
2007-03-06 04:50:30 +00:00
Scott Ehlert
68f40e96f2
Initial import of event stuff: Natives to hook and fire game events
...
Also made some minor internal changes to convars
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40582
2007-03-04 04:05:03 +00:00
Scott Ehlert
25891bdaba
Typo fix: initialler -> initializer
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40569
2007-03-02 23:23:13 +00:00
Scott Ehlert
9de900d3eb
Made this const for great justice
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40565
2007-03-02 09:15:54 +00:00
Scott Ehlert
5cccd9a242
Added hex format specifier (%X and %x)
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40550
2007-02-27 21:30:04 +00:00
Scott Ehlert
49d96d4322
Added GetUserMessageName() native spec to usermessages.inc
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40518
2007-02-17 07:31:14 +00:00
Scott Ehlert
e7759cabea
Initial fixes to ensure static strings passed to new convars
...
Also fixed minor warning in smn_bitbuffer.cpp
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40517
2007-02-17 05:33:31 +00:00
Scott Ehlert
3f1051e83b
Corrected Vista information... I think
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40515
2007-02-17 04:10:58 +00:00
Scott Ehlert
c91542fbe8
Moved this... for now
...
Also added missing header
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40510
2007-02-16 07:48:38 +00:00
Scott Ehlert
0655c1b34c
Fixed up a few things in preliminary UltraEdit syntax highlighting file
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40501
2007-02-15 01:02:34 +00:00
Scott Ehlert
06b9b09ea6
Plugin forwards for convar changes are no longer called if the new and old values are the same
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40500
2007-02-14 23:44:40 +00:00
Scott Ehlert
bb79b1e6a9
Removed convar stuff from CPlugin, now uses plugin properties for convar listing
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40493
2007-02-14 01:25:45 +00:00
Scott Ehlert
d5a7ba694c
Changed "sm cvars" to "sm convars" in the name of consistency I guess
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40488
2007-02-13 06:12:33 +00:00
Scott Ehlert
58ea6d1e65
Err, some missing keywords and corrections to UltraEdit/UEStudio syntax highlighting file
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40483
2007-02-12 13:32:42 +00:00
Scott Ehlert
8d1d75f551
Fixed minor spacing issue in console.inc
...
Added preliminary syntax highlighting file for UltraEdit/UEStudio
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40482
2007-02-12 13:20:19 +00:00
Scott Ehlert
6cff249b5c
Fixed tabs, hopefully...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40481
2007-02-12 09:00:55 +00:00
Scott Ehlert
7b8eaf4f75
Specified more error scenarios...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40479
2007-02-12 07:22:25 +00:00
Scott Ehlert
c83b9236b0
Fixed return value on UnhookConVarChange
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40478
2007-02-12 07:11:00 +00:00
Scott Ehlert
ce7f2ae23b
More error message fix-ups: removed periods from single sentence native errors - did I miss any? Probably...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40476
2007-02-12 05:53:49 +00:00
Scott Ehlert
dd9b575853
Fixed up some error messages...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40475
2007-02-12 05:46:00 +00:00
Scott Ehlert
efff395182
Fixed Linux build...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40472
2007-02-11 11:20:38 +00:00
Scott Ehlert
0d54b19b8e
More convar insanity
...
1) Added natives: HookConVarChange(), UnhookConVarChange(), and GetConVarName()
2) Fixed bug(s) where ConVar handles were being created when they didn't need to be
3) Fixed bug where convars not created by SourceMod would be unregistered
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40471
2007-02-11 11:09:38 +00:00
Scott Ehlert
09236c2d7a
Fixed native errors not being logged - hope I did this correctly...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40468
2007-02-10 10:38:23 +00:00
Scott Ehlert
fdba3e1f66
Initial import of convar stuff
...
1) Natives to create, find, set, and get convars
2) "cvars" option added to sm menu
3) Some internal additions to CPlugin to store a convar list
Still some things left to do...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40463
2007-02-08 21:41:28 +00:00
Scott Ehlert
1300048946
Typo fix and removal of a semicolon in the name of consistency?
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40461
2007-02-08 04:56:08 +00:00
Scott Ehlert
db676e8bfc
Corrected parameter order for FloatToString
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40460
2007-02-08 04:53:56 +00:00
Scott Ehlert
6a7f216615
Worst commit ever, but I have removed some unnecessary things
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40438
2007-02-05 08:58:03 +00:00
Scott Ehlert
02ffffe05a
Oi, consistency...
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40432
2007-02-02 22:47:14 +00:00
Scott Ehlert
3efb158754
Code clean-up on aisle nana! Well, barely any code was touched here actually...
...
1) Fixed a few minor warnings
2) Removed MM build configs from geoip
3) Made sure that every project and build config had its Character Set set to Multi-Byte and that Detect 64-Bit Portability Issues was set to No.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40431
2007-02-02 11:27:22 +00:00
Scott Ehlert
54a574c104
Fixed annoying bug in builder where executing svnversion command on a path containing spaces would cause a crash
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40430
2007-02-02 11:08:51 +00:00
Scott Ehlert
4a324feac0
Corrected the most annoying spelling mistake ever: depricated -> deprecated
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%4057
2006-08-04 03:41:50 +00:00
Scott Ehlert
5eebbb2b8f
Initial SVN structure
...
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401
2006-07-11 21:16:11 +00:00