2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-16 18:35:40 +00:00
Commit Graph

470 Commits

Author SHA1 Message Date
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
75793e5182 Manual merge of Pull Request #232 from zrax/plString
Conflicts:
	Sources/Plasma/CoreLib/HeadSpin.h
2012-12-20 17:22:31 -05:00
66038d4fc2 Merge pull request #231 from dpogue/fixes
Linux fixes
2012-12-19 16:38:23 -08:00
e9835eda57 Add more functionality to the bink stubs to make them behave more like the previous implementation did when built without BINK_SDK_AVAILABLE.
In particular, the intro movie now exits immediately again rather than staying indefinitely.

The important difference is to send the completion callback in plBinkPlayer::NextFrame(), i.e. act as if we had reached the end of the movie.

Storing the filename is to keep plClient::IHandleMovieMsg() from deleting and recreating the plBinkPlayer on every message.

The changed return values are just to better match the previous behavior and probably don’t matter.
2012-12-18 15:49:41 +01:00
5f53ada44d stub out plClient Bink support 2012-12-15 23:58:34 -05:00
64214e1a7b Corrections as proposed by @branan. 2012-12-15 18:23:33 -08:00
4221b57baa Fix a whole bunch of clang warnings. 2012-12-15 16:46:20 -08:00
ca87b47ca8 Fix plResManager stricmp. 2012-12-15 16:08:14 -08:00
9f276e2c57 Add support for Visual Leak Detector, since valgrind doesn't support MSVC 2012-12-13 02:07:53 -08:00
49dfb4e546 Convert SDL (mostly) to plStrings 2012-12-13 02:06:41 -08:00
16c3190f14 That looks dangerous... 2012-11-28 19:05:16 -05:00
4ee424df34 Merge pull request #226 from Hoikas/no-encryption
Deprecate WDYS Encryption
2012-11-27 17:28:09 -08:00
8aa9e25ec0 Merge pull request #221 from Hoikas/window-fixes
Window fixes
2012-11-18 14:02:27 -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
075c535e2c Some cleanup and a vararg plString usage fix 2012-11-12 22:58:15 -08:00
9cc3f404af Add Short-String Optimization to plString 2012-11-12 19:06:53 -08:00
041b1985e4 Fix paths and move GetSecureEncryptionKey so things compile again 2012-11-12 18:31:07 -08:00
403d2a896d Move plFileUtils and hsFiles to CoreLib
--HG--
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles.cpp => Sources/Plasma/CoreLib/hsFiles.cpp
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles.h => Sources/Plasma/CoreLib/hsFiles.h
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles_Mac.cpp => Sources/Plasma/CoreLib/hsFiles_Mac.cpp
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles_PS2.cpp => Sources/Plasma/CoreLib/hsFiles_PS2.cpp
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles_Unix.cpp => Sources/Plasma/CoreLib/hsFiles_Unix.cpp
rename : Sources/Plasma/PubUtilLib/plFile/hsFiles_Win.cpp => Sources/Plasma/CoreLib/hsFiles_Win.cpp
rename : Sources/Plasma/PubUtilLib/plFile/plFileUtils.cpp => Sources/Plasma/CoreLib/plFileUtils.cpp
rename : Sources/Plasma/PubUtilLib/plFile/plFileUtils.h => Sources/Plasma/CoreLib/plFileUtils.h
2012-11-12 18:31:06 -08:00
8d8532f045 Fix encryption ASSumption
Now we test the file we're trying to write to. We still support legacy
xTEA BriceIsSmart/whatdoyousee files, but we will always make new files
unencrypted.
2012-11-12 20:51:56 -05:00
b987f9719c Remove log and init file encryption.
This fixes issue #123, and is supposed to get rid of encryption for the status logs and the init files loaded at startup.
2012-11-12 20:48:05 -05:00
3c2a8c66e7 Remove more empty source files 2012-11-11 23:00:24 -08:00
40d5e2e867 Fix some noteworthy warnings (mostly hsBool->bool incompatibility) and missing headers 2012-11-11 22:34:05 -08:00
87b441e890 Fix no cursor on window frame and title bar.
Remove mouse capture and handle visibility via WM_SETCURSOR messages
instead of window activation events. See
aed7e97d0d
for original implementation
2012-10-03 20:19:11 -04:00
b57dc28136 Remove some unused CoreLib stuff
- plRefCnt duplicates hsRefCnt (Wtf?)
- hsNamedPipeStream nasty, unused
- VDB stuff in hsStream left over from Plasma 1 (realMyst/DIRT)
- hsColor32 moved to be less promiscuous
2012-07-14 18:47:45 -04:00
a709e17069 Obliterate hsBool 2012-07-14 18:46:27 -04:00
5f78b33db4 Remove hsRand--we have rand support in the Cstdlib 2012-07-11 09:46:20 -04:00
f0af98b0a7 Toss lots of custom CString code
We already have a C standard library, so let's not reimplement it.
2012-07-11 09:46:20 -04:00
172b3c6cfb Toss old RAM functions
If we really care about system RAM, we should reimplement this in a less
obsolete way--and hopefully update the RAM tiers ;)
2012-07-11 09:46:18 -04:00
3667fb62e2 Replace COMPILER_ASSERT with C++0B static_assert 2012-07-11 09:46:17 -04:00
1ae3979753 Get rid of pnUtSync and CLock. 2012-06-13 23:28:53 -07:00
5a93553651 Merge pull request #208 from Hoikas/deadweight
Remove Junk
2012-06-10 10:06:32 -07:00
1a5606e05c Remove obsolete components 2012-06-10 12:59:28 -04:00
c3eb5300df Merge pull request #206 from Hoikas/quabs
Engine fixes for AhnyQuabs
2012-06-10 09:50:25 -07:00
95e1fe34b8 Remove unused dead weight CSR and SimpleNet code 2012-06-09 18:45:34 -04:00
d382da0fe7 Fix a typo from way back when 2012-05-21 19:04:44 -07: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
d0f64e9209 Fix NCAgeJoiner failure-case crash 2012-04-27 01:37:50 -04:00
756bc65c62 Fix an access violation in failed age patches 2012-04-27 01:33:56 -04:00
072bf3570c Fix support in plDXPipeline for SSE using temporary macros.
Re-enables FPU/SSE3 code using the FunctionDispatcher and some quick
hacky macros to template out the two nearly-identical functions,
awaiting branan's deep-voodoo template-specialization functor-dispatcher
patch.
2012-04-23 22:15:56 -07:00