Commit Graph

24 Commits

Author SHA1 Message Date
David Anderson
172f28d676 fixed a number of memory complaints from valgrind. most of these were minor, but there was a rather disturbing memory over-read error in the SMC text parser. correcting this brought about a rewrite of its API. this change is BACKWARDS INCOMPATIBLE for C++ extensions, but it was sorely needed, and the API is now both future-extensible and much easier to work with. plugins didn't need any changes, but they will probably get the better API changes in a future release. as a special bonus, the RawLine() hook is now much less expensive since the entire stream buffer won't be shoved through it like before!
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401662
2007-10-31 05:04:07 +00:00
Borja Ferrer
b7d9d487cc ported SM's core to Orange Box
build is broken now in purpose

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401547
2007-10-14 00:04:21 +00:00
David Anderson
017da078ef header movement #1 - reduced usage of TextParsers.h
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401412
2007-09-11 15:10:18 +00:00
Scott Ehlert
a1009aed38 Updated license headers on virtually all files with extremely minor changes in the name of some sort of strange consistency.
All plugin and include file headers also have been changed to say about GPL3 instead of GPL2.

(This day shall henceforth be known as the Eighty Column Massacre of '07)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401336
2007-08-15 06:19:30 +00:00
David Anderson
4b75dffe41 added CRC32 checking capability to gamedata files
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401313
2007-08-11 21:19:35 +00:00
David Anderson
38ddbb37b9 updated more header files (mostly internal now)
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401237
2007-08-01 02:12:47 +00:00
Scott Ehlert
da8399c870 Gameconfs now support descriptions to identify games with '!' at the beginning of the string
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401070
2007-07-08 09:34:20 +00:00
David Anderson
9400850d03 removed a message that could have been spammed on mods with only one platform binary
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401067
2007-07-08 04:38:07 +00:00
David Anderson
a2617e5644 gameconfs can now inherit properly with a new trie replace function
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401063
2007-07-08 03:17:29 +00:00
David Anderson
5743211846 removed errors on faulty gameconf sig finds - this sort of made partial inheritance awkward because an error could be thrown even if the signature was found later
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401060
2007-07-07 23:24:36 +00:00
Scott Ehlert
cce60de20f Fixed bug where multiple "#default" sections in game config file would be ignored if the first section does not work for the running game/mod
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401049
2007-07-07 04:06:47 +00:00
David Anderson
e16d731d81 fixed a bug where linux did not read dladdr() return value right for gameconfs
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40979
2007-06-17 19:23:43 +00:00
David Anderson
c5898044c1 Fixed a bug where the GameConfig file cache was not cleared once a file was fully closed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40977
2007-06-17 18:26:34 +00:00
David Anderson
5b7d82570f fixed a state bug in the gameconf parser that would break parsing after a signature section was done
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40975
2007-06-17 07:32:31 +00:00
David Anderson
9bd438d3bb fixed a bug where only one signature per file would be parsed
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40970
2007-06-17 02:50:04 +00:00
David Anderson
29f36e2e3f fixed linux build
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40957
2007-06-16 15:15:30 +00:00
David Anderson
c133002c14 added handle reading to GameConfigManager
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40955
2007-06-16 08:35:26 +00:00
David Anderson
b706a6990c - moved gamedata out of "configs"
- added signature scanning to gameconfs
- renamed "*" to "#default" in gameconfs
- added new inheritance feature to gameconfs

--HG--
rename : configs/gamedata/core.games.txt => gamedata/core.games.txt
rename : configs/gamedata/sdktools.games.txt => gamedata/sdktools.games.txt
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40953
2007-06-16 05:42:16 +00:00
Scott Ehlert
de9dc9ed99 Various pointless things of no importance:
- Renamed ISourceMod::GetModPath() to GetGamePath()
- Renamed ISourceMod::GetModFolderName() to GetGameFolderName()
- Various spelling corrections (why did I do this?)

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40735
2007-05-03 03:45:53 +00:00
Scott Ehlert
77e49c855f Added client convar querying :o
Also added ISourceMod::GetModFolderName() for returning the name of the mod directory by itself

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40702
2007-04-14 04:27:47 +00:00
Scott Ehlert
bb92fc06a6 More consistency of some sort...
Oh god, what has possessed me to do this?

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40659
2007-03-22 21:50:20 +00:00
Borja Ferrer
6e78ac6302 fixed several memory leaks
fixed plugin listeners being removed before a OnPluginUnloaded Call_AskPluginLoad
removed some virtuality
all cached ptrs using the Stack system are freed now

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40647
2007-03-17 00:55:46 +00:00
David Anderson
2c70ec1a8c refactored singleton class names
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40622
2007-03-15 04:45:17 +00:00
David Anderson
5b1f1d19c1 part 2 of singleton renaming
--HG--
rename : core/CGameConfigs.cpp => core/GameConfigs.cpp
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40598
2007-03-10 21:26:04 +00:00