1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-12-12 00:08:50 +01:00
Commit Graph

173 Commits

Author SHA1 Message Date
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
David Anderson
81ae7cabf5 final changelog
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4093
2005-07-07 21:28:14 +00:00
Scott Ehlert
63bda51111 argh
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4092
2005-07-07 21:12:00 +00:00
Scott Ehlert
641667bbb9 Removed IsBadReadPtr and BadReadHandler from CSourceHookImpl to fix Linux compile bug
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4091
2005-07-07 21:07:43 +00:00
David Anderson
400f0a9fab Added new cvar, mm_pluginsfile
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4090
2005-07-07 20:58:05 +00:00
Scott Ehlert
542dfc5eec One last oops. I really need to install Linux again SOON :(
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4089
2005-07-07 18:41:08 +00:00
Scott Ehlert
b45d02fd59 Oops
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4088
2005-07-07 18:24:08 +00:00
Scott Ehlert
c8d4189477 Yay, the nasty SourceHook bug is finally fixed!
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4087
2005-07-07 18:21:32 +00:00
David Anderson
2e38619370 Updated changelog
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4086
2005-07-07 13:09:57 +00:00
Scott Ehlert
8ce6594b70 Semi-small fix to make SourceMM ignore whitespace in metaplugins.ini with UTIL_TrimLeft and UTIL_TrimRight
(I'm not sure if I'm qualified to make efficient string functions here, so um, they probably are pretty bad)

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4085
2005-07-03 16:11:28 +00:00
Pavol Marko
f5076fa43d Truly gone fishing... It's fixed!
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4084
2005-07-02 10:09:40 +00:00
David Anderson
5f6e613e01 Attempt at fixing some bugs related to gamedll shutdown
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4083
2005-06-26 19:15:24 +00:00
David Anderson
5f2a28d33d Another makefile fix
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4082
2005-06-25 12:55:26 +00:00
David Anderson
f484502f52 Removed static linking
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4081
2005-06-25 00:15:47 +00:00
David Anderson
34dbc44a97 Fixed bug when compiling on AMD64 with -m32
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4080
2005-06-25 00:12:26 +00:00
David Anderson
8fc6cdaf9d Added changelog file
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4079
2005-06-24 22:39:58 +00:00
David Anderson
d9f2a09770 Minor cleanup
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4078
2005-06-24 22:34:17 +00:00
David Anderson
4eb23c422b Added new API for correct console/rcon printing
Bumped API version number
MM:S will no longer load newer plugins

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4077
2005-06-24 22:26:19 +00:00
Pavol Marko
1c1b3953a3 Added TestBail
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4076
2005-05-27 21:39:30 +00:00
David Anderson
a3fe9b64de Updated makefile
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4075
2005-05-27 10:18:54 +00:00
David Anderson
b178acc5cd LevelShutdown() is no longer unnecessarily hooked through SourceHook
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4074
2005-05-27 10:03:55 +00:00