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
Adam Johnson
712d59281f
Fix issues from review
...
- Use lowercase win32 header names for cross-compiling with MinGW
- Correct a unix GUID forward declaration
12 years ago
Adam Johnson
bb4d36e69d
Remove windoze include from hsThread.h
12 years ago
Adam Johnson
72000fd0c1
Fixes some oversights.
...
Okay, what moron left out the include guards on hsSTLStream.h? Come on,
man.
12 years ago
Adam Johnson
7785c9c85e
Remove global Windows.h include
...
This is the beginning of efforts to reduce the scope of Windows.h. I have
shuttled it into hsWindows.h (again) and fixed the compilation of the
major apps. There is still some scope work that needs to be done, and the
Max plugin has not yet been addressed.
12 years ago
Adam Johnson
c8419b0107
Remove hsFileStream
...
It's unused windows-specific garbage.
12 years ago
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