1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 19:29:09 +00:00
Commit Graph

653 Commits

Author SHA1 Message Date
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
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
c84aee11a6 Merge pull request #411 from Hoikas/plclient-cleaning
Some plClient Cleanups
2014-06-05 17:25:14 -04:00
8f8bad63f0 Fix inappropriate UnRefing in VaultCreateNodeTrans 2014-06-05 17:13:41 -04:00
d113642a61 Fix typo in non-Win32 logging code 2014-06-03 21:32:02 -07:00
b393947cd5 Fix dupe callbacks in VaultAddChildNode
This code called back into the python vault operation thingy, which
deletes itself. So, anytime we got dupe CBs, there was a use-after-free
error. Nasty crashes. I tightened up the CB management, threw away some
weird faux-management mess, and squashed some potential silent bugs.
2014-06-03 15:13:38 -04:00
ec2d5a5d42 Merge pull request #419 from Hoikas/physx_sleep
Fix long-standing physical sleep issue.
2014-06-02 09:39:24 -07:00
aee2f7f7ca Make hsRefCnt atomic, and merge with hsAtomicRefCnt 2014-06-01 13:34:19 -07:00
39867610a2 Fix leak check race condition, and remove an unintentional circular ref 2014-06-01 13:34:18 -07:00
403528a24b Use hsRef for storage of the remaining vault nodes 2014-06-01 13:34:17 -07:00
8fa9171415 Also use hsRef for the vault functions which "return" lists 2014-06-01 13:34:16 -07:00
d2a05929f8 Replace most vault *IncRef() API functions with hsRef versions 2014-06-01 13:34:16 -07:00
aa2a1de5d0 Provide an easier/safer way to manage hsRefCnt subclasses 2014-06-01 13:31:56 -07:00
7a3ac456a2 Merge pull request #433 from zrax/refcnt
Fix debug crash due to ref miscounting
2014-05-29 12:15:19 -04:00
92a0da34a8 Fix invalid format string 2014-05-29 11:51:19 -04:00
b666637a5d Fix debug crash due to ref miscounting 2014-05-28 22:59:42 -07:00
8b43d46ea5 Use moar stringstreams (where appropriate) 2014-05-28 19:06:18 -07:00
5c6b6bbc7c Fix the rest of the plString::Format calls 2014-05-28 18:49:50 -07:00
dc9497cf90 Shutdown code de-duplication 2014-05-28 21:33:32 -04:00
3892a84f52 No need to duplicate this... 2014-05-28 18:10:26 -07:00
48ca0fde19 More plFormat -- some may make minor changes to certain debug output
(mostly regarding bools)
2014-05-28 18:10:25 -07:00
281f95638d Better padding string generation 2014-05-28 18:10:25 -07:00
1debf8180b Convert many of the now-deprecated plString::Format calls to plFormat 2014-05-28 18:10:24 -07:00
1a0420127c Provide some plFormat samples with floats/doubles 2014-05-27 18:31:06 -07:00
4b42e387a3 Merge pull request #425 from Hoikas/dyntextmsg-string
pyDynamicMap plString-ification
2014-05-24 19:26:31 -07:00
c9c7350d36 Merge pull request #420 from zrax/plFormat
plFormat: a type-safe string formatter
2014-05-20 20:49:29 -04:00
69f1e2c511 Merge pull request #413 from zrax/qt_tools
Port GUI Tools to Qt5
2014-05-19 23:23:39 -04:00
933ae6ec17 Provide some sample conversions to plFormat for testing and copying 2014-05-19 18:12:50 -07:00
f2dee21063 Nuke std::wstring from plDynamicTextMsg 2014-05-19 20:57:24 -04:00
34b2eb1836 More std::atomic and friends 2014-05-18 11:19:55 -07:00
23a071860e pnUtRef started at zero refs instead of one, and this is simpler
than finding and removing all the extra Ref() calls.
2014-05-18 11:19:55 -07:00
d713a13dbe Merge pnUtRef with hsRefCnt, and remove the former 2014-05-18 11:19:52 -07:00
d4465a2168 Port plFontConverter to Qt5 2014-05-18 00:02:22 -07:00
e929708a3b Use std::atomic_int for hsSafeRefCnt, and move it to hsRefCnt.h/cpp 2014-05-17 21:30:42 -07:00