2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 10:37:41 -04:00
Commit Graph

799 Commits

Author SHA1 Message Date
bc0d04da48 Deprecate and remove NEWZERO macro 2013-01-05 18:33:47 -08:00
a8126757f8 Fixes pointed out by @zrax and @hoikas. 2013-01-05 14:08:08 -08:00
6681b1d596 Fix a cast error and check UUID size. 2013-01-04 22:30:46 -08:00
f455ee25ec Fixes for UUID compilation on Windows. 2013-01-04 21:54:22 -08:00
bcf6e97d23 Replace Uuid with plUUID EVERYWHERE. 2013-01-04 21:06:14 -08:00
a0641ba66b Clean up for Python interface stuff. 2013-01-04 21:01:16 -08:00
274812c057 Remove all uses of GuidToString. 2013-01-04 21:01:15 -08:00
517d4f6788 Added boolean operators to plUUID. 2013-01-04 21:01:15 -08:00
fd8541e18d Get rid of GuidGenerate calls. 2013-01-04 21:01:14 -08:00
7ba8fdf86e Fix issues from review, and pre-emptively fix a couple of potential plString::Format issues 2013-01-02 18:15:41 -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
60021923a2 Deprecate and remove xtl::format in favor of plString::Format 2013-01-01 21:35:10 -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
3b1568a4e2 Add identification for some more modern Windows versions 2013-01-01 21:35:09 -08:00
23286bc8f0 Remove xtl::copy_if because:
- It is included in C++11
- Nobody was using it anyway >_<
2013-01-01 21:35:09 -08:00
4c7ce8665c Replace xtl::delete_ptr functor with lambdas 2013-01-01 21:35:08 -08:00
a7d4d42b85 Remove an unnecessary extra heap allocation in plString::Format 2013-01-01 21:35:08 -08:00
c10ca98fc1 Remove xtl::istring and xtl::iwstring 2013-01-01 21:35:07 -08:00
12536a918e Use plString in plConfigInfo and friends 2013-01-01 21:35:07 -08:00
02eebfa9a1 Clean up some useless junk from plString 2013-01-01 21:35:06 -08:00
66fe6ed73e Add UnicodeBuffer as first class data type and allow plStrings to be constructed with it 2013-01-01 21:35:06 -08:00
d40e7a5ca5 Move file stuff back to plFile for gcc. 2013-01-01 21:05:32 -08:00
3f79d69463 Merge pull request #238 from Hoikas/hdr-work
More Header Cleanups
2013-01-01 15:38:25 -08:00
712d59281f Fix issues from review
- Use lowercase win32 header names for cross-compiling with MinGW
- Correct a unix GUID forward declaration
2012-12-31 22:52:04 -05:00
5cf8dba613 Window shouldn't have a resizing border.
This removes the WS_THICKFRAME & WS_MAXIMIZEBOX window styles in windowed mode.
2012-12-27 20:05:37 +01:00
675493cf36 Merge pull request #241 from Hoikas/camstack
PtGetCameraNumber() fixes
2012-12-26 19:35:46 -08:00
8091fffa1d Use plString in PtGetCameraNumber() 2012-12-26 18:46:47 -05:00
e86d3a7658 Fix crash in PtGetCameraNumber() 2012-12-26 18:44:24 -05:00
8117aa8bcc Fix Cloth Links
A typo introduced in 49dfb4e5 caused camera stacks in AgeLink nodes to
overwrite spawn point names. This broke shell and journey cloth links in
the Relto bookshelf.
2012-12-26 16:56:04 -05:00
3d15f529aa Merge pull request #230 from Hoikas/physx
PhysX Cleanup (forward port from OU)
2012-12-25 19:46:12 -08:00
cac3968d13 Merge pull request #234 from Hoikas/sdl-isused
pySimpleStateVariable IsUsed Binding
2012-12-25 19:45:36 -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
3ea82ca589 Be smarter about Pch.[h|cpp] files
As pointed out in #225, Pch.cpp looks suspiciously like a garbage file
when precompiled headers are disabled in cmake. To solve that, I have
changed the precompiled header function to add the Pch source files only
when pch is enabled. This should prevent future accidents.
2012-12-22 17:16:05 -05:00
bb4d36e69d Remove windoze include from hsThread.h 2012-12-22 17:16:01 -05:00
72000fd0c1 Fixes some oversights.
Okay, what moron left out the include guards on hsSTLStream.h? Come on,
man.
2012-12-22 17:15:21 -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
d3ea8fe333 Rework PhysX collision flutter bug workaround
To better handle erroneous trigger events under the new timing method, use the number of times the simulation has actually advanced instead of the number of evals received.

Cleaned up a bit.
2012-12-21 23:08: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
47efb94aa8 Fix warping an avatar triggers all detectors along the path
When explicitly moving an avatar over the given threshold, teleport the underlying actor most of the way before moving the controller.
2012-12-21 23:08:09 -05:00
b5aaecc48d Fix subworld transition bug
Use the actual global location, not the interpolated location when moving between subworlds. Rebuild the controller cache.
2012-12-21 23:08:08 -05:00
462d4d6906 Improve simulation timing at low frame rates.
Increased kDefaultMaxDelta to 0.15.
Added a small bias to combat a truncation issue.
2012-12-21 23:08:07 -05:00
5522a10a0c Fix horizontal mouse-look while standing still. 2012-12-21 23:08:07 -05:00
d4e9be28ec Remove some PhysX workarounds that are no longer required. 2012-12-21 23:08:06 -05:00
70e766ae5b Updated plPXPhysicalControllerCore
While based heavily on the old implementation, this is essentially a rewrite.

Notable changes -
Controllers are now updated at the same fixed frequency as the simulation.
Resulting output is interpolated between steps to precisely match the frame delta.
Physics work is only done when enough time has passed to perform a step.

The kinematic actor that followed around the controller has been removed.
The underlying kinematic actor created by the NxController is now used for triggering.
A new sim group was added for a kinematically controlled avatar.

2 unused files removed -
plPXPhysicalController.h & plPXPhysicalController.cpp
2012-12-21 23:08:05 -05:00