Commit Graph

855 Commits

Author SHA1 Message Date
Felix Geyer
34c6a1d4be stop removing my changes *evil* 2004-09-01 11:34:48 +00:00
David Anderson
e979252742 More fixes from malex 2004-08-31 22:40:30 +00:00
David Anderson
2f37ab7ede Fixed bug where radians were not converted properly (malex) 2004-08-31 15:16:16 +00:00
David Anderson
b1dd324354 Fixed client_command forward 2004-08-31 15:10:12 +00:00
Pavol Marko
f06796c275 Changed so that a MOTD will also display when there is no ServerName message (as proposed by karlos on the forums). 2004-08-31 13:20:29 +00:00
David Anderson
0b2eae8e0a Fixed a bug where remove_task() crashed
amxx_mm -> amxmodx_mm
2004-08-31 06:49:22 +00:00
David Anderson
4fff936626 amxx_mm -> amxmodx_mm 2004-08-31 06:46:44 +00:00
David Anderson
91aacb1036 Fixed bug where file stats were incorrect (malex) 2004-08-30 23:29:37 +00:00
Pavol Marko
b33a53d258 fixed bug where expressions like %02d would not be evaluated correctly 2004-08-30 15:14:50 +00:00
Felix Geyer
bec1e418e7 removed "J" from amxmodx_version cvar again 2004-08-30 15:02:07 +00:00
Felix Geyer
5c6db6d743 added missing zlib.lib 2004-08-30 14:41:32 +00:00
Pavol Marko
ac25c5fc60 %% in a format input string now produces one % in the output string correctly 2004-08-30 14:35:16 +00:00
David Anderson
b254f14285 Fixed bug where MF_GetScriptName() was NULL 2004-08-30 02:00:01 +00:00
David Anderson
38e89f11f4 Fixed possible bug for %% 2004-08-30 01:39:15 +00:00
David Anderson
f4960433bc Fixed possible formatting bug 2004-08-30 01:37:25 +00:00
Pavol Marko
727c798892 fixed crash bug 2004-08-29 19:49:08 +00:00
Pavol Marko
c1d75857f3 fixed crash bug 2004-08-29 18:51:25 +00:00
Pavol Marko
6d91af30b8 fixed memory leak 2004-08-29 18:50:38 +00:00
Pavol Marko
a1d36ff75d possible fix for the : issue 2004-08-29 18:00:16 +00:00
David Anderson
a3d048880f oops 2004-08-29 17:15:32 +00:00
David Anderson
53f8d12237 Switched tasks to forward system 2004-08-29 17:11:08 +00:00
Pavol Marko
54fb9fbfef registerSPForwardByName now automatically unregisters the forward again and returns -1 if the function is not found 2004-08-29 16:52:54 +00:00
Pavol Marko
5a80d24780 Fixed NewDLL heap corruption 2004-08-29 16:48:31 +00:00
Pavol Marko
b8bbe4ae8f Fixed small NewDLL issues 2004-08-29 13:32:55 +00:00
Pavol Marko
da13f4797d Reenabled NewDLL functions 2004-08-29 13:32:31 +00:00
David Anderson
6d35912c67 Removed debug info 2004-08-28 22:34:54 +00:00
David Anderson
02be09dd00 Removed inline notation. 2004-08-28 22:34:02 +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
Pavol Marko
8c8ccc51c4 Probably fixed problem with forwards getting garbage parameters 2004-08-28 21:25:29 +00:00
Pavol Marko
c7982c2bc3 Probably fixed problem with forwards getting garbage parameters 2004-08-28 21:25:03 +00:00
David Anderson
d5cb120ab4 Quick fix 2004-08-24 05:29:32 +00:00
David Anderson
84771f11a7 updated makefile 2004-08-24 05:00:23 +00:00
David Anderson
8b35ce2145 Added amx_FindNative to module API 2004-08-24 04:46:15 +00:00
David Anderson
9d3ea5513b Fixed a crash bug in FormatAmxString()
Added amx_FindNative to module API
Changed LZO->GZ in .amxx format
2004-08-24 04:30:13 +00:00
David Anderson
c53f54fe20 Changed from LZO to GZ compression 2004-08-23 18:21:09 +00:00
David Anderson
2d9e405b18 Important bug fixes 2004-08-23 14:14:58 +00:00
Felix Geyer
a23712bb19 updated is_plugin_loaded() to expect the plugin title 2004-08-22 20:59:46 +00:00
David Anderson
293486ff12 new cvar 2004-08-22 14:50:35 +00:00
David Anderson
b822b91c75 Fixed makefile bugs
Fixed newline bug
Removed some unnecessary stuff from amx.cpp
2004-08-22 11:46:04 +00:00
Felix Geyer
c003f90713 removed type from "amxx modules" 2004-08-22 11:36:24 +00:00
David Anderson
72a7e9d849 Fixed bugs 2004-08-22 09:43:35 +00:00
David Anderson
3818987c33 Fixed a few bugs, added new Makefile in perl 2004-08-22 09:28:09 +00:00
David Anderson
6f8c2b828a Added JIT object file (thanks malex) 2004-08-22 08:22:33 +00:00
Steve Dudenhoeffer
51caf26399 Fixed a couple issues with gcc 2004-08-22 02:52:27 +00:00
David Anderson
d4ad09619e Prevented keys from overwriting each other 2004-08-21 21:39:21 +00:00
Pavol Marko
b63ae4eed8 added GetLangR, which doesn't construct a CLang object when not found;
GetDef now uses GetLangR, so when users set their language to an invalid value, no such language is created.
2004-08-21 21:08:30 +00:00
Felix Geyer
4bf0a0c6c3 removed 2004-08-21 18:47:33 +00:00
Felix Geyer
dca58b7356 Single-threaded 2004-08-20 17:23:19 +00:00
Felix Geyer
c4af0ff664 Initial import 2004-08-20 14:05:46 +00:00
Felix Geyer
09b3306dc2 added version information to the dll 2004-08-20 13:25:19 +00:00
Felix Geyer
8d86d078c3 new always up-to-date project file 2004-08-20 13:24:23 +00:00
Felix Geyer
d9f5d9dc32 removed 2004-08-20 13:23:33 +00:00
Felix Geyer
d50ede5492 removed "J" from amxmodx_version cvar 2004-08-19 22:27:47 +00:00
Felix Geyer
d19d570758 fixed show_menu (thx PM :) 2004-08-19 20:34:16 +00:00
Pavol Marko
b6d142f481 Lang strings can now contain ^n (newline), ^t (tabulator) and ^^ (^). 2004-08-19 19:34:49 +00:00
Pavol Marko
16c406fe1a Fixed bugs 2004-08-19 18:35:18 +00:00
Pavol Marko
3af9ae8927 Fixed bugs 2004-08-19 16:37:55 +00:00
Pavol Marko
213694cccc Added comments 2004-08-19 16:37:32 +00:00
Pavol Marko
008474fbe5 Fixed bugs:
client_print: if used with index=0, the message was printed many times
 show_hudmessage: correct language handling for index index=0
