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

448 Commits

Author SHA1 Message Date
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
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
40611119c0 Normalize cursor resource names. 2011-06-16 23:51:24 -07:00
d0e842aec2 Cleanup of additional unnecessary resources and dependencies. 2011-06-16 23:31:20 -07:00
d751f371b5 Remove embedded-resource code. 2011-06-16 23:13:57 -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
197e24a746 Add functions to load a specified resource from the plClientResMgr onto a plate. 2011-06-16 22:05:49 -07:00
f3344fc544 Add new plClientResMgr for graphic resources external to client executable. 2011-06-01 12:54:30 -07:00
6538d78d9f Fix for plPNG::IRead improperly handling 24-bit RGB and non-transparent paletted images. 2011-06-25 20:22:53 -07:00
7998b3bcc4 Fix for plPNG::IRead not reading final end block of image. 2011-05-30 16:44:46 -07:00
86251807fc plPageOptimizer now needs libpng too. 2012-04-07 18:01:09 +02:00
da4003b7fc Add Python function and glue for PNG saving. 2011-05-11 17:02:14 -07:00
7af3a02c66 AStyle formatting fixes. 2011-05-11 00:17:55 -07:00
7523f6fa1f Add PNG write support to plPNG. 2011-05-10 23:47:27 -07:00
c3657d20a4 Fix incorrect JPEG file IO. 2011-05-10 02:56:28 -07:00
8cee080878 Add PNG read support to plPNG. 2011-05-09 22:09:27 -07:00
3e34e30308 Add libPNG support stubs. 2011-05-07 15:37:35 -07:00
503012c700 Replace libpng and zlib by newer versions.
As for other library dependencies, source and binaries are no longer included but must be installed separately.

The file layout has changed in one detail: zlib headers are now under XPlatform/zlib rather than XPlatform/zlib/inc. Rather than working around that by moving the headers after the build, I've updated those projects relying on that that I could find, hope it doesn't upset any that are not here.

Installation instructions:

1. Download zlib126.zip (or a newer version) from http://www.zlib.net/ , extract the zlib-1.2.6 folder it contains and move/rename it to MOULOpenSourceClientPlugin/StaticSDKs/XPlatform/zlib .
2. Download lpng1510.zip (or a newer version) from http://libpng.org/pub/png/libpng.html , extract the lpng1510 folder it contains and move/rename it to MOULOpenSourceClientPlugin/StaticSDKs/XPlatform/png .
3. Open png/projects/visualc71/libpng.sln in Visual Studio 2003.
4. Select "LIB Debug" from the Solution Configurations popup menu in the toolbar, then Build > Build Solution.
5. Select the "LIB Release" configuration and build the solution.
6. Make a new folder png/lib and move png/projects/visualc71/Win32_LIB_Debug/libpngd.lib as well as png/projects/visualc71/Win32_LIB_Release/libpng.lib into it.
7. Make a new folder zlib/lib and move png/projects/visualc71/Win32_LIB_Debug/ZLib/zlibd.lib as well as png/projects/visualc71/Win32_LIB_Release/ZLib/zlib.lib into it.
2012-04-07 15:54:35 +02:00
ced3c03fed Merge cursor alignment fixes into default. 2012-04-05 22:35:44 +02:00
19cd10abd7 Wrap uses of the missing CyPythonIDE with #ifdef HAVE_CYPYTHONIDE
to make things compile, like in H-uru/Plasma.
2011-04-27 20:52:15 +02:00
eecdd8f847 From Mystler: changes to MS project files to get plPythonPack and plFileSecure to compile. 2011-04-21 14:33:35 -07:00
a363a783c5 MOULa build 1.902 - dragossh's "Bevin" into "Hood"
and Chogon added ability to select a specific age instance by a meta name
   and BuildMachine bumped buildID
2011-04-19 14:24:55 -07:00
868ce660d9 MOULa build 1.902 - dragossh's "Bevin" into "Hood"
and Chogon added ability to select a specific age instance by a meta name
   and BuildMachine bumped buildID
2011-04-19 14:24:55 -07:00
ff435650b8 Display cursors pixel-by-pixel rather than scaling them to 34.56x34.56 pixels.
This fixes the blurring caused by scaling up the 32x32 px cursor bitmaps.
2011-04-16 21:05:23 +02:00
259f07462f Properly align plates by compensating for the half-pixel offset of Direct3D 9. 2011-04-16 20:35:16 +02:00
a87b691e33 Fix output height in plJPEG writer 2011-04-10 14:27:10 -07:00
407243f2e0 Remove projects from AllClient.sln that are missing.
Add plClientPatcher and plUruLauncher to AllClient.sln.
Adjust include and library paths in the "Release" build.
Adjust library depedencies to remove EAX, IJL, and Bink, and add IJG jpeg libraries.
Remove some overlooked Havok include files.
Add sample build and clean batch files to build the AllClient solution from a MSVC 2003 command prompt.
2011-03-29 17:08:04 -05:00
656b466ad7 The Intel JPEG Library is no longer free. Since we can't just remove all
JPEG handling, replace IJL with the jpeg library from IJG, unless
IJL_SDK_AVAILABLE is defined.
2011-03-27 16:25:07 -07:00
d22b190895 Remove EAX from the build, unless EAX_SDK_AVAILABLE is defined. Use some
data types which are defined now in EFX, but this change does not actually
change the code to use EFX in place of EAX. It just removes EAX entirely.
2011-03-27 16:24:10 -07:00
6571272813 Import modified jpeg-8c library. The library is modified to provide the
RGBA color space expected by plMipmap.
2011-03-27 16:22:32 -07:00
30bbdbd327 Add empty folders to initial commit using text file 2011-03-12 15:04:56 -05:00
a20a222fc2 Initial Commit of CyanWorlds.com Engine Open Source Client/Plugin 2011-03-12 12:34:52 -05:00