75793e5182
Manual merge of Pull Request #232 from zrax/plString
...
Conflicts:
Sources/Plasma/CoreLib/HeadSpin.h
2012-12-20 17:22:31 -05:00
4221b57baa
Fix a whole bunch of clang warnings.
2012-12-15 16:46:20 -08:00
d1dd98c17b
CoreLib fixes for Linux.
2012-12-15 16:06:41 -08:00
9f276e2c57
Add support for Visual Leak Detector, since valgrind doesn't support MSVC
2012-12-13 02:07:53 -08:00
49dfb4e546
Convert SDL (mostly) to plStrings
2012-12-13 02:06:41 -08:00
188171235e
Add string split and tokenize functions
2012-12-13 02:06:41 -08:00
1b57055fd3
Take advantage of plString more in hsStream's String I/O functions
2012-12-13 02:06:41 -08:00
3e92022db2
Fix additional issues from review
2012-11-18 01:14:06 -08:00
c68724765b
Some minor cleanup for readability
2012-11-13 20:05:04 -08:00
b219c3c3cc
Alright, this _TEMP_CONVERT_ stuff was a stupid idea
2012-11-13 18:40:13 -08:00
075c535e2c
Some cleanup and a vararg plString usage fix
2012-11-12 22:58:15 -08:00
9cc3f404af
Add Short-String Optimization to plString
2012-11-12 19:06:53 -08:00
92c5070736
Remove dependency on <functional>
2012-11-12 18:31:07 -08:00
041b1985e4
Fix paths and move GetSecureEncryptionKey so things compile again
2012-11-12 18:31:07 -08:00
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
2012-11-12 18:31:06 -08:00
03a1283c27
The licensing stuff was copied from an older code base...
2012-11-12 18:31:06 -08:00
40d5e2e867
Fix some noteworthy warnings (mostly hsBool->bool incompatibility) and missing headers
2012-11-11 22:34:05 -08:00
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.
2012-11-11 18:05:00 -05:00
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
2012-07-14 18:47:45 -04:00
a709e17069
Obliterate hsBool
2012-07-14 18:46:27 -04:00
5f78b33db4
Remove hsRand--we have rand support in the Cstdlib
2012-07-11 09:46:20 -04:00
f0af98b0a7
Toss lots of custom CString code
...
We already have a C standard library, so let's not reimplement it.
2012-07-11 09:46:20 -04:00
1556d147d9
Don't expose math.h from HeadSpin.h
2012-07-11 09:46:19 -04:00
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 ;)
2012-07-11 09:46:18 -04:00
3667fb62e2
Replace COMPILER_ASSERT with C++0B static_assert
2012-07-11 09:46:17 -04:00
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.
2012-07-11 09:46:15 -04:00
0ac6cd4907
Fix hsThread_Unix compilation.
2012-06-13 23:28:54 -07:00
87549fceb1
hsMessageBoxWithOwner functions use hsWindowHndl
2012-06-10 00:09:47 -04:00
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.
2012-06-09 23:29:20 -04:00
304d15acfe
Update hsMatrix44 to use hsCpuID dispatcher.
2012-04-22 15:02:28 -07:00
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.
2012-04-22 14:43:47 -07:00
67f6823f73
More 'const', so that Rotate(vector) can be called on a const hsQuat&.
2012-04-18 20:45:52 +02:00
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.
2012-04-17 15:59:14 -04:00
670576bf67
Merge pull request #184 from Hoikas/minidump
...
Improved Crash Handling
2012-04-15 14:08:20 -07:00
a038af101d
Merge pull request #193 from Hoikas/sse
...
SSE3 Optimizations
2012-04-15 14:07:41 -07:00
8d36a0d028
Closes #182 -- dpogue/kill_utils
...
Conflicts:
Sources/Plasma/Apps/plClient/winmain.cpp
2012-04-14 19:34:07 -04:00
062cb15b44
SSE3 hsMatrix44 multiplication
2012-04-11 23:22:02 -04:00
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
2012-04-11 23:21:54 -04:00
3a8911c1cd
Fix a rather crippling plString bug on Linux.
2012-04-07 22:37:28 -07:00
43b9535e96
Implement TryWait for hsSemaphore
2012-04-06 02:29:20 -04:00
cf802fcba0
Remove a bunch of unused custom STL code.
2012-03-11 21:33:54 -07:00
a28213806f
Fix compiling.
2012-03-10 19:16:52 -08:00
251cf02bd7
Move AtomicAdd/AtomicSet to hsUtils.
2012-03-10 17:49:22 -08:00
97f9370dfe
Make the *nix path constant use the system value.
2012-03-04 14:35:27 -08:00
8437d676fb
Support named semaphores on *nix.
2012-03-04 14:18:44 -08:00
a44b48356e
Remove WinRun hack from hsThread
2012-03-04 13:48:48 -08:00
7481a1b5bb
Bad bits
2012-02-27 20:25:34 +01:00
ab8d7619d3
Remove the pragma stuff since there's no warning.
2012-02-19 14:39:46 -08:00
b5d9c3ffec
Use a correct value that doesn't cause warnings.
2012-02-19 14:37:04 -08:00
bdf52410e1
Make plString build on mingw.
2012-02-19 13:02:47 -08:00