Commit Graph

56 Commits

Author SHA1 Message Date
Scott Ehlert
40c1fee55a Added support for Mac OS X and building with clang (bug 5601, r=dvander). 2013-02-13 01:14:37 -06:00
Steve Dudenhoeffer
240c92e20f Updated all module SDKs to stop the most annoying issue ever: amxxmodule.h required size_t but did not include stddef.h
Also stopped dodfun, dodx, tfcx and tsx from loading on games other than the ones they are designed for.
2008-04-29 06:53:55 +00:00
Steve Dudenhoeffer
1d7cbd4203 Added check for mod game when a module loads: If the module has the optional function, and reports that it is not an expected game, the module will not load.
This should fix how some people seem to think the counter strike modules will work on games other than counter strike.
2008-04-27 00:07:06 +00:00
Scott Ehlert
118b002ee8 Synced Module SDK files with most recent fixes
- Fixed potential issue with Meta_Query
 - Removed debug message from GiveFnptrsToDll that has been present for a long long time

Again I ask why?
2007-03-21 20:22:20 +00:00
David Anderson
b7b55d060a sawce's sdk fixes 2006-12-19 11:19:45 +00:00
David Anderson
e6c15d9f05 Fixed bug am48580 2006-12-19 01:57:18 +00:00
David Anderson
621c120b71 finished merging in the glorious bcompat changes 2006-09-08 14:11:29 +00:00
David Anderson
cd6f3dfd71 Updated SDK for GCC-4.1 2006-08-25 00:53:37 +00:00
David Anderson
fc5e049e4a expanded MF_OverrideNatives API function a bit, to exclude named module(s) 2006-06-03 21:34:43 +00:00
David Anderson
43ecf97f99 fixed spelling mistake 2006-06-03 19:29:29 +00:00
David Anderson
bce3bce586 Added amx_ReRegister() and MNF_RegisterFunctionEx() 2006-05-19 01:54:51 +00:00
Scott Ehlert
30ce0d9f1b Another pointless typo fix 2006-05-11 02:29:08 +00:00
David Anderson
afe19411b2 oh I forgot to commit this, basic-master-san 2006-05-10 12:40:44 +00:00
David Anderson
b12025093b added ability to override natives (someone shoot me) 2006-05-10 11:23:08 +00:00
David Anderson
dad00a2eb6 Initial import of replacement Library system - Backwards compat tested!
Updated new SDK (bumped vers number, kept backwards compat)
Improved module path resolving
2006-05-07 09:56:06 +00:00
Scott Ehlert
f2d21c410b MSVC8/VS2005 Compiling Fixes - 0 errors, 0 warnings. Hurray! 2006-04-06 12:56:45 +00:00
David Anderson
dc5506efe3 added experimental callback for modules to get authorization 2006-02-28 09:59:03 +00:00
David Anderson
30f7f6d51f Fixed typo in SDK 2005-11-20 20:00:31 +00:00
David Anderson
0551b46c8b gcc4 compatibility (Nijule) 2005-11-19 22:44:17 +00:00
David Anderson
a8bb28caa4 Committed new SDK function for player property mappings 2005-11-19 00:33:51 +00:00
David Anderson
d5c75fd6a5 What... 2005-10-30 14:17:32 +00:00
David Anderson
9ddc24898f same win32 fix 2005-08-18 06:37:50 +00:00
David Anderson
fa64bef511 New SDK for gcc-3 compilations 2005-08-18 06:34:34 +00:00
David Anderson
13c65f006b SDK no longer manages memory by default 2005-08-17 16:48:31 +00:00
David Anderson
562633c040 SDK to update MF_AmxExec and add MF_AmxPush 2005-08-01 03:23:56 +00:00
David Anderson
f18354807e Updated module SDK 2005-07-26 23:33:52 +00:00
David Anderson
70396a2fc1 new sdk version (bumped interface!!!!) 2005-07-15 19:13:50 +00:00
David Anderson
35ecd40228 Fixed bug at15479 (karlos)
Fixed bug at11812 (Kamikaze)
Added new build_pathname implementation for reentracy.
build_pathname_r added to module API
2005-07-08 05:05:06 +00:00
David Anderson
943a75d7e1 Added requestfunction 2005-07-06 03:59:02 +00:00
David Anderson
cc899d298d Modules can now intercommunicate through RegisterFunction() - UNTESTED
Registering a function will make it available through ReqFunc,
2005-07-05 22:01:29 +00:00
David Anderson
be28d95b8d Fixed DS's notice 2005-01-31 07:52:32 +00:00
David Anderson
b9c83aa4a2 Reworked SDK LogError() to include module names
improved debugging output
2004-10-04 05:50:28 +00:00
Johnny Bergström
5a5ff6d8ea Fixed parameter type in FN_PvAllocEntPrivateData (from long to int32) 2004-10-01 08:52:25 +00:00
Steve Dudenhoeffer
bbe2626fd1 :gyar: a couple minor improvements :attack:
Global pointer for function tables
Better support for compiling under Cygwin gcc

:avast:
2004-09-30 06:18:23 +00:00
Steve Dudenhoeffer
4008743091 Fixed GetPlayerTeam 2004-09-19 16:43:55 +00:00
Pavol Marko
5527afc91e Added MF_Prepare*ArrayA functions
The MF_Prepare*ArrayA functions have a third "bool copyBack" parameter which defaults to false and specifies whether the array should be copied from plugin space to module space after function execution (=whether the original array should be updated)
The MF_Prepare*Array are equivalent to MF_Prepare*ArrayA(ptr, size, false);
2004-09-18 16:54:04 +00:00
David Anderson
1980c524d3 fix 2004-09-16 02:42:40 +00:00
David Anderson
31604d44a8 exported debug engine 2004-09-15 21:34:06 +00:00
David Anderson
91decabfde Added MNF_GetPlayerTeam for mahnsawce 2004-09-14 16:18:52 +00:00
David Anderson
9922b5016f Fixed stdc errors 2004-09-11 21:55:33 +00:00
Pavol Marko
acf722e855 Hopefully fixed SDK 2004-09-11 16:35:14 +00:00
Pavol Marko
7334f968a8 added MF_GetPlayerEdict (replacement for INDEXENT on players) and MF_Format. 2004-09-10 21:17:05 +00:00
David Anderson
313e0603e9 LoadAmxScript change 2004-09-08 07:35:51 +00:00
David Anderson
226c7300be Made memory management optional 2004-09-07 08:24:03 +00:00
David Anderson
3d0e25a8ef Made memory management optional 2004-09-07 06:11:17 +00:00
David Anderson
37a5a38be5 Changed amx structure for compatibility 2004-09-03 06:53:00 +00:00
David Anderson
02cb4b94f5 Commited new SDK 2004-09-01 21:13:30 +00:00
David Anderson
b254f14285 Fixed bug where MF_GetScriptName() was NULL 2004-08-30 02:00:01 +00:00
Pavol Marko
93cd6dbed5 Fixed problem with pack not popped (=> hlsdk structures should be aligned correctly again) 2004-08-28 21:29:25 +00:00
David Anderson
8b35ce2145 Added amx_FindNative to module API 2004-08-24 04:46:15 +00:00