5c6b6bbc7c
Fix the rest of the plString::Format calls
2014-05-28 18:49:50 -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
d713a13dbe
Merge pnUtRef with hsRefCnt, and remove the former
2014-05-18 11:19:52 -07:00
36f9876705
Merge commit 'a1edba6'
2014-05-03 15:42:56 -07:00
7e624a08a2
Merge pull request #390 from Hoikas/plMessage-headers
...
PCH-ize plMessage
2014-04-26 14:13:31 -07: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
22f1be0542
Merge pull request #387 from Hoikas/animFun
...
Animation Things and Stuff
2014-01-31 19:51:16 -08: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
cedc2482e3
Fixes for plAvatar
2014-01-23 16:27:11 +01: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
ae1bbdc1d6
Animation SDL variable names => plString
2014-01-21 15:21:32 -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
a783642515
Python file names and SynchedObj SDL state names => plString
2014-01-12 13:08:25 -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
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
3dc6f76b7d
Add functions for writing and reading avatar clothing files
...
This also introduces a filename member in plClothingOutfit so it
can determine whether to read the clothing information from the file
or the vault.
2013-12-11 20:39:25 +01:00
7ca81ba626
Implement a plLoadClothingMsg as a clone loading trigger
2013-12-11 20:39:13 +01:00
7e66aee382
Allow passing a clothing file to LoadAvatar and plStringify whatever we encounter on our way
2013-12-11 20:38:51 +01:00
296c4b6a69
Add missing std headers for compilation with VisualStudio 2013.
...
Additional C++11 support in VS12 requires inclusion of the proper headers.
2013-06-26 19:17:53 -07:00
c06cfd1449
Fix some warnings and some errors.
2013-02-10 00:14:10 -08:00
6ece5e6341
Fix crazy camera stack issues
...
Turns out, it was an artifact of us suspending the simulation during links
and partly because of Cyan's late adding of the avatar controller to the
sim. Now, we add the avatar as soon as the age data is loaded. This causes
the camera stack to be populated with whatever garbage PhysX decides on,
then xJourneyClothsGen2 is free to set the real stack after we get all the
SDL from the server.
Verified to fix Teledahn oddness and not display a regression in Kemo.
2013-02-08 00:15:56 -05:00
fe5ad6d437
Reintroduce a fun hack
...
Yeah, looks like PhysX 2.6.4 has a bug with spawning stuff inside of
regions. So, let's bring back the hack that spawns the avatar at -2000
feet. The link-in process will set the correct position on the controller
and fire the appropriate detectors.
2013-02-05 18:59:20 -05:00
2967635ce2
float.h -> cfloat
2013-01-28 23:25:00 -08:00
c7e2b7a90f
Correct plAvatar fixes.
2013-01-28 23:14:23 -08:00
2af0a7f56e
Get rid of clang warnings in plAvatar.
2013-01-28 21:58:47 -08:00
8f67596686
Merge pull request #275 from zrax/file-utils
...
Unify filesystem utilities
2013-01-22 16:27:26 -08:00
6e564476b7
Deprecate plFileUtils and parts of pnUtPath
2013-01-21 14:48:28 -08:00
f86b549293
Re-define nil as nullptr, cleaning up some potential issues along the way
2013-01-20 21:12:13 -08:00
5fa72a086f
Clean up some miscellaneous non-optimal string uses
2013-01-13 15:53:53 -08:00
ca916fee49
Add proper member access control to NetVaultNode
2013-01-05 19:00:58 -08:00
bc0d04da48
Deprecate and remove NEWZERO macro
2013-01-05 18:33:47 -08:00
74e06e3984
Deprecate and remove hsStlSortUtils
2013-01-01 21:35:11 -08:00
8158a43dfe
Fully remove hsStlUtils, as it is now completely unused
2013-01-01 21:35:11 -08:00
f510b529f8
Remove unused headers from hsStlUtils.h (and push them downstream where needed)
...
Also fix a couple of plString and header issues identified by Paradox on GCC/Clang
2013-01-01 21:35:10 -08:00
3f79d69463
Merge pull request #238 from Hoikas/hdr-work
...
More Header Cleanups
2013-01-01 15:38:25 -08:00
155e329fec
Include a comment that explains the humanness check
...
Following a suggestion from @branan, I've added a comment that points out
that the controller makes a different sized kinematic actor if the
armature is human (male or female)
2012-12-23 23:09:10 -05:00
7785c9c85e
Remove global Windows.h include
...
This is the beginning of efforts to reduce the scope of Windows.h. I have
shuttled it into hsWindows.h (again) and fixed the compilation of the
major apps. There is still some scope work that needs to be done, and the
Max plugin has not yet been addressed.
2012-12-22 17:15:14 -05:00
d06ba6362c
Only apply height correction to human avatars.
2012-12-21 23:08:13 -05:00
a1814c9dca
Clear achieved linear velocity on disabled avatars.
2012-12-21 23:08:13 -05:00
e29e908333
Clear impact velocity on WalkingStrategy Reset.
...
Fixes landing behaviours incorrectly firing after a brain transition.
2012-12-21 23:08:12 -05:00
ae594dcc81
Clear linear velocity after each update.
2012-12-21 23:08:11 -05:00
01d47450e6
Disabled avatar updates
...
Only update disabled avatars between steps if in a subworld and then don't
interpolate their position.
2012-12-21 23:08:10 -05:00
2f25e04909
Fix controlled flight bug
...
fControlledFlight state should be handled outside of the physics step.
2012-12-21 23:08:10 -05:00