Adam Johnson
aad64cc06f
SittingModifier potential null dereference
...
Observed when linking in on DS: if an avatar sits at a sitting mod, that
SO is not loaded yet. Boom!
10 years ago
Darryl Pogue
4b7ae4d7d2
Move hsGDeviceRef to pnNucleusInc.
10 years ago
Michael Hansen
7a9c1308be
Clean up several more unused local variables
10 years ago
Michael Hansen
8983b7bafc
Clang/libc++ requires <cmath> header for fabs and other math functions
10 years ago
Darryl Pogue
4450d87947
Move AniGraph classes from plAvatar -> plAnimation.
10 years ago
Michael Hansen
094b0fe557
Move <algorithm> header out of HeadSpin.h
11 years ago
Michael Hansen
751d760772
Use standard (f)abs functions
11 years ago
Michael Hansen
72f18e8ebb
Complete the previous commit by also removing the inline min and max
...
functions defined in HeadSpin.h without breaking (3ds)Max compilation
11 years ago
Michael Hansen
e36220cca5
Use std::min and std::max
11 years ago
Michael Hansen
403528a24b
Use hsRef for storage of the remaining vault nodes
11 years ago
Michael Hansen
8fa9171415
Also use hsRef for the vault functions which "return" lists
11 years ago
Michael Hansen
d2a05929f8
Replace most vault *IncRef() API functions with hsRef versions
11 years ago
Michael Hansen
5c6b6bbc7c
Fix the rest of the plString::Format calls
11 years ago
Michael Hansen
1debf8180b
Convert many of the now-deprecated plString::Format calls to plFormat
11 years ago
Michael Hansen
1a0420127c
Provide some plFormat samples with floats/doubles
11 years ago
Michael Hansen
d713a13dbe
Merge pnUtRef with hsRefCnt, and remove the former
11 years ago
Vincent Munsch
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
11 years ago
Adam Johnson
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.
11 years ago
Florian Meißner
cedc2482e3
Fixes for plAvatar
11 years ago
Michael Hansen
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 :)
11 years ago
Michael Hansen
ae1bbdc1d6
Animation SDL variable names => plString
11 years ago
Adam Johnson
f9a72e1a8f
Repeatable emote animations...
...
... It's multistage majick!
11 years ago
Florian Meißner
14392883a7
Add customizable finish message to avatar seeking
11 years ago
Michael Hansen
ff30c77ddd
plArmatureMod => plString
11 years ago
Michael Hansen
a783642515
Python file names and SynchedObj SDL state names => plString
11 years ago
Michael Hansen
abe3d465b3
Some additional sprintf and std::string cleanup
11 years ago
Michael Hansen
7de24157a5
Avatar Clothing data => plString
11 years ago
Michael Hansen
71c9771cfb
plOneShotMod => plString
11 years ago
Michael Hansen
b16274a8cc
plNPCSpawnMod => plString
11 years ago
Michael Hansen
8323758d33
Cleanup: Don't pass a writable scratch buffer off to dozens of virtual
...
functions -- that's just silly!
11 years ago
Michael Hansen
b865e8c9f2
Convert anim name in plAnimStage to a plString
11 years ago
Florian Meißner
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.
11 years ago
Florian Meißner
7ca81ba626
Implement a plLoadClothingMsg as a clone loading trigger
11 years ago
Florian Meißner
7e66aee382
Allow passing a clothing file to LoadAvatar and plStringify whatever we encounter on our way
11 years ago
Joseph Davies
296c4b6a69
Add missing std headers for compilation with VisualStudio 2013.
...
Additional C++11 support in VS12 requires inclusion of the proper headers.
12 years ago
Darryl Pogue
c06cfd1449
Fix some warnings and some errors.
12 years ago
Adam Johnson
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.
12 years ago
Adam Johnson
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.
12 years ago
Darryl Pogue
2967635ce2
float.h -> cfloat
12 years ago
Darryl Pogue
c7e2b7a90f
Correct plAvatar fixes.
12 years ago
Darryl Pogue
2af0a7f56e
Get rid of clang warnings in plAvatar.
12 years ago
Michael Hansen
6e564476b7
Deprecate plFileUtils and parts of pnUtPath
12 years ago
Michael Hansen
f86b549293
Re-define nil as nullptr, cleaning up some potential issues along the way
12 years ago
Michael Hansen
5fa72a086f
Clean up some miscellaneous non-optimal string uses
12 years ago
Michael Hansen
ca916fee49
Add proper member access control to NetVaultNode
12 years ago
Michael Hansen
bc0d04da48
Deprecate and remove NEWZERO macro
12 years ago
Michael Hansen
74e06e3984
Deprecate and remove hsStlSortUtils
12 years ago
Michael Hansen
8158a43dfe
Fully remove hsStlUtils, as it is now completely unused
12 years ago
Michael Hansen
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
12 years ago
Adam Johnson
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)
12 years ago