1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-20 20:29:10 +00:00
Commit Graph

78 Commits

Author SHA1 Message Date
bb044d2932 Merged in Skoader/cwe-ou/avatar-spawn (pull request #22)
Fix intermittent spawn bug

This fixes missing quabs in Ahnonay.
2013-04-12 20:16:30 +02:00
96ae8a88ed Merged in Skoader/cwe-ou/avatar-physics (pull request #20)
Avatar physics update

A significant and much needed cleanup of the avatar physics code. It resolves numerous issue with and greatly simplifies the physx character controller implementation.

While there is still room for improvement, this is a good starting point.

Avatars now jump consistently, regardless of cpu speed. Fixes unexpected camera transitions with entering/exiting some subworlds. (Teledahn elevator) Fixes a jitter in animated subworlds. (Er'cana harvester) Dynamic controllers are correctly positioned on the ground. (Jalak) Much improved interaction with dynamic physicals.

Other physics related issues may or may not be addressed.
2013-04-12 20:15:35 +02:00
f03a837642 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
30d140b8a0 stub out plClient Bink support 2012-12-15 23:58:34 -05:00
7a47e52ac6 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-11-12 03:28:53 +11:00
2c06d3b2d3 Only apply height correction to human avatars. 2012-11-12 01:40:30 +11:00
79377e2b95 Clear achieved linear velocity on disabled avatars. 2012-11-11 23:48:51 +11:00
3d14321f26 Clear impact velocity on WalkingStrategy Reset.
Fixes landing behaviours incorrectly firing after a brain transition.
2012-11-11 22:59:04 +11:00
03ecfe00b4 Increase height correction to match graphical representation
Provides more accurate interaction with detectors when the avatar is moving up or down.
Also decreases the severity of the PhysX trigger hull bug in some detectors.
This change doesn't affect world collisions.
2012-10-26 18:13:22 +11:00
860b071bb2 Clear linear velocity after each update. 2012-10-26 18:03:40 +11:00
d02cde1703 Disabled avatar updates
Only update disabled avatars between steps if in a subworld and then don't interpolate their position.
2012-10-26 17:36:04 +11:00
32ba4e06e2 Fix controlled flight bug
fControlledFlight state should be handled outside of the physics step.
2012-10-26 10:48:30 +11:00
ae8d1d39bb Fix intermittent spawn bug
Flush the transform when avatars are explicitly spawned on load. e.g. Ahnonay quabs.
2012-10-23 14:22:22 +11:00
b5296d614f 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-10-23 13:45:21 +11:00
87b8dfae09 Fix subworld transition bug
Use the actual global location, not the interpolated location when moving
between subworlds. Rebuild the controller cache.
2012-10-22 12:57:16 +11:00
025fb1fb02 Improve simulation timing at low frame rates.
Increased kDefaultMaxDelta to 0.15.
Added a small bias to combat a truncation issue.
2012-10-13 21:21:33 +11:00
1d309e3ce5 Merged in Skoader/cwe-ou/window-cursor (pull request #21, update for #17)
Free the cursor

Allows the cursor to leave the client window and disables mouse recentering at load time.
2012-10-13 00:33:55 +02:00
78bfdad9c4 Merged in cwalther/cwe/cursors2 (pull request #10)
Improved Cursors

This is the second attempt at getting the following improvements to the Uru mouse cursors into CWE-ou:

* fix the blurriness
* add a subtle shadow to fix cursors being invisible on light backgrounds
* cleaner, more regular appearance

A (slightly outdated) picture for comparison is at http://forums.openuru.org/viewtopic.php?t=558&p=4265#p4265 , and anyone who has played on Gehn, TOC, or any other shard using the H'uru client has already seen the new cursors.

In order to do this properly, in a way that will continue to work in a cross-platform future, a lot of work done by Deledrius in the H'uru fork is included: He added PNG support to Plasma and introduced a client resource manager that loads resources such as the cursors, but also voice chat indicators and the loading linking book animation, which were also replaced by higher-quality recreations, fromfile instead of from Windows resources. resource.data

This also opens the way for other applications of PNG, such as saving the local copies of KI pictures in a lossless format instead of the heavily compressed JPEG we currently have.

Note: the new code requires a newer version of libpng than included with the CWE sources. Like other library dependencies, this must be installed separately. Instructions for that are at http://wiki.openuru.org/index.php?title=Build_the_client_with_MSVC_2003#Build_steps .
2012-10-13 00:28:09 +02:00
368d757bf8 Merged in Lyrositor/cwe-ou/jpeg (pull request #15)
Fix various JPEG issues.

These three commits fix various issues with JPEG images in Uru.
2012-10-13 00:14:10 +02:00
ca58d0e701 Merged in Lyrositor/cwe-ou/clickables-afk (pull request #14)
Allow clickables to function while sitting or AFK.

Fix from Hoikas. Original pull request: https://github.com/H-uru/Plasma/pull/176
2012-10-13 00:10:46 +02:00
264bc3355a Fix horizontal mouse-look while standing still. 2012-09-28 22:44:23 +02:00
357d4aa7d1 Fix no cursor on window frame and title bar.
Remove mouse capture and handle visibility via WM_SETCURSOR messages instead of
window activation events.
2012-09-27 22:25:38 +10:00
48ded426a9 Merge msvc10 into cursors2 2012-06-24 16:01:01 +02:00
e92dc59db2 Updated plPXPhysicalControllerCore to match 69377bc74f2e
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-06-16 21:48:32 +10:00
383346c1aa 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-06-16 13:35:59 +10:00
5cdd8f90fd Merge default into msvc10 2012-05-28 13:11:16 +10:00
0aa7c392a9 Revert change to plNetClientGroup.h in 140e56cf20c9
An undesired change in behaviour was introduced.
2012-05-25 17:17:54 +10:00
17284220bc Merged in "Fix Landing Behaviors" (http://foundry.openuru.org/fisheye/cru/CWE-10)
Fix Landing Behaviors

How to Verify: The avatar should now land on the ground from jumps as in PotS. Therefore, standing jumps produce a full landing, downhill jumps produce a blended landing based on how far down the avatar fell, and uphill jumps produce no landing.
2012-05-18 20:51:16 +02:00
b0cbd18f2c Merged in dst (http://foundry.openuru.org/fisheye/cru/CWE-8)
DST Fix

Original implementation by Adam Johnson, with some bug fixes by Christian Walther.

Includes a fix for plUnifiedTime::SetGMTime not working correctly when the given time falls into local DST.
2012-05-18 20:49:59 +02:00
445a837d27 Merged in boq/cwe-ou/plClipboard (pull request #6, https://foundry.openuru.org/fisheye/cru/CWE-9)
Basic clipboard functionality

Adds following commands to single- and multiline edit boxes: Ctrl-C - copy field contents to system clipboard Ctrl-V - paste contents of clipboard at current cursor position
2012-05-18 20:48:39 +02:00
f15bf324a7 STL fixes needed to link from StartUp to Personal with MSVC10
The meat comes from the following H-uru/Plasma commits by Branan and Zrax, but I?m not going to replicate that spaghetti history here:

commit 3522f7069a4183ccd87e80c0e7e46a01f5b14de6
Author: Michael Hansen <zrax0111@gmail.com>
Date:   Mon Apr 11 13:42:22 2011 -0700

    Merge branch 'stlfixups' into numlockfix

commit 094cb11bb328b326695cdc75f1f18ca72d135b49
Author: Michael Hansen <zrax0111@gmail.com>
Date:   Mon Apr 11 11:53:11 2011 -0700

    Don't need to de-iteratorize this one

commit 498dead64dc0b46bf24055980ba997ff2dfa05b4
Author: Michael Hansen <zrax0111@gmail.com>
Date:   Mon Apr 11 01:44:53 2011 -0700

    Don't change the iteration order

commit e004491eab00edc312cef5ba08653745695f277e
Author: Branan Purvine-Riley <branan@gmail.com>
Date:   Sun Apr 10 23:20:08 2011 -0700

    STL fixes needed to link from StartUp to Personal
2012-05-01 17:39:58 +02:00
02dda70b44 Fix assertion failures when loading/writing JPEGs
(e.g. the linking book loading animation). Nobody ever noticed because the debug build was completely broken in MSVC7, and H-uru/Plasma does it completely differently.
2012-05-01 17:27:12 +02:00
b2f8d8c0f0 Minor adjustments to avoid needless trivial differences to H-uru/Plasma. 2012-05-01 11:17:52 +02:00
82857fb0bb Update9 for MSVC10
Fix some includes.
2012-04-22 15:22:03 +10:00
770df9939e Update8 for MSVC10
Make plAGModifier a friend of plAGApplicator.
2012-04-22 15:21:28 +10:00
5a1b5bf055 Update5 for MSVC10
Funtion pointers use address of fully qualified name.
2012-04-22 13:21:52 +10:00
7a501c1b1f Update4 for MSVC10
Fix for loop scope problems.
2012-04-22 13:15:34 +10:00
f8c3f7ac31 Update3 for MSVC10
Fix some const problems.
2012-04-22 13:13:32 +10:00
bc74371c57 Update2 for MSVC10
Add missing type specifiers.
2012-04-22 12:50:08 +10:00
626da5ae70 Update1 for MSVC10
Capitalize the ref macro in hsTypes.h due to a name collision.
2012-04-22 12:22:32 +10:00
fba99c4cb1 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
66dc3dde92 Fix landing behaviors 2012-04-03 12:42:37 -04:00
59b04b546f Fix plUnifiedTime::SetGMTime
The default value of the "dst" argument must be 0, because -1 leads to incorrect results when the given time falls into local DST. However, a "dst" argument makes no sense on a method that deals with GMT anyway, so remove it entirely.
2012-03-31 20:06:55 +02:00
fdc8e28c2f Allow clickables to function while sitting or AFK.
Less special casing FTW!
2012-03-09 23:30:31 -05:00
e4458717c9 Fix possible WinApi misuse 2012-03-05 11:06:05 +01:00
9bd019fbf3 plClipboard 2012-03-04 11:57:45 +01:00
c0b428b342 Fix avatar clothing bounds test.
The bounds type test was performed on stale bounding data from the previous
frame resulting in the avatar being drawn without textures for a frame after
switching from 1st to 3rd person camera.
2012-01-28 13:08:16 +11:00
1d23f50bf6 Merge open source re-licensing into added files
(from git 4f01583)
2012-04-09 23:35:26 +02:00
f67e52eeb2 Change indentation to tabs and line endings to CRLF on the added files, to match the rest of the code. 2012-04-09 23:21:13 +02:00
16a6b8a28e Open source re-licensing 2011-10-20 15:20:01 -07:00