Darryl Pogue
f1767ebabe
Fix some *nix compiler errors.
11 years ago
Adam Johnson
dd35878465
Begin killing off sprintf
11 years ago
Adam Johnson
470ed86187
Let's use `vsnprintf` for those legacy methods...
11 years ago
Adam Johnson
48f232c3a0
Aligned matrix loading
12 years ago
Michael Hansen
8e7505b8ce
Don't use CPUID call on targets that don't support it
12 years ago
Michael Hansen
dde3be140c
Support negative substring indexes from the right side of the string
12 years ago
Michael Hansen
04ecc27e8e
Fix a plFileSystem::CreateDir failure when called with a trailing slash
...
and requesting the whole tree to be created.
12 years ago
Adam Johnson
fc43c62174
CoreLib Precompiled Header
...
NOTE: I used a different header name this time because CoreLib headers are
visible top-level to the rest of the codebase.
12 years ago
Adam Johnson
3fb5f33517
Add plQuality entry for Shader Model 3
12 years ago
Florian Meißner
d0a1e440f3
Fix missing include in CoreLibs
12 years ago
Darryl Pogue
29bc092cff
math.h -> cmath
12 years ago
Darryl Pogue
b01aab4a39
Standardize on C++ headers.
...
Also removes a bunch of duplicate #includes of stuff that's already
pulled in by HeadSpin.h.
12 years ago
Darryl Pogue
43ca24e167
Fix some plString/plFileSystem issues for *nix.
12 years ago
Darryl Pogue
c7eba65e13
Fix a clang warning.
12 years ago
Anne Marije van der Meer
58106995b4
infinite loop fix
12 years ago
Michael Hansen
2c028c4b07
Remove hsFiles in favor of plFilesystem stuff
12 years ago
Michael Hansen
cc54fb07be
Finish deprecation of pnUtPath
12 years ago
Michael Hansen
970ad3e729
Add additional functionality to plFileSystem as needed
12 years ago
Michael Hansen
f86b549293
Re-define nil as nullptr, cleaning up some potential issues along the way
12 years ago
Michael Hansen
56e332a3c3
Add basic regex functionality to plString
12 years ago
Michael Hansen
ad5495ca45
Fix issues from review
12 years ago
Michael Hansen
6f6ade2636
Replace hsStream::Open duplicated methods everywhere with a single plFileName interface
12 years ago
Michael Hansen
219061c095
Add plFilesystem module, which replaces previous filesystem APIs with a plFileName-based one
12 years ago
Michael Hansen
f736d81cd8
Convert plFileName to "has-a" model for better semantics.
...
You're welcome, branan ;)
12 years ago
Adam Johnson
d2815f35bf
Replace plasmalog with a better debug log
...
Plasmalog.txt is now plasmadbg.log. This allows us to view the log inside
the game, flush to the debugger output window, and have the logfile. The
plan is to redirect key leak reports to this log in a future commit.
12 years ago
Michael Hansen
1152cdae94
Fix issues from review
12 years ago
Michael Hansen
f980f022dd
Replace pnProduct with a (very) thin CoreLib plProduct wrapper around CMake-defined product ID values
12 years ago
Michael Hansen
2b1e05fcc7
Add doxygen docs to plFileName
12 years ago
Michael Hansen
5fa72a086f
Clean up some miscellaneous non-optimal string uses
12 years ago
Michael Hansen
c52a1f1037
Add plFileName::Join static method to join paths together correctly
12 years ago
Michael Hansen
01e25e5d8d
Add plFileName string specialization for filename manipulation
12 years ago
Michael Hansen
b5e35fb314
Add Truncate() method to plStringStream, which truncates the buffer without reallocating memory
12 years ago
Michael Hansen
dbb3b1a5b6
Add a Doxyfile and some plString documentation
12 years ago
Michael Hansen
9903e274bb
Fix issues from review
12 years ago
Michael Hansen
0d949cc137
Add plString::Replace
12 years ago
Michael Hansen
11558b8301
Fix a major plStringStream bug, and add an SSO-like optimization to it
12 years ago
Michael Hansen
bc0d04da48
Deprecate and remove NEWZERO macro
12 years ago
Michael Hansen
7ba8fdf86e
Fix issues from review, and pre-emptively fix a couple of potential plString::Format issues
12 years ago
Michael Hansen
74e06e3984
Deprecate and remove hsStlSortUtils
12 years ago
Michael Hansen
8158a43dfe
Fully remove hsStlUtils, as it is now completely unused
12 years ago
Michael Hansen
60021923a2
Deprecate and remove xtl::format in favor of plString::Format
12 years ago
Michael Hansen
f510b529f8
Remove unused headers from hsStlUtils.h (and push them downstream where needed)
...
Also fix a couple of plString and header issues identified by Paradox on GCC/Clang
12 years ago
Michael Hansen
3b1568a4e2
Add identification for some more modern Windows versions
12 years ago
Michael Hansen
23286bc8f0
Remove xtl::copy_if because:
...
- It is included in C++11
- Nobody was using it anyway >_<
12 years ago
Michael Hansen
4c7ce8665c
Replace xtl::delete_ptr functor with lambdas
12 years ago
Michael Hansen
a7d4d42b85
Remove an unnecessary extra heap allocation in plString::Format
12 years ago
Michael Hansen
c10ca98fc1
Remove xtl::istring and xtl::iwstring
12 years ago
Michael Hansen
02eebfa9a1
Clean up some useless junk from plString
12 years ago
Michael Hansen
66fe6ed73e
Add UnicodeBuffer as first class data type and allow plStrings to be constructed with it
12 years ago
Darryl Pogue
d40e7a5ca5
Move file stuff back to plFile for gcc.
12 years ago