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

85 Commits

Author SHA1 Message Date
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
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
5522a10a0c Fix horizontal mouse-look while standing still. 2012-12-21 23:08:07 -05:00
769cd60617 Refactor avatar movement code
plMovementStrategy classes have been reworked and completely replace all plAvatarControllers.
While based on the old implementation, plPhysicalControllerCore has essentially been rewritten.
Remnants of long gone physical "actions" have been removed.

4 files removed -
plAVCallbackAction.h & plAVCallbackAction.cpp
plAntiGravAction.h & plAntiGravAction.cpp

This revision will not compile, requires new plPXPhysicalControllerCore implementation.
2012-12-21 23:08:05 -05:00
49dfb4e546 Convert SDL (mostly) to plStrings 2012-12-13 02:06:41 -08:00
3e92022db2 Fix additional issues from review 2012-11-18 01:14:06 -08:00
c68724765b Some minor cleanup for readability 2012-11-13 20:05:04 -08:00
b219c3c3cc Alright, this _TEMP_CONVERT_ stuff was a stupid idea 2012-11-13 18:40:13 -08:00
a709e17069 Obliterate hsBool 2012-07-14 18:46:27 -04:00
2813aaa467 Fix stupid in plAvBrainCritter::GoToGoal
Changing the next behavior to running on every goal update causes the quabs
to skitter about one inch every five seconds. Obviously, we do not need to
start running if we are already running, so let's check that.
2012-05-12 20:49:28 -04:00
5cf540b424 Updates to the Python API
Throw away some stupid stuff and make things slightly easier to use...
2012-05-12 20:49:26 -04:00
3b69a4aee3 Track NPC clones
Manual state management in python was kind of fiddly, so let's track all
avatar clones in the NetApp and unload them as needed. This also seems to
fix a potential bug in plNPCSpawnMod (is that even used?).
2012-05-12 20:49:18 -04:00
3d0f01ff03 Convert the impact velocity to avatar-local coordinates, because that's what {Running|Ground}Impact::PreCondition() expects.
Fixes landing animations depending on what direction relative to the age you jump rather than whether you land forward or straight down.
2012-04-18 20:51:14 +02:00
4977eaedbe Allow clickables to function while sitting or AFK.
Less special casing FTW!
2012-03-09 23:30:31 -05:00