2004-08-19 16:37:15 +00:00
David Anderson
c622e1b6c7 More error reporting 2004-08-18 15:30:06 +00:00
David Anderson
5ecd986d9b MULTILINGUAL - ALL BUGS FIXED
Reversed Makefile
Changed memreport file names
2004-08-16 21:34:50 +00:00
David Anderson
1bd7ab3a95 Binary code nearly complete
(save works, load does not)
2004-08-15 15:26:46 +00:00
David Anderson
46adfaedd3 Fixed almost all CLang bugs: (mem leaks?, parsing, key system, etc)
Warning - caching is still broken!
Fixed bug in ucfirst()
2004-08-15 13:49:59 +00:00
David Anderson
3bbfca6d08 Dear me, many changes
Rewrote Lang (still does not work though!)
New String class funcs+name
Added Queue class
Added MD5 class + functions
2004-08-15 10:53:48 +00:00
Felix Geyer
7961bae20b fixed log messages 2004-08-13 16:23:55 +00:00
David Anderson
7aa6902e36 Switched LANG_SERVER/LANG_PLAYER
Fixed show_menu (param count is always the same)
2004-08-13 16:21:15 +00:00
David Anderson
7035a79e56 Fixed some string stuff 2004-08-13 13:01:45 +00:00
David Anderson
21b20dedbb AMX Mod X SDK/MDK Version 0.20.5 2004-08-13 11:33:43 +00:00
David Anderson
9f1bb9345c REALLY fixed bug this time (thanks fsfod and mahnsawce) 2004-08-13 11:20:05 +00:00
David Anderson
f12680f179 Fixed a bug noted by mahnsawce 2004-08-13 11:05:38 +00:00
David Anderson
58f13e887c Fixed a bug noted by mahnsawce 2004-08-13 10:46:13 +00:00
David Anderson
7f255b2b7f Removed debugging 2004-08-13 10:11:19 +00:00
David Anderson
060a0a565c Fixed default language errors 2004-08-13 10:01:41 +00:00
David Anderson
5469f70dba Fixed FormatAmxString bugs 2004-08-13 09:39:59 +00:00
David Anderson
955fcb8549 Rewrote CString 2004-08-13 08:46:04 +00:00
Lukasz Wlasinksi
f2bfee294e fixed get_user_team to work with DoD 2004-08-04 15:32:48 +00:00
David Anderson
fdbcb8b9df Fixed show_menu 2004-08-03 23:55:43 +00:00
David Anderson
f5f2592ef4 Fixed assertion bugs 2004-07-31 20:13:11 +00:00
David Anderson
c768788f4e Added 2.6.0 machine, fixed project file 2004-07-30 22:42:06 +00:00
Pavol Marko
7bd087281a added MNF_MergeDefinitionFile 2004-07-28 19:28:36 +00:00
Pavol Marko
9b2a1d204c Fixed bugs 2004-07-28 19:26:38 +00:00
Pavol Marko
8811b56756 changed to use the new language system 2004-07-28 18:33:20 +00:00
Pavol Marko
286a0d0d02 New version 2004-07-28 18:31:30 +00:00
Pavol Marko
2f4c021217 Initial release
TODO: Formatting on cells
2004-07-27 19:54:21 +00:00
Pavol Marko
4f64d4daad Fixed small bug 2004-07-27 19:53:38 +00:00
Pavol Marko
15b12e7a55 Reenabled engclient_cmd code 2004-07-25 18:52:09 +00:00
Pavol Marko
538876a82c Reenabled engclient_cmd code 2004-07-25 18:45:44 +00:00
Pavol Marko
26d5f430e2 Fixed big bug where non-void functions could not be overriden / superceded 2004-07-25 18:44:30 +00:00
Pavol Marko
a2edcc38b1 Fixed minor bug 2004-07-25 13:18:38 +00:00
David Anderson
1417434533 fixed bug in trim() 2004-07-24 16:22:18 +00:00
David Anderson
52b9b7f04d PM removed debugging stuff 2004-07-24 15:50:17 +00:00
David Anderson
b70eac0461 added trim() 2004-07-24 01:31:22 +00:00
Pavol Marko
bbf8a21693 Removed debug info from 64 bit porting
Fixed minor bugs
2004-07-23 17:29:03 +00:00
David Anderson
6dc00f64f8 PM: Added 64bit compatibility
dvander: Fixed minor bugs
2004-07-23 16:55:53 +00:00
Pavol Marko
c39b5d1ec6 Fixed bugs 2004-07-22 14:55:38 +00:00
Pavol Marko
82d5b42356 added handlers for 3 new error messages from CAmxxReader 2004-07-22 14:55:16 +00:00
Pavol Marko
bcb2adf95a Uploaded the source of the miniLZO compression library used in the .amxx (ABL) file format 2004-07-22 13:06:46 +00:00
Pavol Marko
b7e9f34471 Changed to use the miniLZO compression library 2004-07-22 13:05:03 +00:00
Johnny Bergström
6236590aed included amxxfile.* 2004-07-22 09:19:25 +00:00
Pavol Marko
138e984e66 Initial release
To be changed to use the miniLZO library instead of using the RLE compression
2004-07-21 20:03:24 +00:00
Pavol Marko
bd93ea88a5 Added "J" to amx_version if compiled with JIT
Changed memreport interval to 5 minutes
2004-07-21 20:01:46 +00:00
Pavol Marko
1c7aa62db1 changed to work with the .amxx files 2004-07-21 20:00:10 +00:00
Pavol Marko
1cd4dc20dc Added native
is_jit_enabled
2004-07-21 19:59:39 +00:00
Pavol Marko
18490e545c Removed
#define JIT
2004-07-21 19:58:09 +00:00
David Anderson
c504df473d Removed PM's original "GCC JIT" implementations. 2004-07-20 03:53:49 +00:00
David Anderson
5daf73e3d5 Using Grum's NASM JIT - from acquired August 1st. 2004-07-20 03:51:57 +00:00
Pavol Marko
287720c4e4 changed to work with new tasks 2004-07-18 18:49:34 +00:00
Pavol Marko
fa7dc91449 Added a new overloaded find function where the caller can set where to start searching 2004-07-18 18:48:54 +00:00
Pavol Marko
a6f7742e86 rewritten 2004-07-18 18:48:20 +00:00
David Anderson
41c7d041df Added change_task()
Added server_changelevel forward
2004-07-18 08:07:50 +00:00
Johnny Bergström
c00fffa444 MSVC 7.1 project file... 2004-07-16 07:38:58 +00:00
Pavol Marko
4003204ffe simplified, should work on linux too now 2004-07-13 16:17:38 +00:00
Pavol Marko
919953b661 a fix for an error? 2004-07-08 18:53:58 +00:00
Pavol Marko
f0f6dc88b1 Rewritten; The whole log system is now finally a class 2004-07-08 16:02:40 +00:00
Pavol Marko
4878c66032 added file 2004-07-08 16:02:21 +00:00
Pavol Marko
9656eac079 Changed to support rewritten amxxlog 2004-07-08 16:02:01 +00:00
Pavol Marko
8dceb45567 fixed bug in CList::put 2004-07-04 14:59:21 +00:00
Pavol Marko
ab6909a60c fixed bug where modules were queried / attached more times 2004-07-03 13:48:53 +00:00
Pavol Marko
dc971460ff adapted for new CList 2004-07-03 13:47:03 +00:00
Pavol Marko
f5eb46d234 rewritten 2004-07-03 13:46:35 +00:00
Pavol Marko
67b13237d6 fixed memory leaks caused by using a CVector instead of a CList 2004-07-03 13:45:56 +00:00
David Anderson
3dedf9976b Fixed incorrect forward orders
Fixed bug in CVector
2004-06-30 08:04:12 +00:00
David Anderson
ff23a74e9c wtf, get_module() uncommitted again
fixed typo
2004-06-30 04:27:55 +00:00
Pavol Marko
88cc9156fe added "gpl" to the "amxx" comand list 2004-06-29 15:58:44 +00:00
David Anderson
cf137b54ad PM's fix: engclient_cmd is now client_cmd 2004-06-28 18:54:58 +00:00
Pavol Marko
eeebee0e18 Changed report_error behavior 2004-06-28 18:12:26 +00:00
Pavol Marko
b5e9fe2d49 commited makefile on BAILOPAN's wish :)
watch out: -libstdc++ option used
memtest included
JIT not included
2004-06-28 15:54:19 +00:00
David Anderson
8477d8834a nothing important 2004-06-26 21:46:24 +00:00
Pavol Marko
7741f8f6a9 added MaximalPerformance build option 2004-06-24 18:52:06 +00:00
Pavol Marko
bf1340cf14 changed HLSDK_3_2_OLD_EIF to HLSDK_2_3_OLD_EIFACE
changed ClientCommand to use the FAKEMETA_DLL_HANDLE_void macro
2004-06-24 18:47:00 +00:00
Pavol Marko
35c2c41a41 fixed typos, maybe a player disconnect problem 2004-06-24 18:44:30 +00:00
David Anderson
42ff533d65 Fixing more incorrect merges 2004-06-24 07:11:52 +00:00
David Anderson
4b3d2d3133 Fixing accidental commit 2004-06-24 07:09:17 +00:00
David Anderson
37d144abe5 Changed from cell->pointer casts to reference handles.
Fixed a memory leak.
2004-06-24 07:02:29 +00:00
Pavol Marko
259a9d70ec added run time error reporting 2004-06-10 13:19:41 +00:00
Pavol Marko
d3bb65eec7 added a memreport before mapchange
fixed possible crash bug where Cmd_Args would return NULL
2004-06-10 13:18:58 +00:00
Johnny Bergström
8840c03dff Fixed a couple more typos dettach -> detach 2004-06-09 07:59:32 +00:00
Pavol Marko
175e3ed1cd added
bot = false;
in Disconnect()

