Commit Graph

212 Commits

Author SHA1 Message Date
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