79a470d31c
Some cross-platform MinGW/gcc fixes.
2015-02-08 23:25:00 -08:00
8010f5d051
MinGW fix for plGLight isnan usage.
2015-02-08 23:25:00 -08:00
dde0d399f6
Implicit conversion to plString is apparently an MSVC thing
2015-01-09 21:42:55 -08:00
048cb49fd3
plStrings are non-POD objects.
2015-01-03 13:39:10 -08:00
e1d02d9da8
Fix crazy log-indent format mess
2015-01-02 23:03:55 -05:00
3b983bca8e
Convert vault tree printing to plString
...
After hacking the old to just barely use plString, I received some UTF-8
asserts. So, that seemed like a good excuse to convert the whole mess to
plString. Note that the output is now saved in VaultClient.log. This
should help with getting some of the chaos out of OLD_ASYNC_LOG.log
2015-01-02 22:50:27 -05:00
cc70f00537
Vault stragglers
2015-01-02 22:50:27 -05:00
851b580121
Fix VaultNodeAccess
2015-01-02 22:50:26 -05:00
a7fbdfd69a
Fix plVaultClientApi to work with new NetVaultNode
2015-01-02 22:50:25 -05:00
b9f747f046
Refactor NetVault Node
...
NetVaultNode now uses plStrings. I also took the liberty of removing code
that was really only useful in server contexts. Note that there is
absolutely no way this will compile at the moment. Future commits will fix
the other code to play nicely with this rewrite.
2015-01-02 22:50:25 -05:00
b4206e54c9
Merge pull request #461 from cwalther/setpublic
...
Let ptVault.setAgePublic accept ptVaultAgeInfoNode in addition to ptAgeInfoStruct
2014-12-29 16:42:13 -05:00
e8d317bd92
Replace port constants with a single port variable
...
- Remove really old deprecated constants
- Remove some Cyanic server code as well
2014-12-26 15:46:46 -05:00
990f42c780
Merge pull request #458 from Mystler/webm
...
WebM Movie Player (VP9/Opus)
2014-12-26 14:46:31 -05:00
245ccde6db
Let ptVault.setAgePublic accept ptVaultAgeInfoNode in addition to ptAgeInfoStruct.
...
In this case it now also works for non-owners of the age. Previously it only worked for owners because the ageInfoStruct does not contain the vault node ID, so it needed to be looked up somewhere, and that was in the AgesIOwnFolder.
2014-12-26 14:27:53 +01:00
754a35f3ff
Change code style
2014-11-02 00:46:53 +01:00
5563b803c4
Decode the whole audio track on startup
2014-10-31 14:28:11 +01:00
639819a0e5
Choose tracks based on language, if possible
2014-10-31 00:08:49 +01:00
2af4eaedf2
Calculate block alignment properly
...
*sigh* This happens when you copy the formula from somewhere else... Let's do it correctly now and fix the source in plVoiceChat as well.
2014-10-31 00:08:46 +01:00
7cd8f51eb4
Make audio work
...
Includes some reorganization and cleanup
2014-10-31 00:08:45 +01:00
9de5c4db54
Use libopus for decoding Audio
2014-10-27 20:18:14 +01:00
cbcbdc0889
Delay intro movie playback until after display init.
...
- Fixes stretched cursor during movie playback.
2014-10-27 19:00:04 +01:00
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
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
d6cb56fd9c
Move @cwalther's tests into new dir scheme.
2014-10-18 13:15:36 +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
70d037353f
Fix for timeval on OSX.
2014-10-13 17:32:50 -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
751d760772
Use standard (f)abs functions
2014-08-09 12:28:20 -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
19bda88893
Add AVX2 support to hsCpuID, and cleanup some misc related junk
2014-08-08 21:35:35 -07:00
474b54396b
Reintroduce (and enforce use of) hsLockFor{Reading,Writing}
2014-07-26 13:05:43 -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
2947acb2c8
Replace hsMutex with std::mutex
2014-07-25 23:39:53 -07:00
d27f102166
Merge pull request #437 from zrax/hsRef
...
Clean up ref-counting
2014-07-15 21:33:18 -04: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
a3ae4201a2
Template-ize hsTimer return values.
2014-06-28 18:14:26 -07:00
689941ba64
Modulate text shadow opacity by the alpha of the text color to make the player lists fade properly.
...
Also, the text of the faded-out player list is re-rendered with alpha == 0 every time the mouse enters its area, do a little less needless work in that case.
2014-06-07 18:22:41 +02:00
63af63574c
Revert "Fix dupe callbacks in VaultAddChildNode"
...
This reverts commit b393947cd5
.
The commit was seemingly harmless, but it created or otherwise uncovered
stack corruption deep inside the vault voodoo. While I would like to know
what was up, I'm tired of dealing with it. The crash addressed here was
fixed in a subsequent moul-scripts commit, so let's just toss this one.
2014-06-06 14:20:55 -04:00
f187d98a76
Revert "Fix inappropriate UnRefing in VaultCreateNodeTrans"
...
This reverts commit 8f8bad63f0
. It didn't do
what it claimed to.
2014-06-06 14:20:25 -04:00
f68556c04d
Merge pull request #439 from Hoikas/createplayer-crash
...
Fix inappropriate UnRefing in VaultCreateNodeTrans
2014-06-05 17:26:33 -04:00