4450d87947
Move AniGraph classes from plAvatar -> plAnimation.
2014-10-23 19:52:35 -07:00
69bc106576
Merge pull request #407 from Deledrius/bink_removal_again
...
Bink Removal
2014-10-19 18:25:24 -04:00
39eab13d9d
plgAudioSys doesn't need to take hsWindowHndl.
2014-10-19 00:13:53 -07:00
fb66dca691
Fix linux compile issues
...
Add that include, foo!
2014-10-18 20:11:01 -04:00
d2b913f350
Convert most of plSceneNode to std::vector
2014-10-18 20:08:10 -04:00
88ce09698e
Convert plPageTree::fNodes to std::vector
2014-10-18 20:03:42 -04:00
f83828d2f1
Merge pull request #445 from zrax/avx2
...
Support AVX2
2014-10-18 20:03:03 -04:00
7ddba6a758
Merge pull request #447 from zrax/hsEvent_fix
...
Fix hsEvent to match the old behavior better
2014-10-18 19:59:22 -04:00
eda0bd26d1
Merge pull request #449 from Deledrius/cleanupexe
...
Clean up WinMain.
2014-10-18 19:54:06 -04:00
78c0b48859
Replace hsArrays in SortVisibleSpans() with STL vectors
...
This seems to fix occasional crashes encountered on TOC.
2014-10-18 22:13:39 +02:00
eeec4bac56
- Fixed spaces in plstring docs
...
- Moved the CRT flag
- removed format tests as plString::format is deprecated.
2014-10-18 16:18:27 +02:00
d6cb56fd9c
Move @cwalther's tests into new dir scheme.
2014-10-18 13:15:36 +02:00
078d59dfa0
Preliminary unit testing setup using Google C++ Testing Framework.
...
Including tests for the fixes of 595d265
and 3c73b9f
.
Conflicts:
CMakeLists.txt
2014-10-18 13:15:35 +02:00
ed0c021803
Added gtest.
...
Added Unittest.
Small fix documentation plString.
2014-10-18 13:15:29 +02:00
9732a997c0
Removes remaining usage of Bink in main engine.
...
- Removes Bink headers.
- Remove usage of Bink movie layers in pfJournalBook (replacing it
with plLayerAVI in the interim).
- Removes Bink cmake.
Conflicts:
CMakeLists.txt
Sources/Plasma/Apps/plClient/plClient.cpp
Sources/Plasma/PubUtilLib/plPipeline/plBinkPlayer.h
2014-10-16 01:06:37 -07:00
8b5b85cc53
Add stub plMoviePlayer.
...
Provides a working replacement for plBinkPlayer so that its removal
won't leave videos 'playing' indefinitely waiting for unhandled
messages.
2014-10-16 01:06:29 -07:00
95c52c0912
Rename UniChar to plUniChar to avoid conflict on OSX.
...
OSX defines a UniChar type as part of the OS headers.
2014-10-13 17:32:50 -07:00
ccd5687e61
Fix pnUUID linking on OSX. Closes #451 .
2014-10-13 17:32:50 -07:00
55ea5a03fa
Fix missing header on OSX.
2014-10-13 17:32:50 -07:00
70d037353f
Fix for timeval on OSX.
2014-10-13 17:32:50 -07:00
ba1d7c3ae1
Merge pull request #441 from zrax/headspin_cleanup
...
HeadSpin.h cleanup
2014-10-13 17:31:47 -07:00
30410dbdd8
Some fixes for OSX compilation. Closes #450
2014-10-12 16:22:16 -07:00
0d297076ef
Remove unused and dead code in winmain.cpp.
2014-10-11 14:43:14 -07:00
7445e23e59
Rename "new account" button resource to reflect actual purpose.
2014-10-11 14:43:09 -07:00
658d5b6f71
This version of hsEvent more accurately matches the previous (Win32)
...
behavior, and also serves as a proper binary semaphore.
2014-08-20 20:15:52 -07:00
085c00706c
Some fixes for Clang
2014-08-10 20:42:09 -07:00
094b0fe557
Move <algorithm> header out of HeadSpin.h
2014-08-09 12:28:20 -07:00
827ea85af0
Remove some additional usless / unused junk
2014-08-09 12:28:20 -07:00
751d760772
Use standard (f)abs functions
2014-08-09 12:28:20 -07:00
fced942020
Safer type-punning
2014-08-09 12:28:19 -07:00
ce53a71990
There is no benefit to the hsFopen macro
2014-08-09 12:28:19 -07:00
1a987173d6
Use std::swap
2014-08-09 12:28:19 -07:00
72f18e8ebb
Complete the previous commit by also removing the inline min and max
...
functions defined in HeadSpin.h without breaking (3ds)Max compilation
2014-08-09 12:28:19 -07:00
e36220cca5
Use std::min and std::max
2014-08-09 12:28:19 -07:00
9d67b96837
Fix some errors and warnings when compiling with Clang
2014-08-09 12:19:14 -07:00
2bbfa9399d
Fixup example
2014-08-08 21:47:19 -07:00
19bda88893
Add AVX2 support to hsCpuID, and cleanup some misc related junk
2014-08-08 21:35:35 -07:00
a1303d6d23
Fix inconsistent line endings :(
2014-07-27 13:57:39 -07:00
474b54396b
Reintroduce (and enforce use of) hsLockFor{Reading,Writing}
2014-07-26 13:05:43 -07:00
5836af7268
Clean up hsReaderWriterLock
2014-07-26 12:47:54 -07:00
f83ec34c67
Move the old IPC-based semaphore to hsGlobalSemaphore, and provide a
...
"normal" (inter-thread only) semaphore class.
2014-07-26 11:09:15 -07:00
b774548066
Simplify plDispatch mutexes a bit
2014-07-26 11:07:05 -07:00
a669abf10e
Use C++11 threading for hsEvent, and clean up the API a bit
2014-07-26 11:06:46 -07:00
2947acb2c8
Replace hsMutex with std::mutex
2014-07-25 23:39:53 -07:00
5ed3e3205c
Add move semantics to plString and plStringStream
2014-07-25 18:20:25 -07:00
fa1bb779e5
Add explicit string literal overload to try to help Coverity (and
...
avoid a strlen call to boot).
2014-07-25 18:15:10 -07:00
a82c110a9a
Merge pull request #438 from zrax/plFormat_stream
...
Switch plFormat's accumulator to a plStringStream for better performance
2014-07-15 21:48:54 -04:00
d27f102166
Merge pull request #437 from zrax/hsRef
...
Clean up ref-counting
2014-07-15 21:33:18 -04:00
f5b2bddbb2
Always use hsTimer for profile stats.
...
This fixes the weird flickering and inaccurate numbers that were showing up on Windows.
2014-06-28 21:39:17 -07:00
a0da984cdc
Work towards killing TimeGetMs.
...
Only remaining uses are in pnAsyncCore stuff, and I'm not touching that
until the std::thread merge is figured out.
2014-06-28 18:14:27 -07:00