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

52 Commits

Author SHA1 Message Date
b233409580 Patches contributed by Adam to resolve movie playback:
- vcxproj file issues (local paths, Debug configurations)
- defer movie playback until mouse plate properly sized
- correct conditional and type for plMoviePlayer::Start() reference fVideoTrack
- fix typing to call plPlanarImage::Yuv420ToRgba() causing color artifacting
2020-08-11 10:17:46 -06:00
401fedd610 Updates to C++ typing, integrate movie playing into plClient.
This version compiles, but does not render movies.  WIP.
(Has some rearranged message registration in StartInit() for testing)
2020-08-10 11:09:26 -06:00
4b3f16a912 First effort to port HUru MKV/WEBM Movie Player to Minkata
Type restructuring for C++98 and build configuration updates.
This version compiles successfully, but without webm libraries yet linked in.
2020-08-07 10:04:58 -06:00
4e5b51b405 _set_invalid_parameter_handler() apparently not available in VS2003
Conditionally include for VS2010+
2020-07-12 06:47:34 -06:00
0568563776 Remove trap for avoiding debugger on client.
Add exception handlers for pure function call traps
  (Cherry picked from 3fe3a1d H-uru/Plasma "Catch moar crashes")
2020-07-11 19:50:03 -06:00
91f9948e2f [c.f. Hoikas Discord>>OpenUru>>Dev]
Restore exception handler after PhysX initialization seizes it.
2020-02-16 10:13:14 -07:00
7aec3d5b13 Update STATUS_PATH per current Cyan server organization:
support.cyanworlds.com -> account.mystonline.com
2020-01-13 15:50:48 -07:00
c888e43c73 Cleaned up password hashing to try SH1 then SH0. More comments and easier to modify. 2017-05-12 11:28:11 -07:00
947a64c05f Changed password hashing to try SHA-1 first and if that doesn't work then try SHA-0. This should allow shard owners to chose either SHA-1 or SHA-0 for their password hash without interfering with other shards. And allow them to change their password hash without requiring everyone to reset their passwords.
This also allows for future expansion of new hash techniques to be added, of course the more hash techniques added the more delay at login for the lowest on the totem pole.
I have tested this against the MOULa shard that uses SHA-0 and it works, there is a slight flash of the "Connecting dialog" as it re-tries sending the login but if the user saves the password, there is no flash and no delay.
2017-04-13 13:42:50 +00:00
627825dab2 Merged in mac_fife's nonemail_password_has (pull request #40) 2017-03-22 14:56:19 -06:00
207bf3d62e Make all account types use the same password hash. Precursor to restoring MOULa account creation. 2017-03-18 19:09:16 +00:00
2abd744ba6 Merged in ian_mcintosh/cwe-ou/lostlogins (pull request #33)
Fix for forgotten logins when removable media attached.

Incorporated suggestions from PR #32 which this replaces. Moved CloseHandle as suggested.

Addresses JIRA CWE-37 Corrects incorrect assignment of drive letter to the drive actually being interrogated and ignores removable drive types such as CD/DVD and USB Flash and HDs.

Alternative solution that moves login credentials to the registry is being prepared by Deledrius - H-uru/Plasma PR#448 may be a better long term fix - I'm simply offering what I have.
2015-04-03 23:08:09 +02:00
2e73c3667a Merged in cwalther/cwe/statusmessagecrash (pull request #31)
Don't crash when the HTTP request for getting the server status message fails

This fixes the crash that keeps Windows 7 users out of the game when support.cyanworlds.com is down, reported with some regularity e.g. at http://mystonline.com/forums/viewtopic.php?f=40&t=27352 .

Apparently on Windows 7, unlike on Windows XP and contrary to its documentation, WinHttpReadData() does not zero its lpdwNumberOfBytesRead argument when called with an invalid request, so the lack of error checking here bites.
2015-04-03 23:07:05 +02:00
343c6ffbda Reintroduce plBinkPlayer stub
and reenable as much USE_BINK_SDK stuff as empirically needed to get the Yeesha intro movie cave to disappear on its own, as before merging Cyan's Build 918.

Not the cleanest way, but I'm trying to minimize effort spent on this until we can get the proper solution, VP9 video support, from https://github.com/H-uru/Plasma/pull/458 .
2015-02-13 22:42:13 +01:00
c68640f76c winmain.cpp edited online with Bitbucket 2014-12-25 22:52:25 +00:00
c71e8fbee0 Fix for forgotten logins when removable media attached. Incorporated suggestion from previous PR #32 on OpenUru_org/CWE-ou 2014-10-14 18:45:30 +01:00
8b62863419 Don't crash when the HTTP request for getting the server status message fails. 2014-08-15 20:19:38 +02:00
46a0cf6206 Build 918 2013-07-05 15:28:19 -07:00
f44eea59b9 Merged in cwalther/cwe/window-cursor (pull request #25)
Free the cursor, update

Updates to pull request #21 by Hoikas that fix the issue that quick mouse moves while walking/looking by mouse could get the cursor out of the window and break the continuous turning.

From H-uru PR #221 "Window fixes".
2013-04-12 20:41:04 +02:00
d638355955 Track mouse ups/downs for releasing purposes 2012-11-03 01:22:56 -04:00
a617803fd0 Capture the mouse on clicks
This hack prevents the cursor from leaving the window when panning the
camera or changing directions quickly. This is important for those with
high mouse sensitivities.
2012-10-23 23:21:50 -04:00
431bb5ff90 Merged in Skoader/cwe-ou/window-size (pull request #18)
Fix improperly calculated window size in initial Windowed mode.

User visible effect: This changeset removes an (in)visible grid of seams or blurriness in the client window. They are most noticeable when moving the cursor over them.

Window shouldn't have a resizing border.
2012-10-13 00:47:35 +02: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
76ee9975b7 Window shouldn't have a resizing border.
This removes the WS_THICKFRAME & WS_MAXIMIZEBOX window styles in windowed mode.
2012-10-02 12:11:30 +10:00
7f3d416290 Fix no cursor when not the top level window.
WM_MOUSEMOVE messages were only processed when the window was active.
2012-09-27 22:40:37 +10:00
ec29c270e4 Fix clicking on the title bar does not activate the window. 2012-09-27 22:32:41 +10: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
eba0968808 Avoid truncated window size after going from fullscreen to a window of the same size.
Must set the window size after the display resolution, otherwise Windows may clamp it to a smaller size than specified.
2012-06-17 00:38:07 +02:00
68ba122afe Build 912 2012-06-14 17:09:15 -07:00
5cdd8f90fd Merge default into msvc10 2012-05-28 13:11:16 +10:00
8ba666ee6c Merged in cwalther/cwe/cypythonide (pull request #8)
Wrap uses of the missing CyPythonIDE with #ifdef HAVE_CYPYTHONIDE

This fix is needed to build an internal client (without /DPLASMA_EXTERNAL_RELEASE).

It is designed to match the corresponding fix in H-uru/Plasma (b76fd10 etc.).
2012-05-18 21:07:16 +02: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
487f63f60b Fix mouse recentering.
Existing fix didn't apply until after SecurePreloader completed.
This disables the mouse recentering earlier.
2012-01-20 05:18:04 -08:00
a35a942ab2 Added Donate button to the login screen
Added fixes from Christian Walther for the Python SDL tuples
Added plLocalizationEditor source and project
2012-01-18 13:46:47 -08:00
196657fa60 Added Donate button to the login screen
Added fixes from Christian Walther for the Python SDL tuples
Added plLocalizationEditor source and project
2012-01-18 13:46:47 -08:00
a7271982d5 Show notification when missing required resource data file. 2012-01-04 23:20:49 -08:00
0b57fd1339 Include a pre-built resource.dat
since the prerequisites for building it can be a bit of a hassle to install, and it should rarely change.
2012-04-09 23:10:40 +02:00
16a6b8a28e Open source re-licensing 2011-10-20 15:20:01 -07:00
f4b3a43026 Fix improperly calculated window size in initial Windowed mode. 2011-07-20 23:07:46 -07:00
1530af77f7 Improve detail rendition (in particular of thin lines) on the cursors
by rendering them at higher resolution and then running them through a
gamma-aware down-scaling algorithm.
2011-07-20 16:15:24 +02:00
487d7b4923 Higher-quality cursors with a shadow to make them visible on light backgrounds.
Same look as in 760606d except for the linking book, which got a slight
curvature on the pages (inspired by Deledrius' one, 99bda8c).

The SVG is hand-tweaked to work around some differences in rendering between
rsvg and Inkscape. I hope editing it in Inkscape again won't break the tweaks,
check the diff closely if you do!

Effects (blurred shadows) appear to be clipped to the SVG viewport by rsvg,
which is why drawing the whole SVG shifted for the book cursors no longer
works and we shift individual layers inside the SVG instead.
2011-07-20 13:48:08 +02:00
3c552912fa Removed ClipCursor which prevented cursor from leaving client window.
Disabled cursor being re-centered during progress screen.
2011-07-10 19:10:51 -07:00
ae5f410eee Changed font for UPDATING text image to match original. 2011-07-02 11:37:40 -07:00
f892871a33 Fix rotation to match original clockwise direction.
Cyan's resources were loaded into the array in reverse order,
requiring the images to appear count-clockwise.  This is no
longer the case, as the array is now built in frame order.
2011-06-29 15:17:28 -07:00
ff9aa4ac84 Add automatic creation of external plClient resources. 2011-06-24 18:04:47 -07:00
5da91faed0 Add support for external resource Linking and Update text. 2011-06-16 23:04:16 -07:00
043adb2d7c Remove unnecessary resources. 2011-06-16 22:23:34 -07:00
508e431a99 Refactor plPlates CreateResource function names.
Add support for external resource Cursors.
Add support for external resource Progress Linking Book.
Add support for external resource Voice Chat indicators.
2011-06-16 22:16:50 -07:00