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

36 Commits

Author SHA1 Message Date
Scott Ehlert
199f634592 Added some extra information to the "meta game" command: Description and Interface
(This is BAILOPAN's excellent idea!)

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40218
2006-07-13 06:08:08 +00:00
Scott Ehlert
2972849a8d Fixed bug where the wrong gamedll could be loaded and/or more than one gamedll could be loaded
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40216
2006-06-28 18:33:00 +00:00
David Anderson
581a0dc7a8 added alias ability
fixed gamedll version finding fall through

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40206
2006-05-25 04:49:47 +00:00
Scott Ehlert
ebca331ae4 Added client version of "meta" command in order to allow clients to view version information and a list of loaded plugins.
Added ClientConPrintf to API for printing text in a client's console. Same as IVEngineServer::ClientPrintf except that it allows string formatting.
Updated changelog for possible future version.
Version bumpage.

Feel free to kill me for doing a change of this almost massive scale :-\
At least none of this breaks plugins though.

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40193
2006-04-21 06:35:47 +00:00
Scott Ehlert
07507bb51a Mm, oopsy. ICvar::GetCommandLineValue could return NULL for the plugins file. That would be bad. :(
(Now fixed with a call to GetPluginsFile in case it is NULL)

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40192
2006-04-21 02:30:02 +00:00
Scott Ehlert
563b890ba6 Fixed a bug where value of mm_pluginsfile cvar was being ignored. So much easier than I imagined.
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40191
2006-04-21 01:58:22 +00:00
David Anderson
d11b49a202 bumped copyright years, woot
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40176
2006-01-07 14:38:18 +00:00
David Anderson
00322f8833 initial import of 1.2 api changes
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40167
2005-12-23 23:38:38 +00:00
David Anderson
d8e63fb33c Quick fix
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40148
2005-10-22 05:05:35 +00:00
David Anderson
81bae13a60 Fixed macro bug
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%40145
2005-10-21 10:02:21 +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
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
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
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
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
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
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
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
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
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
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
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
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
Pavol Marko
8f5e99397d Moved adding of FCVAR_GAMEDLL to Unload; added SourceHook iface/impl info to meta version
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4064
2005-05-06 09:44:41 +00:00
David Anderson
54a4d6d007 Moved include order around
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4053
2005-05-01 18:42:16 +00:00
David Anderson
ee8a24229c SourceMM will now reload new plugins on mapchange
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4040
2005-04-25 18:54:19 +00:00
David Anderson
1789ad8324 Fixed bug where blank lines were read as plugins
Fixed bug where newlines weren't stripped in config file

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4022
2005-04-18 19:50:33 +00:00
David Anderson
ddb34f91ea Added new AllPluginsLoaded callback
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4019
2005-04-18 18:21:57 +00:00
Pavol Marko
096dfb6a6f I really don't feel like writing a comment because I don't know what I've just done
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4018
2005-04-18 16:18:02 +00:00
David Anderson
7b842efe0d Removed hooking of DLLShutdown
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4016
2005-04-18 03:30:30 +00:00
Pavol Marko
ba23929c3d YAMS
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4015
2005-04-17 18:43:21 +00:00
David Anderson
e2100056f4 Fixed a few bugs in console commands
Added hooking of shutdown commands
Warning - Crashes on SH_ADD_HOOK_STATICFUNC?

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4013
2005-04-17 03:37:50 +00:00
David Anderson
4dc43f3d08 Implemented factory hooks
Added commands: clear, load, pause, unload, unpause
Rewrote headers

--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%4010
2005-04-16 23:33:39 +00:00
David Anderson
118d4a85ff Initial import
--HG--
extra : convert_revision : svn%3Ac2935e3e-5518-0410-8daf-afa5dab7d4e3/trunk%408
2005-04-16 19:59:26 +00:00