Skoader
01d47450e6
Disabled avatar updates
...
Only update disabled avatars between steps if in a subworld and then don't
interpolate their position.
12 years ago
Skoader
2f25e04909
Fix controlled flight bug
...
fControlledFlight state should be handled outside of the physics step.
12 years ago
Skoader
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.
12 years ago
Skoader
b5aaecc48d
Fix subworld transition bug
...
Use the actual global location, not the interpolated location when moving between subworlds. Rebuild the controller cache.
12 years ago
Skoader
462d4d6906
Improve simulation timing at low frame rates.
...
Increased kDefaultMaxDelta to 0.15.
Added a small bias to combat a truncation issue.
12 years ago
Christian Walther
5522a10a0c
Fix horizontal mouse-look while standing still.
12 years ago
Skoader
d4e9be28ec
Remove some PhysX workarounds that are no longer required.
12 years ago
Skoader
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
12 years ago
Skoader
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.
12 years ago
Adam Johnson
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.
12 years ago
Branan Purvine-Riley
a76cb3f18d
Merge pull request #233 from Hoikas/py_system_error
...
Fix Scary SystemErrors
12 years ago
Adam Johnson
c8419b0107
Remove hsFileStream
...
It's unused windows-specific garbage.
12 years ago
Adam Johnson
75793e5182
Manual merge of Pull Request #232 from zrax/plString
...
Conflicts:
Sources/Plasma/CoreLib/HeadSpin.h
12 years ago
Adam Johnson
66038d4fc2
Merge pull request #231 from dpogue/fixes
...
Linux fixes
12 years ago
Michael Hansen
e0e141fd01
Move Python string helper to the correct location
12 years ago
Branan Purvine-Riley
43a26190b1
Merge pull request #237 from cwalther/bink-stub
...
stub out plClient Bink support, part 2
12 years ago
Christian Walther
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.
12 years ago
Adam Johnson
6ec219009c
Add isUsed bindings to pySimpleStateVariable
...
This lets python scripts determine if variables in SDL blobs are used (at
the default).
12 years ago
Adam Johnson
5f53ada44d
stub out plClient Bink support
12 years ago
Adam Johnson
c13a12c58e
Fix those scary SystemErrors we see in DS
...
As it turns out, my old OnServerInitComplete fix didn't check to see if
the script had an OnServerInitComplete method. So, when we called that
method-of-doom from C++, we'd see a SystemError. Aside from removing an
error message, this probably has no effect.
12 years ago
Darryl Pogue
64214e1a7b
Corrections as proposed by @branan .
12 years ago
Darryl Pogue
a92fbea356
Get rid of const char* warning in plPythonPack.
12 years ago
Darryl Pogue
4221b57baa
Fix a whole bunch of clang warnings.
12 years ago
Darryl Pogue
ca87b47ca8
Fix plResManager stricmp.
12 years ago
Darryl Pogue
d1dd98c17b
CoreLib fixes for Linux.
12 years ago
Michael Hansen
9f276e2c57
Add support for Visual Leak Detector, since valgrind doesn't support MSVC
12 years ago
Michael Hansen
49dfb4e546
Convert SDL (mostly) to plStrings
12 years ago
Michael Hansen
188171235e
Add string split and tokenize functions
12 years ago
Michael Hansen
1b57055fd3
Take advantage of plString more in hsStream's String I/O functions
12 years ago
Darryl Pogue
b3976524ee
Merge pull request #229 from Hoikas/locdata-strings
...
LocalizationData String Stuff
12 years ago
Adam Johnson
165e79fa64
Throw out more error string concating
12 years ago
Adam Johnson
1bada0dfa2
Fixup tree dumping
...
Remove unnesecary conversions and string concats in the tree->log dumping
code.
12 years ago
Adam Johnson
d2b4a64409
Remove some std::wstring concating
...
Replace a weird error string stack with direct calls to the
LocalizationMgr log and its associated formatting helper. In cases where
indirection was needed, plString was introduced. This makes the code
cleaner and faster.
12 years ago
Adam Johnson
16c3190f14
That looks dangerous...
12 years ago
Branan Purvine-Riley
4ee424df34
Merge pull request #226 from Hoikas/no-encryption
...
Deprecate WDYS Encryption
12 years ago
Branan Purvine-Riley
caa12510de
Merge pull request #224 from Hoikas/kill-transgaming
...
Kill transgaming
12 years ago
Adam Johnson
8aa9e25ec0
Merge pull request #221 from Hoikas/window-fixes
...
Window fixes
12 years ago
Adam Johnson
a69784bf4c
Kill off Windows 9x AsyncCore
...
Hey, guess what? TransGaming was what needed that old, obsolete crap.
12 years ago
Adam Johnson
8a9c3ec177
Kill high level TransGaming support
12 years ago
Adam Johnson
2232f12378
Merge pull request #222 from Lyrositor/scroll-position
...
Add functions to fix KI Chat scrolling issue.
12 years ago
Adam Johnson
0ce539963a
Merge pull request #228 from zrax/plString
...
plStrings part two
--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
12 years ago
Michael Hansen
3e92022db2
Fix additional issues from review
12 years ago
Michael Hansen
c68724765b
Some minor cleanup for readability
12 years ago
Michael Hansen
b219c3c3cc
Alright, this _TEMP_CONVERT_ stuff was a stupid idea
12 years ago
Michael Hansen
075c535e2c
Some cleanup and a vararg plString usage fix
12 years ago
Michael Hansen
9cc3f404af
Add Short-String Optimization to plString
12 years ago
Michael Hansen
92c5070736
Remove dependency on <functional>
12 years ago
Michael Hansen
041b1985e4
Fix paths and move GetSecureEncryptionKey so things compile again
12 years ago
Michael Hansen
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
12 years ago
Michael Hansen
03a1283c27
The licensing stuff was copied from an older code base...
12 years ago