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
Scott Ehlert2007-04-05 10:55:40 +00:00
f93711bd82
changed the API around a bit to be more flexible removed some ghastly unneeded stuff from the Translator added Logger::LogFatal, experimental
David Anderson2007-04-05 05:25:11 +00:00
ddfe6d84d6
Ugh, initial import of core config file stuff Warning: This is positively terrible code. It works, but needs A LOT of work still :\
Scott Ehlert2007-04-05 03:02:00 +00:00
af77decdab
configs/gamedata wasn't being copied...
Scott Ehlert2007-04-03 07:02:27 +00:00
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
Scott Ehlert2007-03-28 20:28:42 +00:00
49c9ab6e25
added a playerinfo function to kick this off
David Anderson2007-03-17 23:03:44 +00:00
88eae4ad1e
added a new forward for OnServerActivate included timers from sourcemod.inc
David Anderson2007-03-17 20:25:08 +00:00
3250b1d2b7
added the textpad files contributed by cybermind
David Anderson2007-03-17 16:32:40 +00:00
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
Borja Ferrer2007-03-17 00:55:46 +00:00
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!
David Anderson2007-03-16 22:50:27 +00:00
5187ea1903
Changed some tags to "any" where appropriate (did I miss anything?) Plus some other strange things...
Scott Ehlert2007-03-16 20:39:32 +00:00
bb40b22125
fixed a bug where GetCmdArgString() would crash on 0 parameters
David Anderson2007-03-16 20:10:34 +00:00
43af1a130e
Added experimental "any" tag to compiler...
Scott Ehlert2007-03-16 20:10:26 +00:00
19cfb041aa
added StrBreak from AMX Mod X, with various improvements
David Anderson2007-03-16 20:10:13 +00:00
632608b5bb
fixed debug section not being packed -- oops!
David Anderson2007-03-16 18:19:26 +00:00
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
Scott Ehlert2007-03-16 06:54:24 +00:00
971cb8f7e7
implemented timer natives fixed some design issues in the timer manager
Borja Ferrer2007-03-14 11:34:03 +00:00
62aa55b23b
Global forwards created after all plugins have been loaded now properly get filled with IPluginFunction pointers. Added CPluginManager::AddFunctionsToForward() to help do this...
Scott Ehlert2007-03-14 07:54:54 +00:00
3f7180aa65
whoops, i should have done this a long time ago
David Anderson2007-03-14 04:08:59 +00:00
21ed05048f
dynamic native providers can now be unloaded safely fixed an api naming typo :(
David Anderson2007-03-12 20:40:30 +00:00
8e4a59a4e0
This assertion is no longer correct because of sm_trie_delete()
David Anderson2007-03-12 20:11:54 +00:00
b3d3b30855
updated Makefile to have all the .cpp files - we need to keep better track of this various gcc whinings fixed
David Anderson2007-03-12 17:42:44 +00:00
7c06d89b00
initial import of dynamic native code for both the JIT and plugins note: dependency resolution is not done yet!
David Anderson2007-03-12 07:08:05 +00:00
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
David Anderson2007-03-10 21:02:40 +00:00
bda756f3ff
fixed a really dumb bug - shouldn't compilers be checking this?
David Anderson2007-03-10 05:52:51 +00:00
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!)
Scott Ehlert2007-03-07 18:37:41 +00:00
dfed71eb28
Breakage alert :\ ThrowNativeErrorEx now returns 0 for convenience PushCellByRef and PushFloatByRef no longer have a flags parameter because it was almost pointless
Scott Ehlert2007-03-07 18:24:09 +00:00
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
Scott Ehlert2007-03-06 23:59:25 +00:00
e6a127ac17
Redid case on some error messages Really minor things in EventManager
Scott Ehlert2007-03-06 07:38:19 +00:00
c256741488
Renamed CConVarManager to ConVarManager
Scott Ehlert2007-03-06 06:49:35 +00:00
70ec3db66c
Commands with the same name as an existing convar can no longer be created
Scott Ehlert2007-03-06 06:15:19 +00:00
dbb74a612d
Creating/Firing/Canceling events now use CStack to avoid the need to use new when possible
Scott Ehlert2007-03-06 04:50:30 +00:00
68f40e96f2
Initial import of event stuff: Natives to hook and fire game events Also made some minor internal changes to convars
Scott Ehlert2007-03-04 04:05:03 +00:00