Age | Commit message (Collapse) | Author |
|
Sometimes, you just want to Unicode.
|
|
- Implement conditionals in the lexer and reject or ignore them in
callbacks. This will allow something to use them later if needed.
- Make error handling less stupid (return a bool instead of using the
state struct).
|
|
More handwavey Linux prep, nothing too significant.
|
|
This was a smaller oversight in the crash fix commit. I'd thought about
it, but forgotten to do it.
|
|
|
|
Mostly L4D leaderboard related stuff, but shouldn't really hurt anyone
in other games.
|
|
I hadn't realised this was all that newer versions did.
Thanks Aciidz for testing the fix on earlier versions too and
confirming that it really is this simple.
|
|
The format string one is cool because it implies the Windows code was
also always wrong but the Windows headers aren't annotated for Clang so
I guess that means it doesn't warn. At least for the nonstandard Windows
wide character versions of things. Cool!
|
|
Important note: it doesn't WORK on Linux, and there's tons of warnings
and stuff, but it's easier to work on when all the compiler output and
whatnot is there.
|
|
|
|
SST itself doesn't build, but it's a start!
Really interesting is the declaration after a switch label. That's of
course invalid, but Clang on Windows never complained. I guess it's an
MSVC extension, eh? How annoying.
Also, haha yes the script wasn't even executable. Forgot to
update-index when I remade the repo, I guess...
|
|
Preparing for the January beta release.
|
|
|
|
|
|
This removes the need to call atof() on each cvar on plugin load; now
all that's required is the memory allocations for the string values.
The syntax is also a bit nicer since numbers can just be numbers rather
than quoted strings.
Minor issue: specifying a string value that also happens to be numeric
will break this since the numeric representation will be zero, but I
can't see a reason this would ever happen.
Also, add a DEF_CVAR_MAX just for completeness.
|
|
This is more old code that wasn't part of the initial release. Figure I
might as well throw it in for later.
|
|
|
|
|
|
|
|
This is done through a new "fixes" file which will probably become one
of those silly dumping grounds that every project has to have somewhere
to put random miscellaneous crap in.
These are mainly hidden in L4D2 but they just get unilaterally unhidden
if they exist, just to be sure they're accessible.
As a bonus, it turns out that unhiding a single cvar also allows us to
set sv_cheats 1 in Left 4 Dead 2, bringing an end to the need to port-
forward a listen server for co-op practice.
|
|
A few of us agreed there's really no reason not to.
|
|
With code from Bill. Thanks Bill!
|