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

1888 Commits

Author SHA1 Message Date
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
c84c9b5b5f Merge pull request #246 from dpogue/plfile
Move file stuff back to plFile for gcc/clang.
2013-01-01 21:34:38 -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
8d3737c6d5 Merge pull request #242 from cwalther/window-size
Window shouldn't have a resizing border
2012-12-27 17:37:44 -08: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
c17ca9f9db Merge pull request #240 from Hoikas/fix-typo
Fix Cloth Links
2012-12-26 19:31:21 -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
5ea652f906 Fix MaxPlasmaMtls 2012-12-22 17:16:13 -05:00
fa950cd846 Fix MaxPlasmaLights
The usual--make it compile and add a precompiled header. Also, removed
a few (unused) files of questionable licensing. Check some of the removed
commented out code--it has comments from 1996!
2012-12-22 17:16:12 -05:00
6e75026c46 Attempt to de-messify MaxMain
... Similarly to MaxComponent, I'm not sure how much this helps. But, it
(should) compile. I hate 3dsm.
2012-12-22 17:16:11 -05:00
ad8e87370d Untangle MaxExport 2012-12-22 17:16:09 -05:00
586aa94e38 Untangle MaxConvert
Fix compilation as a result of hsWindows. Also, add precompiled header
support (this shaves off 9 seconds on my machine) and fix some warnings.
As we saw in the PCH-ization of pfPython, includes were untangled (to some
extent) and forward declarations were introduced where appropriate.
2012-12-22 17:16:08 -05:00
2dce76cb36 Smack MaxComponent
This is a huge, complicated project. Therefore, this untangling is not as
comprehensive as the others. It should compile faster and be a little bit
neater, but that's it. Don't expect the headers to look much better!
2012-12-22 17:16:07 -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
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
5de87cdaca Fix UnifiedTime collision
Win32's GetCurrentTime and plUnifiedTime::GetCurrentTime collided. Rather
than hacking around the solution by undefining GetCurrentTime, we rename
plUnifiedTime::GetCurrentTime to plUnifiedTime::GetCurrent. This fix is
less fiddly than an undef hack.
2012-12-21 21:04:14 -05:00
a76cb3f18d Merge pull request #233 from Hoikas/py_system_error
Fix Scary SystemErrors
2012-12-20 20:23:41 -08:00
c8419b0107 Remove hsFileStream
It's unused windows-specific garbage.
2012-12-20 18:22:49 -05:00