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
86c77006c8 PCH-ize plMessage 2014-01-23 23:33:58 -05:00
f77bf620ec Remove unused NetCommMsg 2014-01-23 22:56:07 -05:00
14b3d3f03c Fix unsafe cast 2014-01-23 22:35:33 -05:00
51c594a3b3 First pass over plMessage headers.
This reduces the amount of redundant #includes in the plMessage headers.
Still need to check over the actual source files and do some work to
remove pnUtils (ugh) from one message.
2014-01-23 22:35:23 -05:00
fc06d95858 Merge pull request #388 from Hoikas/leaks
Fix some leaks revealed by Coverity
2014-01-23 17:14:16 -08:00
cedc2482e3 Fixes for plAvatar 2014-01-23 16:27:11 +01:00
9e6200507b Fix potential leak in OfferLinkToPlayer 2014-01-22 19:06:51 -05:00
febc871e52 Fix HGLOBAL leak in plClipboard 2014-01-22 18:52:14 -05:00
acb980332f Fix plMouseDevice crash
plMouseDevice::HideCursor can crash if it is called before the cursor is
created. This happens if the client pops up a disconnected dialog before
initialization is complete. I've seen it happen!
2014-01-21 20:03:01 -05:00
9e0330feea Plate resource plString 2014-01-21 15:21:32 -08:00
b10795b9cb Convert plClientResMgr to plString
DIE std::string DIE!!!
2014-01-21 15:21:32 -08:00
d7fdf10455 Convert ReadSafe(W)String* to the plString variants, and remove the now
unneeded _TEMP variants.  All safe strings read from hsStreams are
now plStringified :)
2014-01-21 15:21:32 -08:00
dceb911f25 Clean up some crazy in plClientResMgr 2014-01-21 15:21:32 -08:00
f1131bbb25 Fix winmain use and a couple of remaining SafeStrings => plString 2014-01-21 15:21:32 -08:00
ae1bbdc1d6 Animation SDL variable names => plString 2014-01-21 15:21:32 -08:00
ef04cfcf84 Age Link info names => plString 2014-01-21 15:21:22 -08:00
f9a72e1a8f Repeatable emote animations...
... It's multistage majick!
2014-01-21 17:26:24 -05:00
14392883a7 Add customizable finish message to avatar seeking 2014-01-20 18:36:16 +01:00
ff30c77ddd plArmatureMod => plString 2014-01-12 13:22:42 -08:00
0c1783b2f3 plGenericVar => plString
- Also fixes a bug in plGenericType::CopyFrom, where doubles would get
  only half copied (and therefore become corrupt)
2014-01-12 13:08:25 -08:00
a783642515 Python file names and SynchedObj SDL state names => plString 2014-01-12 13:08:25 -08:00
939f6c3d41 Accept plStrings in plDynamicTextMap for rendering and font names 2014-01-12 13:08:24 -08:00
abe3d465b3 Some additional sprintf and std::string cleanup 2014-01-11 20:42:01 -08:00
7de24157a5 Avatar Clothing data => plString 2014-01-11 20:42:01 -08:00
71c9771cfb plOneShotMod => plString 2014-01-11 20:42:01 -08:00
b16274a8cc plNPCSpawnMod => plString 2014-01-11 20:42:00 -08:00
ee2ba7d068 hsG3DDeviceSelector => plString 2014-01-11 20:42:00 -08:00
29e311c91d Clean up plAvatarMsg a bit 2014-01-10 10:11:57 -08:00
5b6b886b55 Clean up DisplaySystemVersion() to avoid hsStrcpy, and add Windows 8.1
to the known versions decoder.
2014-01-10 10:11:50 -08:00
d8113a5ab7 Movie filename in plMovieMsg and plBinkPlayer => plString 2014-01-09 22:20:51 -08:00
611b9a09c2 plCloneSpawnModifier template name => plString 2014-01-09 21:48:21 -08:00
829277bcc4 Convert plLoadAgeMsg's age filename to a plString 2014-01-09 21:48:14 -08:00
8323758d33 Cleanup: Don't pass a writable scratch buffer off to dozens of virtual
functions -- that's just silly!
2014-01-09 21:48:05 -08:00
b865e8c9f2 Convert anim name in plAnimStage to a plString 2014-01-09 21:47:57 -08:00
0d53e4e0ec Convert plDXShader's error string to a plString, and do some cleanup 2014-01-09 21:47:46 -08:00
8cedb69e9e Fix some invalid heap ops found by Dr Memory 2014-01-07 22:54:21 -05:00
e48a4767cf Fix #365
plRegistryKeyList::Read assumed that plUoid object IDs are always
sequential. This is not the case since f664e8b resulted in all keys
getting an ID. The problem manifested itself here because there were
temporary materials that were being created and thrown away, causing
object ID gaps.
2014-01-05 23:23:04 -05:00
19da80f31b Fix External Client garbage-strings 2013-12-23 20:26:42 -05:00
7c0e3e2a61 Merge pull request #373 from Hoikas/linking-perf
Low-Hanging Linking Performance
2013-12-21 16:58:34 -08:00
42707c6e8a Merge pull request #372 from Hoikas/draw-starve
Smoother Spinning Dots
2013-12-21 16:57:35 -08:00
505df7c954 Merge pull request #371 from Hoikas/keycol-set
Fix plKeyCollector key trashing...
2013-12-21 16:57:10 -08:00
e2b5786988 Fix a bug related to trashed keys.
It appears that the hsTArray memory management really sucks for smart
pointers like plKey. The crash mentioned at
http://forum.guildofwriters.org/viewtopic.php?f=117&t=6291 went away
immediately after switching plKeyCollector to an std::set.
2013-12-21 12:28:12 -05:00
366a9a11a4 Fix logic error that causes slow string lookup
Recall that plKey object IDs are index-1 (unless they key is fixed, in
which case the ID is always 0), whereas vectors are index-0. JOY TO THE
HAX!
2013-12-20 21:13:59 -05:00
1cd4681980 Naïve fix for draw-loop starving.
Herp derp, it helps to fire off the update callback once an object is
read...
2013-12-20 17:14:18 -05:00
67448aad66 Merge pull request #370 from Deledrius/framenum_fix
Replace hardcoded frame number in plDTProgressMgr.
2013-12-20 13:51:22 -08:00
77266066ff Replace hardcoded frame number in plDTProgressMgr.
This was overlooked when the consolidation was done in 3027e0605c.
With this fix, the number of frames to be loaded is entirely defined
in a single place.  This also prepares the code for a future commit
to remove the necessity of the compile-time definition entirely.
2013-12-20 13:42:47 -08:00
358ae8dc84 Merge pull request #369 from Hoikas/dcm
Dyanmic Cam Map stuff
2013-12-19 19:10:42 -08:00
56507c5219 Fix several format errors detected via vararg-template voodoo 2013-12-16 18:58:47 -08:00
b421e75040 Send the right RefMsg, please...
So this is interesting. If you disable Planar Reflections and visit an age with a DCM, you will crash after a few minutes. This is because plDynamicCamMap is sending the wrong plRefMsg to the plLayer. This does nothing (aside from waste time), so we keep sending the ref again and again and again and again until we get some weird heap corruption and KABLOOOOOOOOOOOEY!
2013-12-16 21:22:50 -05:00
b358b26ae9 Merge pull request #354 from Hoikas/init-cleanup
Graphics Init Cleanup
2013-12-12 13:53:16 -08:00