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

685 Commits

Author SHA1 Message Date
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
bc76f4d760 Fix floating/exploding dynamic physicals
Only put dynamics to sleep if they're at the initial location. This
prevents baskets from exploding on touch by an avatar and should
theoretically make the doggone slave cave kickables activate the pressure
plates.
2014-05-15 19:11:35 -04:00
d4dbc81522 Fix another book-sharing message leak... 2014-05-05 21:37:15 -04:00
b3d6afc1c1 Can you say KABOOM?
The data is interleaved. If you randomly change it up, OpenAL *will* crash
on you...
2014-05-05 18:11:34 -04:00
07810ffd9c Apparently these need to be at the top to work in a purely
command-line (msbuild) environment
2014-05-04 22:59:32 -07:00
36f9876705 Merge commit 'a1edba6' 2014-05-03 15:42:56 -07:00
f78deb37d3 Fix memory leak in Relto sharing 2014-05-03 16:24:59 -04:00
783f0e9eb1 Fix unlikely plStateDescriptor leak 2014-05-03 16:24:59 -04:00
7e624a08a2 Merge pull request #390 from Hoikas/plMessage-headers
PCH-ize plMessage
2014-04-26 14:13:31 -07:00
0c8fc6d559 Undo the kRenderJustXForceLeft bugfix of 4 commits back.
The fix (adding adjustment of fRenderInfo.fDestPtr) made kRenderJustXForceLeft behave as intended (left-aligning the edge of the bitmap rather than the side bearing of the first character) but cuts off shadows in some places (e.g. at the left edges of "BUDDIES" and "NEIGHBORS" in the mini KI). To ensure enough space for the shadow, and considering that all content was developed and visually optimized with the bug in place, it seems better to preserve the buggy behavior and make kRenderJustXForceLeft work exactly like kRenderJustXLeft.
2014-04-26 21:14:53 +02:00
1967178e37 Link shadowed text rendering to the plDynamicTextMap::kFontShadowed flag.
Conveniently enough, this existing but unimplemented flag is already set mostly the way we want it in the current PRPs.
2014-04-26 21:14:52 +02:00
6b4739aec9 Implement shadowed text rendering.
Intended to make KI text (player list and chat) better readable on light and patterned backgrounds. In this WIP, all text on GUI controls is rendered shadowed.
2014-04-26 21:14:51 +02:00
8c5286400a Use premultiplied alpha for plDynamicTextMaps on GUI controls.
This fixes the irregular dark fringes around light text when not exactly pixel-aligned that are caused by independent interpolation of color and alpha. It also makes calculations simpler for things to come.
2014-04-26 21:14:50 +02:00
b34577103e Pixel-accurately clip characters to the available space instead of omitting whole characters that stick out.
In addition to being a prerequisite for shadowed text, this also fixes an issue sometimes seen at the bottom of the mini KI player list where characters with a descender were missing.
2014-04-26 21:14:49 +02:00
4cd2b2f7dd Fix #303 2014-04-26 21:14:47 +02:00
a1edba6267 fix for g++:
fix plVault LogMsg calls + remove useless wide char usage
	fix usage of plAvatarMgr::FindAvatar() and plLinkEffectsTriggerMsg::SetLinkKey() with temporary variables
	plNetServerSessionInfo.h need std::string
	fix plProgressMgr.h: NumLoadingFrames() have an useless class context information
	fix plSocket usage of non-standard NULL
2014-04-24 14:22:03 +02:00
a58e9c643c Clean up some warnings, and make the CRT ones more relevant 2014-03-16 14:35:15 -07:00
a1e3fa6faf Various MinGW compile fixes. 2014-02-19 23:31:43 -08:00
22f1be0542 Merge pull request #387 from Hoikas/animFun
Animation Things and Stuff
2014-01-31 19:51:16 -08:00