1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-11-28 10:24:20 +01:00
Commit Graph

1193 Commits

Author SHA1 Message Date
David Anderson
b520145da6 Sample usage of new listener API
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40143
2005-10-21 07:22:37 +00:00
David Anderson
e24876a8cd Committed new API
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40142
2005-10-21 07:18:53 +00:00
David Anderson
1fb61175c1 Fixed bugs, updated plugins
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40141
2005-10-20 14:57:02 +00:00
David Anderson
c1fb10cbf0 you can now see which plugin returned the iface
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40140
2005-10-20 14:52:49 +00:00
David Anderson
2cabdcf3da initial import of new events system
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40139
2005-10-20 14:37:47 +00:00
Pavol Marko
f3fb7f304d :D
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40138
2005-10-15 17:55:31 +00:00
Pavol Marko
3a4d692926 :D
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40137
2005-10-14 21:09:12 +00:00
Pavol Marko
0886e3fca4 Oh noes!
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40136
2005-10-14 21:05:55 +00:00
Pavol Marko
35e29f15a8 Faluco added new FastDelegate version, added more tests to testreentr
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40135
2005-10-14 20:57:43 +00:00
Pavol Marko
1904372f67 sh_stack now works if assert is disabled (stupid me), simple reentrancy test, META_IFACEPTR takes a type argument
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40134
2005-10-14 17:45:36 +00:00
David Anderson
51d2273abf Fixed bug where cvar list would get smashed on plugin unload
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40133
2005-10-14 04:25:28 +00:00
Christian Hammacher
00a95792a9 Changed all icons to teh HL2 icon (DON'T KICK ME GABEN)
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40132
2005-10-13 23:43:31 +00:00
Christian Hammacher
63686a525a I can't spell "LATEST"
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40131
2005-10-13 23:42:51 +00:00
Pavol Marko
19000cb24b Updated stack + added simple stack test
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40130
2005-10-13 20:46:52 +00:00
Pavol Marko
17aa1b4c3f Untested reentrancy support; TODO: Test sh_stack and reentrancy extensively!
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40129
2005-10-12 20:25:15 +00:00
David Anderson
03ba0a371e Fixed linux compiling
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40128
2005-10-08 01:15:02 +00:00
Christian Hammacher
5d39ea83a9 Added MM:S installer to the CVS [MM:S installer is a modifed copy of the AMX Mod X installer]
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40127
2005-10-07 15:42:18 +00:00
David Anderson
a169ec7f61 Removed debug code
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40126
2005-10-06 22:30:29 +00:00
David Anderson
08b2d3d1c3 Finalized versioning and PI
Added QueryRunning() output to meta info/list.

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40125
2005-10-06 21:59:10 +00:00
Pavol Marko
a4299bd097 It seems to work, but it's not reentrant yet.
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40124
2005-10-06 20:46:49 +00:00
David Anderson
67039543cd Initial import of new GameDLL loading code
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40123
2005-10-06 00:59:01 +00:00
Pavol Marko
36dda69d9d Partial fix
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40122
2005-10-05 21:51:02 +00:00
David Anderson
047c7e0c99 Should work on both now!1111gaben
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40121
2005-10-03 18:37:35 +00:00
Pavol Marko
b5b686a519 msvc/win32 compatibility
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40120
2005-10-03 18:31:44 +00:00
Pavol Marko
5744176211 Got rid of ^M ( ! )
Removed the weirdest ModuleInMemory test which was causing it to fail on amd64

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40119
2005-10-03 17:39:40 +00:00
Pavol Marko
2790931701 CHANGES!
sh_memory.h: Added ModuleInMemory; first checks /proc/self/maps OR /proc/curproc/map; if not available tries DS's sigsegv trapping method
sh_tinyhash: Added simple erase function(s)
test/Makefile: New makefile
Changed internal interface: sourcehook.hxx now doesn't need to know about implementation details like vectors etc.

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40118
2005-10-03 17:20:22 +00:00
David Anderson
71d74c6722 Re-bumped all version numbers again (SourceHook=2, Plugin=7/7)
Fixed bug where gamedlls setting new game names would not work
Moved PM's virtual destructor to bottom of vtable

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40117
2005-09-29 23:05:01 +00:00
David Anderson
3130242ca8 Fixed destructor to free all items properly
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40116
2005-09-26 16:05:07 +00:00
Pavol Marko
18bfaa7021 Now unloading the original gamedll in DLLShutdown() instead of using a __attribute__((destructor)) function
-> Also auto-removing ConCommandBases with the FCVAR_GAMEDLL flag before doing that

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40115
2005-09-24 21:10:53 +00:00
Pavol Marko
e242aa662d Better Makefile
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40114
2005-09-24 15:56:40 +00:00
Pavol Marko
21c610496c Hello.
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40113
2005-09-24 15:27:03 +00:00
Pavol Marko
46e9986a0e SourceHook tests pass again! Added test for list (and a small bit of tinyhash). Woot.
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40112
2005-09-23 20:14:10 +00:00
David Anderson
5ed98f9a46 Fixed some more template bugs
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40111
2005-09-13 22:16:29 +00:00
David Anderson
1717c99f07 Added gcc-3.3 error message back in
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40110
2005-09-13 20:25:30 +00:00
David Anderson
bae2c00808 stdint is gnuc only
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40109
2005-09-13 20:24:58 +00:00
David Anderson
4b048ff0b2 GCC compatibility
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40108
2005-09-13 20:21:58 +00:00
David Anderson
2917c2c751 Linux compatibility for no-STL
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40107
2005-09-13 20:20:49 +00:00
David Anderson
e2aa8d06a0 Bumped min required version
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40106
2005-09-13 19:31:25 +00:00
David Anderson
619c7deba1 Bumped version to 1.1
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40105
2005-09-13 18:20:53 +00:00
David Anderson
62133463ac Added comparison functions
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40104
2005-09-13 18:20:37 +00:00
David Anderson
23595d677d Imported growable TinyHash class to replace std::map
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40103
2005-09-13 16:52:14 +00:00
David Anderson
3391d62146 No more STL! Imported TinyHash
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40102
2005-09-13 16:47:42 +00:00
David Anderson
4f07756795 Correct spacing!
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40101
2005-09-13 16:47:42 +00:00
David Anderson
ead774778f std::vector -> SourceHook::CVector
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40100
2005-09-11 23:24:18 +00:00
David Anderson
ac1ea74510 Changed to namespaces
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4099
2005-08-12 17:44:53 +00:00
David Anderson
05f9912d4e Replaced std::list with List class
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4098
2005-08-12 17:33:59 +00:00
David Anderson
f73ef50b79 Initial step towards no STL - added replacement for std::list
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4097
2005-08-12 17:33:31 +00:00
David Anderson
0cf2776e7f Bumped version number
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4096
2005-08-07 03:26:58 +00:00
David Anderson
2c5dfa3247 Fixed an offset :)
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4095
2005-07-13 17:15:27 +00:00
Scott Ehlert
151efb135a Moved g_BadReadCalled and g_BadReadJmpBuf to sourcehook.cpp to prevent linking errors when including sourcehook_impl.h
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4094
2005-07-09 20:49:25 +00:00