(hoping it will fix some problems where AMXX doesn't recognize players as proper clients)
2004-05-30 13:30:00 +00:00
Pavol Marko
ce15e9a3ba Fixed a bug where the last module in modules.ini would not be attached to metamod. 2004-05-30 13:29:13 +00:00
Pavol Marko
ca0a32a546 AMXX won't crash now on invalid plugin path 2004-05-29 12:22:33 +00:00
Pavol Marko
b4107e3523 Fixed a bug where menus would not work 2004-05-29 12:21:57 +00:00
Pavol Marko
9e99831fb2 added a declaration of a local variable. The file will compile now :] 2004-05-29 12:20:57 +00:00
Pavol Marko
e620debd1f The Core is now a fake plugin.
Fixed a bug where core could not supercede functions.
2004-05-29 12:20:01 +00:00
Pavol Marko
549e9d6b55 Fixed another memory leak... 2004-05-29 12:18:41 +00:00
Pavol Marko
9307994060 Cleaned up some code, added checks for msgid != 0 (so AMXX doesn't crash mods which don't support text based menus for example) 2004-05-28 11:29:44 +00:00
Pavol Marko
8c600f90c3 nothing important 2004-05-28 11:28:42 +00:00
Pavol Marko
14e59c6967 Fixed bug where a file handle would stay opened on error; added id validations to MNF player natives 2004-05-28 11:27:50 +00:00
Pavol Marko
7695d24a50 Cleaned up some code, added comments 2004-05-28 11:26:05 +00:00
Pavol Marko
86b1021f45 Fixed memory leaks in amx_fget* natives 2004-05-28 11:25:28 +00:00
Pavol Marko
642eb769b2 Added a check for memory allocation failure 2004-05-28 11:24:59 +00:00
Pavol Marko
3d3775ec00 Fixed get_module (which would crash on modules with new interface) 2004-05-28 11:22:56 +00:00
Pavol Marko
a6af81e359 Added more support for JIT on Linux 2004-05-28 11:21:31 +00:00
Johnny Bergström
5c3ce78c58 Fixed typo: Dettach --> Detach 2004-05-26 12:58:58 +00:00
Johnny Bergström
c3d50a293d Fixed typo: dettach --> detach 2004-05-26 12:14:17 +00:00
David Anderson
f88bd58919 Added user_has_weapon() native 2004-05-26 08:28:54 +00:00
David Anderson
2cf4801f6b Fixed a memory leak I made :-) 2004-05-14 20:48:34 +00:00
Pavol Marko
af1242415c added iterator() constructor 2004-05-06 19:18:55 +00:00
Pavol Marko
104514f988 added SinglePluginForward support 2004-05-05 19:03:38 +00:00
Pavol Marko
ecd0c53ca1 added files for JIT on windows 2004-05-05 18:45:35 +00:00
Pavol Marko
836e6267dc new project files for MSVC 7.0 2004-05-05 18:44:08 +00:00
Pavol Marko
58cf8a1416 changed include files order 2004-05-05 18:43:47 +00:00
Pavol Marko
1f31c6e309 added SinglePluginForward functions to the module interface 2004-05-05 18:43:33 +00:00
Pavol Marko
e9e4b380cb added SinglePlugin forwards 2004-05-05 18:42:16 +00:00
Pavol Marko
7c4324b963 use of const functions 2004-05-05 18:41:36 +00:00
Pavol Marko
90f777d593 stuff 2004-05-03 20:01:23 +00:00
Pavol Marko
e2ff797de4 changed set_new_handler to std::ser_new_handler 2004-05-03 20:00:41 +00:00
Pavol Marko
5ce096457a not important 2004-05-03 19:48:40 +00:00
Pavol Marko
d7a8292419 added DLL Post Functions calling 2004-05-03 19:47:36 +00:00
Pavol Marko
be5276dde6 stuff 2004-05-03 19:46:49 +00:00
Pavol Marko
18abdd8149 added support for MODULE_NOT64BIT status 2004-05-03 19:45:19 +00:00
Pavol Marko
c3661e8bb3 linux memtest support 2004-05-03 19:40:49 +00:00
David Anderson
e6d53c4666 Header fix 2004-05-03 13:34:00 +00:00
David Anderson
863805ff6f SDK Fix for Metamod 1.18 2004-05-03 13:33:26 +00:00
Pavol Marko
1b263d13aa Initial release 2004-04-29 17:41:44 +00:00
Pavol Marko
807e3f04bf new stuff:
Build Configurations:
 Debug
 Release
 JITDebug
 JITRelease
 MemtestDebug
 MemtestRelease
