Darryl Pogue
4221b57baa
Fix a whole bunch of clang warnings.
12 years ago
Darryl Pogue
d1dd98c17b
CoreLib fixes for Linux.
12 years ago
Michael Hansen
9f276e2c57
Add support for Visual Leak Detector, since valgrind doesn't support MSVC
12 years ago
Michael Hansen
49dfb4e546
Convert SDL (mostly) to plStrings
12 years ago
Michael Hansen
188171235e
Add string split and tokenize functions
12 years ago
Michael Hansen
1b57055fd3
Take advantage of plString more in hsStream's String I/O functions
12 years ago
Michael Hansen
3e92022db2
Fix additional issues from review
12 years ago
Michael Hansen
c68724765b
Some minor cleanup for readability
12 years ago
Michael Hansen
b219c3c3cc
Alright, this _TEMP_CONVERT_ stuff was a stupid idea
12 years ago
Michael Hansen
075c535e2c
Some cleanup and a vararg plString usage fix
12 years ago
Michael Hansen
9cc3f404af
Add Short-String Optimization to plString
12 years ago
Michael Hansen
92c5070736
Remove dependency on <functional>
12 years ago
Michael Hansen
041b1985e4
Fix paths and move GetSecureEncryptionKey so things compile again
12 years ago
Michael Hansen
403d2a896d
Move plFileUtils and hsFiles to CoreLib
...
--HG--
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles.cpp => Sources/Plasma/CoreLib/hsFiles.cpp
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles.h => Sources/Plasma/CoreLib/hsFiles.h
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles_Mac.cpp => Sources/Plasma/CoreLib/hsFiles_Mac.cpp
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles_PS2.cpp => Sources/Plasma/CoreLib/hsFiles_PS2.cpp
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles_Unix.cpp => Sources/Plasma/CoreLib/hsFiles_Unix.cpp
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles_Win.cpp => Sources/Plasma/CoreLib/hsFiles_Win.cpp
rename : Sources/Plasma/PubUtilLib/plFile/plFileUtils.cpp => Sources/Plasma/CoreLib/plFileUtils.cpp
rename : Sources/Plasma/PubUtilLib/plFile/plFileUtils.h => Sources/Plasma/CoreLib/plFileUtils.h
12 years ago
Michael Hansen
03a1283c27
The licensing stuff was copied from an older code base...
12 years ago
Michael Hansen
40d5e2e867
Fix some noteworthy warnings (mostly hsBool->bool incompatibility) and missing headers
12 years ago
Adam Johnson
6d4726c766
Fix external build linking
...
A misplaced external guard (likely introduced in #217 ) caused a few legacy symbols (hsStrcpy, etc) to be excluded from the CoreLib.
12 years ago
Adam Johnson
b57dc28136
Remove some unused CoreLib stuff
...
- plRefCnt duplicates hsRefCnt (Wtf?)
- hsNamedPipeStream nasty, unused
- VDB stuff in hsStream left over from Plasma 1 (realMyst/DIRT)
- hsColor32 moved to be less promiscuous
13 years ago
Adam Johnson
a709e17069
Obliterate hsBool
13 years ago
Adam Johnson
5f78b33db4
Remove hsRand--we have rand support in the Cstdlib
13 years ago
Adam Johnson
f0af98b0a7
Toss lots of custom CString code
...
We already have a C standard library, so let's not reimplement it.
13 years ago
Adam Johnson
1556d147d9
Don't expose math.h from HeadSpin.h
13 years ago
Adam Johnson
172b3c6cfb
Toss old RAM functions
...
If we really care about system RAM, we should reimplement this in a less
obsolete way--and hopefully update the RAM tiers ;)
13 years ago
Adam Johnson
3667fb62e2
Replace COMPILER_ASSERT with C++0B static_assert
13 years ago
Adam Johnson
94ca3bb097
Merge core-CoreLib headers
...
Merge hsTypes.h, hsUtils.h, and hsWindows.h into a single header to cut
down on confusion and to simplify doxygen graphs. hsRefCnt's
implementation details were moved into another file in preparation for
making HeadSpin.h a precompiled header.
13 years ago
Darryl Pogue
0ac6cd4907
Fix hsThread_Unix compilation.
13 years ago
Adam Johnson
87549fceb1
hsMessageBoxWithOwner functions use hsWindowHndl
13 years ago
Adam Johnson
4ba4ca7fee
Fullscreen clients no longer hide message boxes
...
The old solution may have worked at one point in time, but it was kind of
suspect in that it would (theoretically) hide the game window forever. The
new solution will only hide the game window while the message box is
alive. As a bonus, the part where we hide the full screen window now
works.
13 years ago
Joseph Davies
304d15acfe
Update hsMatrix44 to use hsCpuID dispatcher.
13 years ago
Joseph Davies
42f4eec1f7
Add hsCpuID and hsFunctionDispatcher for CPU feature detection.
...
Based on Branan's code deliberated upon in IRC, this provides the ability
to detect CPU instruction sets and dispatch functions based on those
capabilities detected at runtime.
13 years ago
Christian Walther
67f6823f73
More 'const', so that Rotate(vector) can be called on a const hsQuat&.
13 years ago
Adam Johnson
151657a9f2
Fix zombie plCrashHandler issues
...
Win32 HACK: We wait on both the pfCrashCli handle and the crashed semaphore.
This way, we can proceed to exit pfCrashSrv when the client process exits
insanely.
13 years ago
Adam Johnson
062cb15b44
SSE3 hsMatrix44 multiplication
13 years ago
Adam Johnson
bb47f83cf3
Simple SSE3 skinning algorithm
...
Future direction: do lots of work such that hsMatrix44 and hsScalarTriple
are 16-byte aligned so that we can use faster aligned loads
13 years ago
Darryl Pogue
3a8911c1cd
Fix a rather crippling plString bug on Linux.
13 years ago
Adam Johnson
43b9535e96
Implement TryWait for hsSemaphore
13 years ago
Darryl Pogue
cf802fcba0
Remove a bunch of unused custom STL code.
13 years ago
Darryl Pogue
a28213806f
Fix compiling.
13 years ago
Darryl Pogue
251cf02bd7
Move AtomicAdd/AtomicSet to hsUtils.
13 years ago
Darryl Pogue
97f9370dfe
Make the *nix path constant use the system value.
13 years ago
Darryl Pogue
8437d676fb
Support named semaphores on *nix.
13 years ago
Adam Johnson
a44b48356e
Remove WinRun hack from hsThread
13 years ago
Bartek Bok
7481a1b5bb
Bad bits
13 years ago
Darryl Pogue
ab8d7619d3
Remove the pragma stuff since there's no warning.
13 years ago
Darryl Pogue
b5d9c3ffec
Use a correct value that doesn't cause warnings.
13 years ago
Darryl Pogue
bdf52410e1
Make plString build on mingw.
13 years ago
Michael Hansen
8bf78c0e35
Fix plStringStream for the case of adding a '\0' char non-destructively
13 years ago
Michael Hansen
81465e621b
Add case conversion functionality
13 years ago
Michael Hansen
b29eb95acc
Zrax fails
13 years ago
Michael Hansen
1511459ffd
Fix String concatenation dereference bug
13 years ago