Commit Graph

860 Commits

Author SHA1 Message Date
Borja Ferrer
4365d3763d moved these includes for GCC
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401901
2008-02-23 20:33:33 +00:00
Borja Ferrer
45860880ef Executable memory is now provided by MM:S's allocator, this should reduce virtual memory usage.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401900
2008-02-23 20:18:49 +00:00
Borja Ferrer
0e547df447 added amb1425, added description buffers to find concommand natives
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401899
2008-02-23 12:25:27 +00:00
Borja Ferrer
7bf9cfc2e8 improved timer error message (amb1474)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401898
2008-02-23 11:40:45 +00:00
David Anderson
ef92966bac added amb1402 - gameconfig errors are now logged fully
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401891
2008-02-22 17:12:24 +00:00
David Anderson
1f57da5aa0 added amb1418 - FIELD_STRING support for GetEntPropString()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401890
2008-02-22 16:51:15 +00:00
David Anderson
67442ac4a0 added amb1447 - IRootConsoleMenu exposure
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401889
2008-02-22 16:07:27 +00:00
David Anderson
5398db729c shiny new Makefiles with new build procedure. i've removed ep1+mms16 support for now. i've also removed -fPIC since it's useless bloat on modern x86.
--HG--
rename : core/Makefile.orig => core/Makefile
rename : extensions/cstrike/Makefile.orig => extensions/cstrike/Makefile
rename : extensions/sdktools/Makefile.orig => extensions/sdktools/Makefile
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401884
2008-02-22 14:16:53 +00:00
David Anderson
e4450610da amb1443 - SQL_QuoteString -> SQL_EscapeString
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401880
2008-02-22 02:23:17 +00:00
David Anderson
cf52d02803 fixed amb1468 - renderer marked disabled items as valid selections
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401879
2008-02-22 01:56:22 +00:00
Matt Woodrow
7a5b8caa16 Added amb1460 - BfGetNumBytesLeft
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401878
2008-02-21 01:03:35 +00:00
Matt Woodrow
9a49bf2f08 Update of project file to match latest hl2sdk
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401877
2008-02-20 07:56:33 +00:00
David Anderson
98720129b3 Makefiles now cross-compile on 64-bit systems
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401872
2008-01-30 20:50:28 +00:00
David Anderson
f50509abf0 added amb1378 - FileExists() for valve fs
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401860
2008-01-22 17:04:59 +00:00
Matt Woodrow
e30f612a21 Added new native SendConVarValue for networking fake convar values to individual clients
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401858
2008-01-21 02:01:22 +00:00
David Anderson
59b5a6f879 fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401854
2008-01-13 08:17:47 +00:00
David Anderson
5f61876ab6 fixed amb1379 with sweeping changes to the entity stuff. all prop stocks are now natives so they can properly compute everything quickly, as well as do type checks. Get/SetEntDataEnt are deprecated for being sucky, the new 2 versions do more checking and uses better values. lastly, there are functions/parameters for finding types and sizes of property.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401853
2008-01-13 08:10:25 +00:00
David Anderson
a9017a8291 AutoExecConfig() protects against double-call bugs now (amb 1356)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401852
2008-01-13 02:08:40 +00:00
David Anderson
42a313486a - added amb1332, new cvar protection mechanism for rcon_password
- removed FCVAR_PROTECTED from Core cvars

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401845
2008-01-08 03:06:33 +00:00
David Anderson
63592212d5 - fixed amb1302 - GetClientMenu() could return 1 for stale external menus
- fixed a debug assertion from StartMessage() + ShowMenu

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401844
2008-01-07 22:36:39 +00:00
David Anderson
c033f5415a - added GuessSDKVersion()
- added rendermode and renderfx prop stocks and defines
- added MoveType tag to MOVETYPE defines
- changed Movetype functions to MoveType to use correct SourceMod casing

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401843
2008-01-07 06:59:44 +00:00
David Anderson
e1bc3234b2 added /MP to compilation settings
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401842
2008-01-07 06:58:43 +00:00
David Anderson
6e09aacd98 fixed amb1355 - optional extensions did not work properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401841
2008-01-07 04:00:47 +00:00
David Anderson
1ffd1db733 added amb1348 - SetFailState() formatting
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401839
2008-01-04 16:20:25 +00:00
David Anderson
4e07200cfb - added AddTargetsToMenu2() for using COMMAND_FILTER flags
- fixed amb1350 - sm_voteban/menu ban on fake clients would crash
- fake clients can no longer be banned and do not appear on ban menus

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401838
2008-01-04 16:05:26 +00:00
David Anderson
89ac3a14ba added amb1341 - OnClientPostAdminFilter
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401837
2008-01-03 19:40:55 +00:00
David Anderson
4e1fb49096 added amb1336 - GetTrieSize()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401835
2008-01-03 06:11:26 +00:00
David Anderson
f8f5a6a888 added extended error info to text parser API; GameConfigs now display better errors
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401821
2007-12-22 19:36:28 +00:00
David Anderson
c3456b8804 moved errno.h to top of platform includes
fixed bug where FormatMessage() did not ignore inserts

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401820
2007-12-22 19:35:54 +00:00
David Anderson
a079a87f68 fixed amb1305 by making OnClientPostAdminCheck() always occur after OnClientPutInServer(). this is now GUARANTEED. it was undefined before, however the usual case was opposite. if plugins were relying on this, they were written poorly and shouldn't have worked in the first place, especially with the threaded SQL plugin.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401819
2007-12-22 08:57:08 +00:00
David Anderson
b1451f692c fixed linuxbuild
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401805
2007-12-17 00:54:10 +00:00
David Anderson
6ba2593738 added amb1289 - FindPluginByNumber
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401804
2007-12-16 23:45:41 +00:00
David Anderson
abb763d1e1 added amb618 - binary file i/o
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401802
2007-12-16 23:11:00 +00:00
David Anderson
cf023a0b7d added amb1204 - concommandbase iteration
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401801
2007-12-14 23:27:34 +00:00
David Anderson
c9a9826989 added amb968 - setting for suppressing potential chat triggers from admins
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401800
2007-12-14 06:42:40 +00:00
David Anderson
f261c2e756 fixed the global ock error message having too many punctuation marks
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401790
2007-12-10 23:32:32 +00:00
David Anderson
1904348efc - fixed amb1237 part 1 - maplists.cfg missing could cause ReadMapList() to fail
- fixed amb1237 part 2 - nextmap could fail in certain cases with mapchooser present

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401789
2007-12-10 22:20:53 +00:00
David Anderson
d3a22aeff7 added amb1262 - adt_trie
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401785
2007-12-10 05:14:37 +00:00
David Anderson
ff15a84e7c added temporary debugging to ReadMapList()
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401784
2007-12-10 03:14:54 +00:00
David Anderson
d78d7ab960 - rewrote internal convar hooking mechanism to prevent crashes and potential "race conditions"
- sharesys is now the first thing to run, so g_pCoreIdent is valid EVERYWHERE
- added internal convar hooking funcs for timersys

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401776
2007-12-06 03:28:02 +00:00
David Anderson
5ae2a5c4fe sm_dump_handles now shows memory usage
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401772
2007-12-05 18:07:18 +00:00
David Anderson
737a359990 - removed ancient bcompat shim for translations/core.cfg file
- fixed msvc8 whining about BfReadString

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401770
2007-12-04 15:58:07 +00:00
David Anderson
c5b6c63ec6 added ability to use game name from gameinfo.txt in gamedata files
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401768
2007-12-04 15:27:04 +00:00
David Anderson
fc53efb288 fixed amb1241 - IVEngineServer implementation of client querying is completely broken on orange box, thanks valve
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401765
2007-12-04 02:35:46 +00:00
David Anderson
dcb77e0918 addressed amb1230 - BfReadString() erroring on something that should be perfectly valid
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401756
2007-12-03 03:19:21 +00:00
David Anderson
6533e16019 fixed amb1210 - ReadMapList() broken for "mapcyclefile"
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401755
2007-12-03 02:43:42 +00:00
David Anderson
86a9369c04 fixed a crashbug when MAPLIST_FLAG_MAPSFOLDER was not present and all fallbacks failed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401753
2007-12-02 16:47:10 +00:00
David Anderson
98b74c2e21 fixed a bug where mapcyclefile might not be read properly
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401752
2007-12-02 16:43:34 +00:00
David Anderson
6ecfa76b01 committed vcproj changes left around
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401748
2007-12-02 05:33:57 +00:00
David Anderson
9b2f22fa6d fixed the build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401747
2007-12-02 04:31:28 +00:00