2004-04-29 17:23:46 +00:00
Pavol Marko
4b517fe1ad - some indent stuff
- added support for MODULE_NOT64BIT status
2004-04-29 17:16:28 +00:00
Pavol Marko
dd4bc05952 not very important stuff 2004-04-29 17:13:41 +00:00
Pavol Marko
a04df29f22 fixed a bug where the post engine functions table was copied to the "normal" engine functions table 2004-04-29 17:13:36 +00:00
Pavol Marko
de5bdad8de modules with old interface don't load if SMALL_CELL_SIZE is 64. Reason: float/cell conversions. 2004-04-29 17:09:57 +00:00
Pavol Marko
7aa98c9038 added
MODULE_NOT64BIT status
2004-04-29 17:09:26 +00:00
Pavol Marko
7c2fc26c4f #define JIT will be defined in compiler command line 2004-04-29 17:08:54 +00:00
Johnny Bergström
97e2c3b902 removed old files 2004-04-29 12:28:00 +00:00
Pavol Marko
2a7709d680 preparations for JIT on Linux 2004-04-24 20:06:16 +00:00
Pavol Marko
4e7209eeab stuff 2004-04-24 20:05:08 +00:00
Pavol Marko
acc0439d3c new project files 2004-04-23 07:04:11 +00:00
Pavol Marko
6faef3b75a mmgr added 2004-04-23 06:59:00 +00:00
Pavol Marko
3a3acb517b removed .c files 2004-04-22 15:13:55 +00:00
Pavol Marko
f508690552 initial release 2004-04-22 10:54:09 +00:00
Pavol Marko
7921f93335 these files are now cpp to support the memory manager 2004-04-22 10:53:18 +00:00
Pavol Marko
c088c4835f fakemeta support
memory reports
printing GPL on startup
no .def file needed under windows anymore
2004-04-22 10:50:47 +00:00
Pavol Marko
81e7de4a2e nothing important 2004-04-22 10:46:58 +00:00
Pavol Marko
fc4e813d9a memory manager support
g_FakeMeta global
global natives declared extern "C" (because .C files changed to .cpp)
2004-04-22 10:46:45 +00:00
Pavol Marko
3120b750f4 pause & unpause added 2004-04-22 10:42:49 +00:00
Pavol Marko
79a87f4cc8 better float support 2004-04-22 08:20:10 +00:00
Pavol Marko
85b0e04ca3 nothing important 2004-04-22 08:18:23 +00:00
Pavol Marko
72aeebfeb7 added type REAL (float on 32bit, double on 64bit) 2004-04-22 08:14:33 +00:00
Pavol Marko
21287f4f3a 64 bit float compatibility 2004-04-22 08:13:52 +00:00
Pavol Marko
607da4d4a2 nothing important 2004-04-22 08:10:29 +00:00
Pavol Marko
81cd9b4449 amx_logging cvar:
0 : no logging
   1 : standard logging; new file per mapchange (default)
   2 : standard logging; daily logfiles
   3 : logging into HL log files
