2
3
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-14 14:37:41 +00:00
Commit Graph

484 Commits

Author SHA1 Message Date
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
8e43df15b1 More 'const', so that Rotate(vector) can be called on a const hsQuat&. 2012-04-18 20:45:52 +02:00
9db1361535 Merged in Skoader/cwe-ou (pull request #5) (Crucible CWE-7) 2012-04-10 08:12:22 -06:00
e583bf6d74 Also handle Python long integers in addVarNumber. 2012-04-09 09:50:40 +02:00
350295425a Allow int in plNotify
---
 .../Plasma/FeatureLib/pfPython/plPythonFileMod.cpp |   11 ++-
 Sources/Plasma/FeatureLib/pfPython/pyNotify.cpp    |   10 ++
 Sources/Plasma/FeatureLib/pfPython/pyNotify.h      |    2 +
 .../Plasma/FeatureLib/pfPython/pyNotifyGlue.cpp    |   68 +++++++++++++++-
 .../Plasma/NucleusLib/pnMessage/plNotifyMsg.cpp    |   87 +++++++++++++++++--
 Sources/Plasma/NucleusLib/pnMessage/plNotifyMsg.h  |   14 +++-
 6 files changed, 175 insertions(+), 17 deletions(-)
2012-04-09 01:29:47 +02:00
aaabc9c333 Add plFileEncrypt, plFileSecure, plPythonPack to AllClient.sln. 2012-04-06 21:02:24 +02:00
ccefcfdb13 Fix an aspect ratio assumption 2012-04-03 12:55:02 -04:00
66dc3dde92 Fix landing behaviors 2012-04-03 12:42:37 -04:00
a9cb4723d0 Fix KI daylight saving time calculation.
The previous implementation had the following bugs:
- DST was truncated to end of October
- DST start was off by one week in years where March 1st is a Monday
- DST start was off by one second (1:59:59 -> 2:00:00 -> 3:00:01 instead of the correct 1:59:59 -> 3:00:00 -> 3:00:01)

Tested against tzdata 2009g.
2012-03-31 20:13:58 +02: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
423e0c2142 Use George Bush style (2007) DST begin/end dates 2012-03-28 16:36:37 -04: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
a99ed37f23 Missing null checks and small style fixes 2012-03-04 18:55:44 +01:00
568b05fe70 Add & integrate project file for plClipboard. 2012-03-04 15:17:11 +01:00
9bd019fbf3 plClipboard 2012-03-04 11:57:45 +01:00
348858aef1 Merged in cwalther/cwe/hgignore (pull request #4) 2012-02-12 10:52:39 -07:00
1cac4f85da Fix a potential crash in pyVaultImageNode.
Fixes a crash which can occur when attempting to fetch
an unsupported image type.
2012-02-09 23:47:22 -08:00
cbea546c61 Christian's fix inability to go to a higher page in a book than the next after what has already been displayed.
Fixes books on the Relto bookshelf not remembering their last open page beyond the second.
2012-02-07 17:14:08 -08:00
102f63502a Also ignore .aps files, generated by Visual Studio when viewing resources. 2012-01-28 13:38:48 +01:00
7c058fa898 Merged in cwalther/cwe (pull request #3) 2012-01-27 20:02:49 -07: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
b343e389ab Implement shadowed text rendering.
Intended to make KI text (player list and chat) better readable on light and patterned backgrounds. In this WIP, all text on GUI controls is rendered shadowed.
2012-01-25 22:16:19 +01: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
1c8c0f4e0e Christian Walther's Python SDL fixes - for real this time. 2012-01-19 09:20:38 -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
5032529fa1 Ignore generated files. 2012-01-15 17:30:00 +01:00
dd55856ea2 Fix inability to go to a higher page in a book than the next after what has already been displayed.
Fixes books on the Relto bookshelf not remembering their last open page beyond the second.
2012-01-15 15:54:16 +01:00
a7271982d5 Show notification when missing required resource data file. 2012-01-04 23:20:49 -08: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
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
e02141055a Use premultiplied alpha for plDynamicTextMaps on GUI controls.
This fixes the irregular dark fringes around light text when not exactly pixel-aligned that are caused by independent interpolation of color and alpha. It also makes calculations simpler for things to come.
2011-12-30 15:10:47 +01:00
1f0277e3e0 Pixel-accurately clip characters to the available space instead of omitting whole characters that stick out.
In addition to being a prerequisite for shadowed text, this also fixes an issue sometimes seen at the bottom of the mini KI player list where characters with a descender were missing.
2014-04-03 22:17:45 +02:00
db5e451622 Fix #303 2013-07-04 18:14:58 -04:00
d5f6827419 Merged in cwalther/cwe (pull request #2) 2011-12-02 21:08:55 -07:00
970b8e3af4 Fix a potential crash when resizing SDL tuples.
_PyTuple_Resize may destroy the original tuple and return a new one through the pointer argument. When it does that and we don?t put the new one back into the map, we end up with a stale pointer to a destroyed object in the map, which is likely to blow up one way or another next time it?s accessed.

Untested because, as far as I can see, this code isn?t actually used currently. All uses of this method deal with fixed-size SDL variables. Resizable variables are not used at all in age SDL, only in non-age SDL (animation, avatar, clothing etc.), and I?m not even sure if those are even accessible using this Python API.
2011-11-27 10:58:25 +01:00
38747f3f1b Don?t modify tuples that others may already have references to.
Fixes egg room private chat channels and entering Teledahn buckets with Python 2.7. These and other uses of ptSDL.setIndex() only worked by chance with Python 2.3 because the tuples happened to have reference counts of 1.
2011-11-27 10:56:49 +01:00
e798bc4694 Merge "Open source re-licensing" into OpenUru base 2011-10-20 20:06:21 -06:00
6cdae2bfe7 COPYING.txt was missing 2011-10-20 16:04:57 -07: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
9553ecd05b Ignore empty resource items in plClientResMgr list on destruction. 2011-07-21 11:53:18 -07: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
603bc51cfd Cope with unknown resource name extensions.
(E.g. a mistakenly included Thumbs.db)
2011-06-29 22:23:55 +02:00
ae5f410eee Changed font for UPDATING text image to match original. 2011-07-02 11:37:40 -07:00