2004-04-22 08:09:17 +00:00
Pavol Marko
8c4e8e20a5 stuff 2004-04-22 08:07:22 +00:00
Pavol Marko
8eae80c6e9 memory manager compatibility 2004-04-22 08:05:06 +00:00
Pavol Marko
29e36fdee2 nothing important 2004-04-22 07:52:26 +00:00
Pavol Marko
c2784feb71 moved pause/unpause to .cpp file 2004-04-22 07:47:55 +00:00
Pavol Marko
f8f553d485 nothing important 2004-04-21 19:14:16 +00:00
Pavol Marko
992d863436 new module interface; changed to work with fakemeta 2004-04-21 19:11:20 +00:00
David Anderson
1d9cba3fcf Added trivial? czero support 2004-04-08 16:30:36 +00:00
David Anderson
2a460d8c18 Added math functions recommended by AssKicr
Little bug fixes
2004-04-07 04:06:55 +00:00
David Anderson
205f3734cd quick fix to file functions 2004-04-03 20:04:59 +00:00
David Anderson
9441505ab3 Fixed strbreak(), added Sanji's file natives 2004-04-03 19:50:20 +00:00
Pavol Marko
82e2cf7741 new globals 2004-04-03 19:21:07 +00:00
Pavol Marko
d98d6af9e3 removed amx_version cvar
added amxmodx_modules cvar
using new forward functions
2004-04-03 19:20:54 +00:00
Pavol Marko
dab5306655 using new forward functions 2004-04-03 19:18:46 +00:00
Pavol Marko
284ec17eea nothing important 2004-04-03 19:16:59 +00:00
Pavol Marko
0483e491b3 read_data(0) returns msg id now 2004-04-03 19:16:26 +00:00
Pavol Marko
7d13e8cd01 added getCurrentMsgType member 2004-04-03 19:15:43 +00:00
Pavol Marko
b9c9e9d100 added some support for the new module interface 2004-04-03 19:15:06 +00:00
Pavol Marko
79e214a6ea added (simple vector implementation) 2004-04-03 19:14:34 +00:00
Pavol Marko
06da72658b rewritten 2004-04-03 19:14:03 +00:00
David Anderson
1fa97936ff strbreak() added 2004-04-03 03:00:57 +00:00
Felix Geyer
35f04bd679 no message 2004-04-02 21:10:50 +00:00
David Anderson
4f4c87d9b2 Removed all warnings. 2004-04-01 05:53:22 +00:00
Pavol Marko
b0e6ea16ce removed amx_version cvar 2004-03-31 18:07:18 +00:00
Pavol Marko
b677e5c164 correct use of const functions 2004-03-31 18:05:07 +00:00
Pavol Marko
b01c6a27f6 removed PACKED after struct names; => gcc 3.3 compatibility? 2004-03-31 18:04:48 +00:00
Pavol Marko
5889743b3e added some globals 2004-03-31 18:04:22 +00:00
Pavol Marko
b300c1dfe2 get_user_weapons sets the third parameter to 0 before counting 2004-03-31 18:04:03 +00:00
Pavol Marko
32b0c93539 support for the new module interface 2004-03-31 18:03:06 +00:00
Pavol Marko
97bf30cb2a partial support for the new module interface 2004-03-31 18:02:37 +00:00
Pavol Marko
23200da401 partial support for the new module interface; rewritten 2004-03-31 18:02:20 +00:00
Johnny Bergström
1428a87edc Added amxxlog.cpp to project 2004-03-29 10:50:50 +00:00
Pavol Marko
f499dd947b added amxxlog.cpp file 2004-03-27 20:00:25 +00:00
Pavol Marko
0cc0253f5c added newlines to logging mode 2 (HL Logs) 2004-03-27 17:40:06 +00:00
Pavol Marko
2fa8e1fa1b using new function names and parameters;
added wrapper functions for the new small abstract machine / the old module interface
2004-03-27 17:06:33 +00:00
Pavol Marko
0612e67e2d using new function names and parameters 2004-03-27 17:06:08 +00:00
Pavol Marko
bada4d4336 file from the new abstract machine;
floats are actually doubles in 64 bit
2004-03-27 17:03:20 +00:00
Pavol Marko
9902faa81c new function names (AMXXLOG_*, countModules, CountModulesMode enum) 2004-03-27 17:01:56 +00:00
Pavol Marko
cdbfcdc4c4 logging functions moved from util.cpp to amxxlog.cpp; renamed to AMXXLOG_*; AMXXLOG_Init added (called from Meta_Attach)
UTIL_GetModulesNum moved to modules.cpp and renamed to countModules
2004-03-27 17:01:18 +00:00
Pavol Marko
5c1287bbfb new abstract machine; adapted a bit 2004-03-27 16:58:13 +00:00
Pavol Marko
9b551916f1 making sure amxx_customdir and amxx_configsdir are set 2004-03-25 13:35:02 +00:00
Pavol Marko
130f274f86 more localinfos 2004-03-24 18:59:37 +00:00
Pavol Marko
2b7b1a844c get_modulesnum function updated (using UTIL_GetModulesNum now) 2004-03-24 18:35:42 +00:00
Pavol Marko
012507c38a fixed getline function 2004-03-24 18:35:04 +00:00
Pavol Marko
a9a46e20b2 fixed size() function, added empty() function 2004-03-24 18:34:47 +00:00
Pavol Marko
ab110d3d27 added localinfo paths, fixed amx_version and amxmodx_version cvars (module count) 2004-03-24 18:34:18 +00:00
Pavol Marko
cfb45c1302 added UTIL_GetModulesNum function 2004-03-24 18:33:41 +00:00
David Anderson
2a7b5b714d Fixed header files in makefile. 2004-03-24 01:40:10 +00:00
David Anderson
f711baf3df new file names 2004-03-24 01:35:44 +00:00
Pavol Marko
38af364744 fixed filters bug 2004-03-17 18:57:36 +00:00
David Anderson
308e77d3b1 *** empty log message *** 2004-03-14 19:14:29 +00:00
David Anderson
1dfe40c135 *** empty log message *** 2004-03-14 19:00:43 +00:00
Pavol Marko
29f31e808f version changed to 0.15 2004-03-14 17:45:09 +00:00
Pavol Marko
f4a729e85a cpp std lib depedencies removed 2004-03-14 14:05:44 +00:00
Pavol Marko
d3839db6f8 message_begin, message_end, write_* functions added back to core 2004-03-14 13:57:53 +00:00
Pavol Marko
41a56a8fda not using c++ std lib 2004-03-14 13:57:27 +00:00
David Anderson
5ddb726a12 Added VS7 project file 2004-03-14 08:31:36 +00:00
Pavol Marko
6a8380fb0f another bugfix :) 2004-03-11 14:22:06 +00:00
Pavol Marko
d47ed6c48c another bugfix 2004-03-11 13:48:57 +00:00
Pavol Marko
4656bb246e possible fix of the events bug 2004-03-11 12:35:13 +00:00
Pavol Marko
fe3977ee61 #include <string> added 2004-03-11 12:15:15 +00:00
Pavol Marko
bed1df8237 using __linux__ instead of LINUX 2004-03-10 16:28:38 +00:00
Pavol Marko
7206639ef9 directory paths should be ok now (not using localinfos) 2004-03-10 16:28:17 +00:00
Pavol Marko
fbb6b260a6 Removed get_user_wonid 2004-03-10 16:26:18 +00:00
Johnny Bergström
de0cf4da9a making sure basedir is set 2004-03-10 08:31:51 +00:00
Johnny Bergström
513a005f3d removed so as to not accidentally use old builds 2004-03-09 10:26:40 +00:00
Johnny Bergström
91d4d821ec fixed link to plugins.ini (was in amxx/configs, now is in amxx/) 2004-03-09 09:39:09 +00:00
Johnny Bergström
acb2ebaaf9 fixed link to modules.ini (was in amxx/configs, now is in amxx/) 2004-03-09 09:38:36 +00:00
Johnny Bergström
6385e00106 removed #define LINUX 2004-03-09 09:36:54 +00:00
Pavol Marko
5cb9cb1c05 fixed potencial logging crashes in Meta_Attach 2004-03-08 15:12:53 +00:00
Pavol Marko
db278c390d log_amx: remove .amx from plugin names 2004-03-08 15:12:16 +00:00
Pavol Marko
8ffcb98ce7 hardcoded directory names 2004-03-08 14:09:44 +00:00
Pavol Marko
c2879eafab get_module returns module status too 2004-03-08 14:09:09 +00:00
David Anderson
aad8f2bb24 quick changes 2004-03-08 05:47:15 +00:00
David Anderson
297aac76eb Changed dir structure for modules and plugins 2004-03-08 04:02:51 +00:00
David Anderson
bc49154c28 added pm's make fix
added get_user_deaths
2004-03-07 17:40:32 +00:00
Pavol Marko
7e6a38eba5 fixed native function names bug (probably :) ) 2004-03-07 17:37:14 +00:00
Pavol Marko
cc277c1bf9 callfunc_push_* params num checks
callfunc_push_byref & callfunc_push_str: more references to one variable fix
2004-03-07 12:21:52 +00:00
Felix Geyer
0b492c59f3 changed header | updated url 2004-03-05 21:04:17 +00:00
Felix Geyer
7cf7fce86d changed header 2004-03-05 21:03:14 +00:00
David Anderson
f95f15a995 Quick changes... 2004-03-05 20:18:28 +00:00
Pavol Marko
f7132c2447 not using size_t now (gcc compatibility) 2004-03-05 19:42:11 +00:00
Pavol Marko
b217f4d0c7 removed get_user_deaths 2004-03-05 19:08:33 +00:00
Pavol Marko
bc4bb7db90 changed localinfo names from amx_* to amxx_* 2004-03-05 19:00:50 +00:00
Pavol Marko
c334614885 removed numtostr and strtonum from native export tables (will be done using stock functions) 2004-03-05 19:00:23 +00:00
Pavol Marko
71b590eb15 making sure evrything is in cvs :)
+ changed directory structure

base dir:
moddir/addons/amxx
core dll / so:
moddir/addons/amxx/dlls
modules dll / so files:
moddir/addons/amxx/modules
plugins .amx files:
moddir/addons/amxx/plugins
configs:
moddir/addons/amxx/config
  modules.ini - module file names, without path info
  plugins.ini - plugin file names, without path info
  core.ini - renamed from config.ini
2004-03-05 18:32:29 +00:00
Pavol Marko
e52a377370 removed message_begin, message_end, write_xx natives 2004-03-04 18:24:31 +00:00
Pavol Marko
e72a36dd37 added central logging system, callfunc natives 2004-03-04 18:16:51 +00:00
Pavol Marko
62bf5f66c6 added a size() function (for get_modulesnum native) 2004-02-27 11:07:58 +00:00
Pavol Marko
17cbec1f63 small bugfix 2004-02-27 11:06:56 +00:00
Pavol Marko
cef68cf821 is_module_loaded and is_plugin_loaded now return id on success, -1 on failure 2004-02-27 11:01:14 +00:00
Pavol Marko
3c2107bf1d rewritten; have not changed interface
should support messages with more than 32 params now
2004-02-26 19:04:53 +00:00
Pavol Marko
ce318d366d added natives
is_plugin_loaded(const name[]);
is_module_loaded(const name[]);
get_modulesnum();
get_module(id, name[], nameLen, author[], authorLen, version[], versionLen);
2004-02-26 19:04:03 +00:00
Felix Geyer
8c6374567a updated header 2004-02-21 19:36:35 +00:00
Felix Geyer
b6533c704b updated header | updated website 2004-02-21 19:34:34 +00:00
Pavol Marko
ff0fd22a3e new logtag (AMXX) 2004-02-18 19:15:50 +00:00
Pavol Marko
433dd9b3d2 intptr_t for VC6 2004-02-18 14:33:31 +00:00
Pavol Marko
35c9b8a4b1 small write_file fix 2004-02-15 17:55:27 +00:00
Pavol Marko
76915facd3 read_dir for msvc compiler 2004-02-13 18:16:37 +00:00
Pavol Marko
31b83cf76b win32 release 2004-02-08 11:20:06 +00:00
Pavol Marko
6b506b5fa5 new float.c from the Small SDK 2004-02-08 11:08:54 +00:00
Pavol Marko
06a1980a21 test: FAR 2004-02-04 19:21:42 +00:00
Pavol Marko
af4a4c38b1 *** empty log message *** 2004-02-03 15:31:04 +00:00
Pavol Marko
2c4e566098 amxmodx_version cvar support 2004-02-03 15:26:57 +00:00
Pavol Marko
e16480c614 version changed to 0.1 + amxmodx_version cvar support 2004-02-03 15:25:27 +00:00
Pavol Marko
364f436237 New Abstract Machine 2004-02-03 09:24:30 +00:00
Felix Geyer
9e999a0ba6 Initial revision 2004-01-31 20:56:22 +00:00