--- holotz-castle-1.3.9.orig/debian/holotz-castle.menu +++ holotz-castle-1.3.9/debian/holotz-castle.menu @@ -0,0 +1,3 @@ +?package(holotz-castle):needs="x11" section="Games/Arcade" \ + title="Holotz Castle" command="/usr/games/holotz-castle" \ + icon="/usr/share/pixmaps/holotz-castle.xpm" --- holotz-castle-1.3.9.orig/debian/holotz-castle.desktop +++ holotz-castle-1.3.9/debian/holotz-castle.desktop @@ -0,0 +1,12 @@ +[Desktop Entry] +Type=Application +Encoding=UTF-8 +Name=Holotz Castle +GenericName=holotz-castle +Comment=Play an exciting mystery game +Comment[es]=Juega a un excitante juego de misterio +Comment[ro_RO]=Jucați un joc misterios și antrenant +Icon=holotz-castle +Exec=holotz-castle +Terminal=false +Categories=Game;ArcadeGame; --- holotz-castle-1.3.9.orig/debian/control +++ holotz-castle-1.3.9/debian/control @@ -0,0 +1,26 @@ +Source: holotz-castle +Section: games +Priority: optional +Maintainer: Debian Games Team +Uploaders: Miriam Ruiz , Eddy Petrișor +Build-Depends: debhelper (>= 4.0.0), dpkg-dev (>= 1.13.19), quilt, libsdl1.2-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev, libsdl-ttf2.0-dev +Standards-Version: 3.7.2 + +Package: holotz-castle +Architecture: any +Depends: ${shlibs:Depends}, holotz-castle-data (= ${source:Version}) +Description: platform game with high doses of mystery + A great mystery is hidden beyond the walls of Holotz's Castle. Will + you be able to help Ybelle and Ludar to escape alive from the castle? + Test your dexterity with this tremendously exciting platform game! + +Package: holotz-castle-data +Architecture: all +Description: platform game with high doses of mystery - data files + This package contains data files for the Holotz's Castle game. + +Package: holotz-castle-editor +Architecture: any +Depends: ${shlibs:Depends}, holotz-castle-data (= ${source:Version}) +Description: platform game with high doses of mystery - level editor + This package contains the level editor for the Holotz's Castle game. --- holotz-castle-1.3.9.orig/debian/svn-deblayout +++ holotz-castle-1.3.9/debian/svn-deblayout @@ -0,0 +1,5 @@ +buildArea=../build-area +trunkDir=. +trunkUrl=svn://svn.debian.org/svn/pkg-games/packages/trunk/holotz-castle +tagsUrl=svn://svn.debian.org/svn/pkg-games/packages/tags/holotz-castle +origDir=../tarballs --- holotz-castle-1.3.9.orig/debian/compat +++ holotz-castle-1.3.9/debian/compat @@ -0,0 +1 @@ +4 --- holotz-castle-1.3.9.orig/debian/rules +++ holotz-castle-1.3.9/debian/rules @@ -0,0 +1,82 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 + +CFLAGS = -DLINUX -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: build-stamp + +build-stamp: + dh_testdir + $(MAKE) -f /usr/share/quilt/quilt.make patch + $(MAKE) MORE_CFLAGS="$(CFLAGS)" + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f *-stamp + + $(MAKE) clean + $(MAKE) -f /usr/share/quilt/quilt.make unpatch + dh_clean + +install-indep: + dh_installdirs -i usr/share/games/holotz-castle/game + dh_installdirs -i usr/share/games/holotz-castle/editor + cp -r res/* debian/holotz-castle-data/usr/share/games/holotz-castle/game + cp -r HCedHome/res/* debian/holotz-castle-data/usr/share/games/holotz-castle/editor + +install-arch: build + dh_testdir + dh_testroot + dh_installdirs -a usr/games + dh_install -pholotz-castle holotz-castle usr/games/ + dh_installdirs -pholotz-castle usr/share/pixmaps + dh_installdirs -pholotz-castle usr/share/applications + dh_install -pholotz-castle debian/holotz-castle.xpm usr/share/pixmaps + dh_install -pholotz-castle debian/holotz-castle.desktop usr/share/applications + dh_install -pholotz-castle-editor holotz-castle-editor usr/games/ + +install: install-arch install-indep + +binary-indep: install-indep + dh_testdir + dh_testroot + dh_installchangelogs -i + dh_installdocs -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +binary-arch: install-arch + dh_testdir + dh_testroot + dh_installmenu + dh_installman -pholotz-castle doc/holotz-castle.6 + dh_installman -pholotz-castle-editor doc/holotz-castle-editor.6 + dh_link -pholotz-castle usr/share/doc/holotz-castle-data usr/share/doc/holotz-castle + dh_link -pholotz-castle-editor usr/share/doc/holotz-castle-data usr/share/doc/holotz-castle-editor + dh_desktop -pholotz-castle + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch + +.PHONY: build clean install-indep install-arch install binary-indep \ + binary-arch binary --- holotz-castle-1.3.9.orig/debian/holotz-castle.xpm +++ holotz-castle-1.3.9/debian/holotz-castle.xpm @@ -0,0 +1,125 @@ +/* XPM */ +static char *holotz[]={ +"32 32 90 2", +"Qt c None", +".# c #101010", +".n c #211010", +".G c #480909", +".Q c #4b0808", +".z c #510808", +".s c #521010", +".r c #551010", +"#k c #5c0a0a", +".2 c #6b0c0c", +".m c #6c1111", +".b c #6c6c6c", +"#t c #6d0c0c", +".R c #6e0c0c", +"#h c #6f0c0c", +".0 c #700d0d", +".j c #701212", +".4 c #740c0c", +"#l c #770c0c", +".P c #780d0d", +"#s c #7a0e0e", +".l c #7b0c0c", +"#o c #7b0d0d", +".5 c #7c0d0d", +".H c #7d0e0e", +".S c #7e0e0e", +"## c #800e0e", +".6 c #810e0e", +".Z c #820e0e", +".W c #830e0e", +".t c #831111", +"#w c #860e0e", +"#v c #870e0e", +".q c #871010", +"#p c #880e0e", +".K c #880f0f", +".V c #8a0f0f", +".a c #8a8a8a", +"#c c #8b0f0f", +"#b c #8d0f0f", +".U c #8d1010", +".X c #8f0f0f", +"#i c #8f1010", +"#e c #901010", +".L c #910f0f", +"#x c #920f0f", +".9 c #921010", +".M c #931010", +"#j c #931111", +".T c #941010", +"#. c #951010", +".f c #961010", +".Y c #971010", +"#u c #981111", +".O c #981212", +".J c #991010", +".F c #9a1010", +".A c #9a1111", +".7 c #9b1111", +".g c #9b9b9b", +".8 c #9c1111", +".1 c #9e1111", +".k c #9e1212", +"#r c #9f1111", +".C c #a01111", +"#m c #a11111", +"#n c #a11212", +"#a c #a21111", +".I c #a21212", +"#f c #a31111", +".3 c #a31313", +".D c #a41212", +"#d c #a51212", +".N c #a61111", +".B c #a61212", +".y c #a71212", +".v c #a81212", +".x c #a91212", +"#q c #aa1212", +".u c #ab1212", +"#g c #ac1212", +".d c #aeaeae", +".E c #af1313", +".w c #b01313", +".p c #b11313", +".e c #b21313", +".h c #cfcfcf", +".o c #dadada", +".i c #e8e8e8", +".c c #e9e9e9", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQt.#.#.#QtQtQtQtQtQtQtQtQtQt.#.#.#QtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQt.#.a.#.#QtQt.#.#QtQt.#.#.b.#QtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQt.#.c.d.#.#.e.f.#.#.g.h.#QtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQtQt.#.i.#.j.k.l.m.n.o.#QtQtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQtQt.#.#.p.q.r.s.t.u.#.#QtQtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQt.#.v.e.e.w.x.y.w.e.e.e.#QtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQt.#.z.A.e.e.x.B.C.D.u.e.E.F.#QtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQt.#.G.H.I.x.J.K.L.M.k.N.O.P.#QtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQt.#.Q.R.S.#.T.U.V.W.X.Y.#.Z.0.1.#QtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQt.#.2.3.#.4.5.6.7.8.9#.##.##a.e.#QtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQt.##b.p.##c#..v.E.p.E#d#e.#.e.e.#QtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQt.#.p.#Qt.#.9#f.e.e#g.1.#Qt.#.e.#QtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQt.#QtQt.##e.S#a.e#d.8.#QtQt.#QtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQt.#.##h#i.S#j.e.e#d.1.#.#QtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQt.##k#l.B#..#.##a#m#d.1.#QtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQt.#.R#b#n.1.#QtQt.##o.H.M.8.#QtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQt.##p#q#r.Y.#QtQt.##s#t.V.6.#QtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQt.#.T#a#r#u.9.#QtQt.##c#v#c#w#x.#QtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQt.#.#.#.#.#.#.#QtQt.#.#.#.#.#.#.#QtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", +"QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt"}; --- holotz-castle-1.3.9.orig/debian/changelog +++ holotz-castle-1.3.9/debian/changelog @@ -0,0 +1,118 @@ +holotz-castle (1.3.9-1) unstable; urgency=low + + [ Gonéri Le Bouder ] + * call dh_desktop to run update-desktop-database + + [Miriam Ruiz] + * Added debian/docs list of files + * New Upstream Release: + + Added translation to Portuguese + + Updated translation to English + + -- Miriam Ruiz Wed, 14 Mar 2007 08:54:05 +0100 + +holotz-castle (1.3.8-2) unstable; urgency=low + + [Eddy Petrișor] + * Acknowledging NMU, thanks (Closes: #357897) + * Merged patch for .desktop present in Ubuntu to be more freedesktop + compilant. Thanks Barry deFreese (Closes: #376887) + * Added Romanian translation of the desktop file fields. + * Added myself to uploaders. + + [Miriam Ruiz] + * Modified building system for using quilt. + * Updated to Standards Version 3.7.2. No changes needed. + * Added 08_jlib_jtree.patch to replace ~JTree() by ~JTree(). The + former seems to give a "parse error in template argument list" in + gcc-4.1 4.1.1-16 (even though 4.1.1-13 accepts it). Closes: #392172 + * Added Spanish translation of the desktop file fields. + * Made package safely binNMUable by replacing (= ${Source-Version}) + with (= ${source:Version}) in debian/control. + + [ Gonéri Le Bouder ] + * remove Applications from Categorie in the desktop file since it's not + an official categorie + + -- Miriam Ruiz Thu, 12 Oct 2006 19:47:22 +0200 + +holotz-castle (1.3.8-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix warnings (treated as errors because of -Werror) about questionable + casts; fixes FTBFS with g++ 4.1, patch from Ben Hutchings. + (Closes: #357897) + + -- Steinar H. Gunderson Wed, 7 Jun 2006 21:18:09 +0200 + +holotz-castle (1.3.8-1) unstable; urgency=low + + * New Upstream Version. + * Changed Maintainer field to Debian Games Team. + + -- Miriam Ruiz Thu, 26 Jan 2006 22:37:44 +0100 + +holotz-castle (1.3.7-1) unstable; urgency=low + + * New Upstream Version. + * Added .desktop file shortcut Closes: #305333. + * Updated to Standards Version 3.6.2 + * Changed FSF address in debian/copyright + * Removed dependency from data files to game program to avoid circuler + dependencies. + + -- Miriam Ruiz Thu, 17 Nov 2005 07:37:59 +0100 + +holotz-castle (1.3.6-1) unstable; urgency=low + + * New Upstream Version. + * Solves endianess problems and works in PowerPCs now. Closes: #304715. + + -- Miriam Ruiz Tue, 11 May 2005 00:37:00 +0100 + +holotz-castle (1.3.4-3) unstable; urgency=low + + * Fixed the code to solve endianess problems. It should now work in powerpc. + Closes: #304715. + * Thanks to Nacho Barrientos Arias for his help in + testing the changes on a powerpc. + + -- Miriam Ruiz Mon, 18 Apr 2005 00:18:00 +0100 + +holotz-castle (1.3.4-2) unstable; urgency=low + + * Execute debhelper on arch-specific packages only in the binary-arch + target. Closes: #304132. + * Applied patch to solve compilation problem in amd64 architecture. + Thanks to Andreas Jochens for the patch. Closes #303997. + + -- Miriam Ruiz Mon, 11 Apr 2005 16:48:00 +0100 + +holotz-castle (1.3.4-1) unstable; urgency=low + + * New upstream Version + * Added Euskara translation. + + -- Miriam Ruiz Mon, 4 Apr 2005 17:02:00 +0100 + +holotz-castle (1.3.3-1) unstable; urgency=low + + * New upstream Version + * Added UTF-8 support. Now it can be translated to any language. + * Added Russian translation. + * Fixed a bug that got the character stuck in the floor. + + -- Miriam Ruiz Mon, 21 Mar 2005 18:58:12 +0100 + +holotz-castle (1.3.1-1) unstable; urgency=low + + * New upstream Version + + -- Miriam Ruiz Tue, 8 Feb 2005 16:02:00 +0100 + +holotz-castle (1.3-1) unstable; urgency=low + + * Initial Release (Closes: #294845) + + -- Miriam Ruiz Tue, 25 Jan 2005 06:36:21 +0100 + --- holotz-castle-1.3.9.orig/debian/copyright +++ holotz-castle-1.3.9/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Miriam Ruiz on +Tue, 25 Jan 2005 06:36:21 +0000. + +It was downloaded from http://www.mainreactor.net/en/index_en.html + +Copyright: + +Upstream Author: Juan Carlos Seijo Prez + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA + 02110-1301, USA + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. --- holotz-castle-1.3.9.orig/debian/docs +++ holotz-castle-1.3.9/debian/docs @@ -0,0 +1,944 @@ +Holotz's Castle - Manual +------------------------ + +HISTORY: +08/02/2005 - Second edition. +24/10/2004 - First edition. + +1. Quick Start + +1.1. Windows + + 1. Unzip HC_win32-1.3.zip + 2. After the extraction process, a folder named HC appears. + 3. Explore into that folder. + 4. Double click holotz-castle.exe + 5. Enjoy! + + NOTA: To create an application short cut is necessary to fill the field 'Run in' the + full path to the HC folder, in the short cut properties dialog. + +1.2. Linux (source code) + + 1. Do 'tar -zxf HC_JLib_Linux_Win32-1.3.tar.gz' (without quotes) + 2. Follow the instructions in the file README.txt under the directory 'HC_JLib_Linux_Win32-1.3'. + 3. Do 'cd Games/HolotzCastle' + 4. Do './holotz-castle' + 5. Enjoy! + +2. Walk-around + + To show the help in the main menu or playing, press F1. Th ehelp is not available during the dialog + scenes. + + The first two scenes you see when you select 'New game' in the main menu is a dialog between Ybelle and + Ludar, the main characters of the game. + + You can skip the dialog balloons by pressing space. You can skip the entire scene by pressing enter. + + You can switch to the main menu whenever you want while playing but then if you select the option 'Continue game' + you will start at the beginning of the last level played. + Said this, as a rule of thumb: if you want to save, do it when you just entered a new level. + + To pause a game and relax, press 'p'. Pressing 'p' again gets you back to the game. + + At the third level you can control Ybelle. Try moving it with the arrow keys. Try jumping with the space bar. + The more you keep pressed it the more you can jump. + + The remaining time to complete a level is displayed in the top left corner of the screen. + + The remaining objects to unlock the exit of a level are displayed in the top right corner of the screen. + + When you collect all the objects, the exit activates (it moves faster) you have to move toward it and when you + are bellow, jump to exit the level. + + If you find too hard or too easy the levels, try to adjust the difficulty in the main menu (Options > Difficulty). + +3. HCed + + HCed is the level editor for Holotz's Castle. + + To launch it: + - In Linux, run './holotz-castle-editor' + + - In Windows, double click over the icon holotz-castle-editor.exe + + Main window: + + The title of the window contains the file being used when you save the current level. + + In the left side are shown the icons: + + - Normal floor + - Continuous floor + - Ladder + - Bar + - Breakable floor + - Object + - Rope + - Start position + - End position + - Enemies + - Save + - Load/Create story + - Exit + + Under those, there are these indicators: + + - Level time. + - Gravity. + - X Speed. + - Y Speed. + - Jump amount. + - Map size (rows x columns) + + Mouse: + + Left button: Draws the current object in the map. + Central button or left & right buttons at the same time: Deletes the object under the pointer. + + Keys: + + c : adds blank column to the right + Shift + c : removes column to the right + Ctrl + c : adds blank column to the left + Ctrl + Mays + c : removes column to the left + r : adds blank row bellow + Shift + r : removes row bellow + Ctrl + r : adds blank row upside + Ctrl + Mays + r : removes row upside + + : increase time (based upon hardest difficulty level) + - : decrease time + g : increase gravity + Shift + g: decrease gravity + x : increase x speed + Shift + x: decrease x speed + y : increase y speed + Shift + y: decrease y speed + j : increase jump amount + Shift + j : decrease jump amount + + With object/rope/start pos./enemy: + Ctrl - Adjusts to map. + + Adding ropes: + Select rope icon. + Position rope in map. + Without realeasing the left mouse button, press 'Alt'. + Mover updown mouse to set rope length. + Without realeasing the left mouse button, press 'Shift' to adjust the rope period. + +4. FAQ + + Q. I double-click on HC.exe but nothing happens! + A. Open the file called stderr.txt in the same folder (or check the console messages under Linux). + The last lines tell the problem initializing the game. Find a solution in the rest of the FAQ + for your problem. + + Q. The game runs slowly what can I do? + A. Select a lower resolution video mode in the main menu: + Options > Video > Size > [mode] + Maybe your graphics card supports 320x200 mode, that's a chance to + revive the feelings of the old-fashined video games. + + Q. I'm running Linux with ALSA but don't hear any sound. + A. By default ALSA mutes the sound. Try to check the volume with alsamixer or aumix or kmix. + If another application is using the the sound device you will not be able to hear sounds + until you close it. + + Q. Sound under Windows is fake! + A. Despite the fact that the soundtrack is not very audible by itself :D, maybe the problem is + in the drivers of your soundcard. Get the last version of them and try again. + + Q. In 8 bpp mode some parts of the level are black at all! + A. That error is fixed in v1.2 on higher, check the web (www.mainreactor.net) for the last release. + + Q. I didn't find an answer to my problem in this FAQ, what should I do? + A. You can e-mail me to the direction bellow. Don't forget to attach the file called stderr.txt which is + in the same folder as the executable (HC.exe). It contains information about your graphics card and + the problem with the game. + + Q. I'm an artist/musician/programmer/producer/90-60-90-model and I want to contribute to the cause. What can I do? + A. Oh, you can e-mail me at the direction bellow (if you are model we have to have a personal date first :) ) + + +Juan Carlos Seijo Prez (jacob@mainreactor.net) +Holotz's Castle - Manual +------------------------ + +HISTORIA: +08/02/2005 - Segunda edicin. +24/10/2004 - Primera edicin. + +1. Comienzo rpido. + +1.1. Windows + + 1. Descomprime HC_win32-1.3.zip + 2. Cuando termine de descomprimirse, una carpeta llamada HC apparece. + 3. Abre la carpeta. + 4. Haz doble click en holotz-castle.exe. + 5. Psalo bien! + + NOTA: Para crear un acceso directo es necesario poner en la casilla 'Ejecutar en' la + ruta completa de la carpeta HC, en las propiedades del acceso directo. + +1.2. Linux (cdigo fuente) + + 1. Haz 'tar -zxf HC_JLib_Linux_Win32-1.3.tar.gz' (sin comillas) + 2. Sigue las instrucciones del fichero LEEME.txt en el directorio 'HC_JLib_Linux_Win32-1.3'. + 3. Haz 'cd Games/HolotzCastle' + 4. Haz './holotz-castle' + 5. Psalo bien! + +2. Un primer recorrido por el juego. + + Para mostrar la ayuda mientras ests jugando, pulsa 'F1'. La ayuda no est disponible durante + las escenas de dilogo. + + Las primeras dos escenas que ves cuando seleccionas 'Nueva Partida' en el men principal es + un dilogo entre Ybelle y Ludar, los protagonistas del juego. + + Puedes saltarte los globos de texto pulsando espacio. Puedes saltarte todo un dilogo con la tecla intro. + + Puedes pasar al men principal siempre que quieras durante el juego pero si luego quieres continuar + tendrs que empezar de nuevo el nivel desde el que saliste. Si vas a salvar, lo mejor es que lo hagas al + principio del nivel. + + Para pausar el juego y tomarte un respiro pulsa 'p'. Pulsando 'p' de nuevo te lleva otra vez al juego. + + En el tercer nivel puedes manejar a Ybelle. Intenta moverlo con las teclas de direccin. Intenta saltar con la + barra de espacio. Cuanto ms la mantengas pulsada, ms alto llegars. + + El tiempo restante para completar el nivel se muestra en la esquina superior izquierda. + + El nmero de llaves objectos que faltan por recoger se muestra en la parte superior derecha. + + Cuando has recogido todas los objetos, la salida del nivel se activa (se mueve ms rpido). Tienes que conseguir + llegar a ella en tiempo y una vez debajo saltar para salir del nivel. + + Si los niveles te parecen demasiado fciles o difciles, intenta ajustar el nivel de dificultad en el men + principal (Opciones > Dificultad). + +3. HCed + + HCed es el editor de niveles de Holotz's Castle. + + Para ejecutarlo: + - En Linux, ejecuta './holotz-castle-editor' + + - En Windows, haz docle click sobre 'holotz-castle-editor.exe' + + Ventana: + + El ttulo de la ventana muestra el fichero usado al salvar el nivel actual. + + En la parte izquierda se muestran los iconos del editor: + + - Suelo normal + - Suelo continuo + - Escalera + - Barra + - Suelo rompible + - Objeto + - Cuerda + - Posicin de comienzo + - Posicin de fin + - Enemigos + - Salvar + - Cargar/Crear historia + - Salir + + Debajo de esto iconos estn los indicadores: + + - Tiempo del nivel. + - Gravedad. + - Velocidad x. + - Velocidad y. + - Potencia de salto. + - Tamao del mapa (filas x columnas) + + Ratn: + + Botn izquierdo: Dibuja en el mapa el objeto actual. + Botn central o ambos botones a la vez pulsados: Borra el objeto bajo el + puntero. + + Teclas: + + c : aade columna en blanco por la derecha + Mays + c : borra columna por la derecha + Ctrl + c : aade columna en blanco por la derecha + Ctrl + Mays + c : borra columna por la derecha + + : aumenta tiempo (el tiempo es el del nivel de dificultad difcil) + - : disminuye tiempo + g : aumenta gravedad + Mays g: disminuye gravedad + x : aumenta velocidad x + Mays x: disminuye velocidad x + y : aumenta velocidad y + Mays y: disminuye velocidad y + j : aumenta n de unidades verticales de salto + Mays + j : disminuye n de unidades verticales de salto + + Con objeto/cuerda/pos. comienzo/enemigo: + Ctrl - Ajusta la posicin al mapa. + + Aadir cuerdas: + Seleccionar el icono de cuerda. + Posicionar la cuerda en el mapa. + Sin soltar el botn izquierdo, pulsar la tecla 'Alt'. + Mover el ratn en vertical para ajustar la longitud de la cuerda. + Sin soltar 'Alt', pulsar 'Mays' para ajustar la amplitud del movimiento. + +4. Preguntas frecuentes. + + P. Hago doble click en HC.exe pero no pasa nada! + R. Abre el fichero llamado stderr.txt en la misma carpeta (o comprueba los mensajes de la consola si ests en Linux). + Las ltimas lneas muestran el error que se produjo. Eso te puede dar una pista para encontrar la solucin en el + resto de preguntas de esta lista. + + P. El juego va muy despacio, Qu puedo hacer? + R. Selecciona una resolucin menor en el men principal: + Opciones > Video > Tamao > [WWWxHHH] (escoge un valor bajo para WWW y HHH) + Quiz tu tarjeta grfica soporta el modo 320x200, esa es una buena oportunidad para + hacer que el juego se parezca ms a los primeros juegos de plataformas. + + P. Uso Linux con ALSA pero no oigo ningn sonido. + R. Por defecto ALSA enmudece el sonido completamente. Comprueba el valor del volumen por medio de algn + programa como alsamixer, aumix o kmix. Si otra aplicacin est usando el sonido, no podrs oir nada hasta que + la aplicacin se cierre. + + P. El sonido en Windows en penoso! + R. Dejando de un lado el hecho de que la banda sonora no es una maravilla en s misma :D, quiz el problema + est en los drivers de la tarjeta de sonido. Comprueba que tienes una versin actualizada de los mismos y si no + la tienes, actualizala y prueba de nuevo. + + P. En 8 bpp algunas partes del nivel aparecen en negro! + R. S, hay un pequeo problema con el modo de 8 bits por pixel. Esos bloques negros corresponden al suelo contnuo. + Quiz en la versin 2.0 est ya solucionado :D + + P. No he encontrado una respuesta a mi problema en esta lista, Qu puedo hacer? + R. Puedes enviarme un correo describindome el problema a la direccin de correo que aparece ms abajo. No + olvides adjuntar el fichero stderr.txt que est en la carpeta del juego. Contiene informacin sobre tu tarjeta + grfica y el problema con el juego. + + P. Soy dibujante/msico/programador/productor/modelo-90-60-90 y quiero contribuir a la causa. Que puedo hacer? + R. Oh, puedes mandarme un e-mail a la direccin de correo de abajo (si eres una modelo, es imprescindible que tengamos + antes una cita personal :) ). + + +Juan Carlos Seijo Prez (jacob@mainreactor.net) +Holotz's Castle - Eskuliburua +----------------------------- + +HISTORIA: +08/02/2005 - Bigarren edizioa. +24/10/2004 - Lehen edizioa. + +1. Hasiera bizkorra. + +1.1. Windows + + 1. Atera HC_win32-1.3.zip artxiboko fitxategiak. + 2. Ateratzen bukatzean, HC izeneko karpeta bat agertuko da. + 3. Ireki karpeta. + 4. Klik bikoitza egin holotz-castle.exe fitxategian. + 5. Gozatu jokuaz! + + OHARRA: Lasterbide bat sortzeko beharrezkoa da 'Hasi hemen:' dioen hutsunean + HC karpetaren bide osoa jartzea, lasterbidearen ezaugarrietan. + +1.2. Linux (iturburu kodea) + + 1. Egin 'tar -zxf HC_JLib_Linux_Win32-1.3.tar.gz' (kakotx gabe) + 2. Jarraitu 'HC_JLib_Linux_Win32-1.3' karpetako IRAKURRI.txt fitxategiko urratsak. + 3. Egin 'cd Games/HolotzCastle' + 4. Egin './holotz-castle' + 5. Gozatu jokuaz! + +2. Aurreneko ibilaldia jokuan zehar. + + Jokatzen ari zarenean laguntza ikusteko, sakatu 'F1'. Elkarrizketetan ezin da laguntza + ikusi. + + Hautesleihoan 'Jokaldi Berria' hautatzean agertzen diren lehen bi eszenak Ybelle eta Ludar, + jokuko protagonisten arteko elkarrizketak dira. + + Elkarrizketa globoak ken ditzakezu Hutsunea sakatuz. Elkarrizketa osoa kentzeko sakatu Sartu. + + Jokatzen zabiltzan bitartean edozein unetan joan zaitezke hautesleiho nagusira, baina gero utzitako + tokian jarraitzea ezinezkoa da, maila hori berriz hasi beharko duzu. Jokua gorde nahi baduzu, onena + mailaren hasieran egitea da. + + Jokua gelditu eta atsedena hartzeko sakatu 'p'. Berriro 'p' zapalduz jokura itzuliko zara. + + Hirugarren mailan Ybelle maneia dezakezu. Mugi ezazu norantza geziekin. Egin jauzi hutsune + barrarekin. Zenbat eta denbora gehiago eduki sakatuta, orduan eta gorago helduko zara. + + Maila burutzeko duzun astia goi-ezkerraldeko ertzean ageri da. + + Jasotzeko dituzun giltza edo harrien kopurua goi-eskumaldeko ertzean ageri da. + + Objektu guztiak jasotzean, mailaren irteerako ataria irekitzen da (bizkorrago mugitzen da). Bertara + denboraz heltzea lortu behar duzu, eta behin honen azpian zaudela jauzi egin mailatik irteteko. + + Maila errazegiak edo zailegiak iruditzen bazaizkizu, zailtasun maila aldatu hautesleiho nagusian (Aukerak > Zailtasuna). + +3. HCed + + HCed Holotz's Castle-ren maila-sorgailua da. + + Abiarazteko: + - Linuxpean, egin './holotz-castle-editor'. + + - Windowspean, egin klik bikoitza 'holotz-castle-editor.exe' fitxategian. + + Leihoa: + + Leihoaren izenburua uneko maila gordetzeko erabiliko den fitxategiaren izena da. + + Ezkerraldean sorgailuaren ikurrak ageri dira: + + - Zoru arrunta + - Zoru jarraia + - Eskailera + - Barra + - Zoru hauskorra + - Objektua + - Soka + - Hasierako lekua + - Amaierako lekua + - Aurkariak + - Gorde + - Istorioa Eskuratu/Sortu + - Irten + + Ikur hauen azpian informazio hau dago: + + - Mailako denbora. + - Grabitatea. + - X abiadura. + - Y abiadura. + - Jauzien potentzia. + - Maparen neurria (lerroak x zutabeak) + + Sagua: + + Ezkerreko botoia: Uneko objektua mapan margotzen du. + Erdiko botoia edo bi botoiak batera sakatuta: Erakuslearen azpian dagoen + objektua ezabatzen du. + + Teklak: + + c : eskuman zutabe huts bat gehitzen du + Maius + c : eskumako lehen zutabea ezabatzen du + Ktrl + c : eskuman zutabe huts bat gehitzen du + Ktrl + Maius + c : eskumako lehen zutabea ezabatzen du + + : maila burutzeko denbora tartea handitzen du (zailtasun zailean) + - : denbora tartea txikitzen du + g : grabitatea handitzen du + Maius g: grabitatea txikitzen du + x : x abiadura handitzen du + Maius x: x abiadura txikitzen du + y : y abiadura handitzen du + Maius y: y abiadura txikitzen du + j : jauziko unitate bertikalen kopurua handitzen du + Maius + j : jauziko unitate bertikalen kopurua txikitzen du + + + Objektu, soka, hasierako leku eta aurkariekin: + Ktrl - Kokalekua mapara egokitzen du. + + Sokak gehitzeko: + Sokaren ikurra hautatu. + Soka mapan kokatu. + Ezkerreko botoia sakatuta duzula, 'Alt' tekla zapaldu. + Sagua goitik behera eraman sokaren luzeera zehazteko. + 'Alt' sakatzeari utzi gabe, zapaldu 'Maius' balantza-mugimenduaren anplitudea zehazteko. + +4. Ohiko galderak. + + G. HC.exe-n klik bikoitza egiten dut eta ez da ezer gertatzen! + E. Ireki karpeta bereko stderr.txt fitxategia (edo frogatu kontsolako mezuak Linux badarabilzu). + Azken lerroek gertaturiko akatsa azaltzen dute. Honek konponbidea aurkitzen lagun zaitzake, agian zerrendako beste + galderetan dago bilatzen ari zaren erantzuna. + + G. Jokua oso motel dabil, zer egin dezaket? + E. Hautesleiho nagusian bereizmen txikiagoa aukeratu: + Aukerak > Irudia > Neurria > [WWWxHHH] (hautatu balio txiki bat WWW eta HHHrentzat) + Agian zure irudi-txartelak 320x200 era onartzen du, honakoa aukera bikaina da jokuari + aspaldiko plataforma jokuen antza emateko. + + G. Linuxekin ALSA erabiltzen dut, baina ez da soinurik entzuten. + E. ALSAk, berez, soinu guztiak isilarazten ditu. Frogatu soinuen ozentasun maila alsamixer, aumix edo kmix + bezalako programa batekin. Beste aplikazioren bat soinua erabiltzen ari bada, ezingo duzu ezer entzun programa + hori itxi arte. + + G. Windowseko soinua kakazahar bat da! + E. Soinu Banda beste mundu batekoa ez dela jakinda :D, baliteke arazoa beste bat izatea, soinu-txartelaren + driverrena. Frogatu driverren bertsio eguneratu bat daukazula eta hala ez bada, eguneratu eta saiatu berriro. + + G. 8 bit/piksel eran mailaren zati batzuk beltzez ageri dira! + E. Bai, 8 bit/piksel erarekin arazo txiki bat dugu. Lauki beltz horiek zoru jarraiari dagozkio. + Agian 2.0 bertsioan arazoa konponduta egongo da :D + + G. Zerrenda honetan ez dut nire arazoaren konponbidea aurkitu, zer egin dezaket? + E. Postel bat bidali diezadakezu arazoa azalduz beherago ageri den helbide elektronikora. Ez ahaztu + stderr.txt fitxategia gehitzea (jokuaren karpetan dago). Zure irudi-txartelaren eta jokuko arazoaren + informazioa dauka. + + G. Marrazkilaria/musikaria/programatzailea/ekoizlea/90-60-90-modeloa naiz eta egitasmoan lagundu nahi dut. Zer egin dezaket? + E. Hara, beheko helbidera postel bat bidali diezadakezu (modeloa bazara, aurrena zita bat edukitzea ezinbestekoa da :) ). + + +Juan Carlos Seijo Prez (jacob@mainreactor.net) +Holotz's Castle - Manuel +------------------------ + +1. Dmarrage Rapide + + Tapez: + + ./holotz-castle + + ...et amusez-vous! + + + 1.1 Si a ne fonctionne pas, vous aurez probablement besoin des dernires versions + des librairies: + - SDL (www.libsdl.org) + - SDL_image, SDL_ttf, SDL_mixer (www.libsdl.org, section librairies) + +2. Brve prsentaion du jeu + + Pour afficher l'aide dans le menu principal ou pendant le jeu, appuyez sur F1. L'aide n'est pas disponible pendant les scnes de dialogues. + + Les deux premires scnes que vous verrez en slectionnant 'Nouvelle partie' dans le menu principal sont un dialogue entre Ybelle et Ludar, les deux hros du jeu. + + Vous pouvez sauter les bulles de dialogues en appuyant sur la barre d'espace. Vous pouvez sauter une scne entire en appuyant sur Entre. + + Vous pouvez revenir au menu principal n'importe quel moment du jeu en pressant Echap mais, ensuite, si vous slectionnez l'option 'Continuer la partie' vous reprendrez le jeu au dbut du dernier niveau jou. + Un conseil: Si vous voulez enregistrer la partie, faites-le quand vous venez de commencer un niveau. + + Pour mettre le jeu en pause et vous reposer, appuyez sur 'p'. Pressez 'p' une seconde fois pour revenir dans le jeu. + + partir du troisime niveau, vous pourrez contrler Ybelle. Vous pourrez le faire bouger en utilisant les flches directionnelles et le faire sauter en appuyant sur la barre d'espace. + Plus vous appuierez longtemps, plus vous pourrez sauter haut. + + Le temps disponible pour finir le niveau est visible dans le coin suprieur gauche de l'cran. + + Les objets restants trouver pour dbloquer la sortie du niveau sont affichs dans le coin suprieur droit de l'cran. + + Quand vous aurez collect tous les objets, la sortie sera active (cela bougera plus vite) et vous devrez aller jusqu' elle et sauter quand vous serez en dessous pour sortir du niveau. + + Si vous trouvez les niveaux trop difficiles ou trop faciles, essayez d'ajuster le niveau de difficult dans le menu principal (Options > Difficult). + +3. HCed + + HCed est l'diteur de niveau de Holotz's Castle. + + Pour le lancer: + - Sous Linux, tapez './holotz-castle-editor' + + - Sous Windows, double-cliquez sur l'icne holotz-castle-editor.exe + + Fentre principale: + + Le titre de la fentre contient le nom du fichier qui sera utilis quand vous enregistrerez le niveau courant. + + Sur le ct gauche, on peut voir les icnes suivantes: + + - Sol normal + - Sol continu + - chelle + - Barre + - Sol cassable + - Objet + - Corde + - Point de dpart + - Sortie + - Ennemis + - Sauvegarde + - Charger/Crer une histoire + - Quitter + + En dessous, il y a les indicateurs suivants: + + - Temps du niveau. + - Gravit. + - Vitesse en X. + - Vitesse en Y. + - Puissance de saut. + - Taille de la carte (lignes x colonnes) + + Souris: + + Bouton gauche: Place l'objet choisi dans la carte. + Bouton du mileu ou boutons gauche & droit simultanment: Supprime l'objet sous le pointeur. + + Clavier: + + c : Ajoute une colonne vide sur la droite + Shift + c : Supprime une colonne sur la droite + Ctrl + c : Ajoute une colonne vide sur la gauche + Ctrl + Shift + c : Supprime une colonne sur la gauche + r : Ajoute une ligne vide en bas + Shift + r : Supprime une ligne en bas + Ctrl + r : Ajoute une ligne vide en haut + Ctrl + Mays + r : Supprime une ligne en haut + + : Augmenter le temps (le temps sera celui du niveau en mode difficile) + - : Diminuer le temps + g : Augmenter la gravit + Shift + g: Diminuer la gravit + x : Augmenter la vitesse en x + Shift + x: Diminuer la vitesse en x + y : Augmenter la vitesse en y + Shift + y: Diminuer la vitesse en y + j : Augmenter la puissance de saut + Shift + j : Diminuer la puissance de saut + + Avec les objets/cordes/point de dpart/ennemis: + Ctrl - Dplacer l'objet. + + Ajouter une corde: + Choisir l'icne de corde. + Positionner la corde sur la carte. + Sans relcher le bouton gauche de la souris, appuyer sur 'Alt'. + Bouger la souris vers le haut ou le bas pour choisir la longueur de la corde. + Sans relcher le bouton gauche de la souris, appuyer sur 'Shift' pour choisir la priode de balancement de la corde. + +4. FAQ + + Q. Je double-clique sur HC.exe mais rien ne se passe! + A. Ouvez le fichier nomm stderr.txt dans le mme dossier (ou regardez les messages + de la console sous Linux). + Les dernires lignes indiquent le problme. Cherchez une solution dans la suite de + cette FAQ + + Q. Le jeu est lent que puis-je faire? + A. Choisissez une rsolution plus faible dans le menu principal: + Options > Vido > Taille > [mode] + Peut-tre que votre carte graphique supporte le mode 320x200, vous avez la chance de + revivre les sensations des jeux vidos l'ancienne. + + Q. Je suis sous Linux mais ALSA ne laisse entendre aucun son. + A. Par dfaut ALSA coupe le son. Essayez de vrifier le volume avec alsamixer ou aumix + ou kmix. + Si une autre application utilise le son, vous ne pourrez pas entendre de son avant + de l'avoir fermer. + + Q. Le son sous Windows est mdiocre! + A. Malgr le fait que la bande son elle mme n'est pas terrible :D, peut-tre que le + problme provient des pilotes de la carte son. Rcuprez la dernire version + de ceux-ci et ressayez. + + Q. En mode 8 bpp mode des parties du niveau sont toutes noires! + A. Cette erreur est corrige dans les version 1.2 et plus, rcuprez la + dernire version sur Internet (www.mainreactor.net). + + Q. Je n'ai pas trouv de rponses mon problme dans cette FAQ, que puis-je faire? + A. Vous pouvez m'envoyer l'adresse qui est la fin de cette FAQ. N'oubliez pas + de joindre le fichier nomm stderr.txt qui est dans le mme dossier que + l'xcutable (HC.exe). Il contient toutes les informations propos de votre + carte graphqiue et le problme avec le jeu. + + Q. Je suis un artiste/musicien/programmeur/producteur/modle-90-60-90 et je veux + contribuer la cause. Que puis-je faire? + A. Oh, vous pouvez pouvez me contacter l'adresse en dessous (si vous tes mannequin, + nous prendrons un rendez-vous personnel avant :) ) + + +Juan Carlos Seijo Prez (jacob@mainreactor.net) +Holotz's Castle - Руководство +------------------------ + +1. Быстрый запуск + + Выполните команду: + + ./holotz-castle + + ...и наслаждайтесь! + + + 1.1 Если это не работает, то, возможно, потребуется установить более новые версии библиотек: + - SDL (www.libsdl.org) + - SDL_image, SDL_ttf, SDL_mixer (www.libsdl.org, libraries section) + +2. Игра + + Чтобы получить справку, нажмите F1 во время игры или в главном меню. Во время диалогов справка недоступна. + + Первые две сцены, которые вы увидите, начав новую игру - разговор Ивонны и Людара, главных героев игры. + + Реплики в диалоге можно пропускать, нажимая клавишу "Пробел". Пропустить целую сцену можно нажав на "Ввод". + + В любой момент игры можно выйти в главное меню и вернуться к игре с помощью команды 'Продолжить игру'. Игра продолжится с начала текущего уровня. Поэтому, лучше сохранять игру сразу после перехода на новый уровень. + + Чтобы прервать игру и передохнуть, нажмите 'p'. Если нажать 'p' снова, игра продолжится. + + На третьем уровне вы можете управлять Ивонной. Используйте стрелки для движения и "пробел" для прыжков. Чем дольше нажатие на "пробел", тем выше прыжок. + + Оставшееся на прохождение уровня время отображается в верхнем-левом углу экрана. + + Необходимые для переход на следующий уровень предметы отображаются в верхнем-правом углу экрана. + + Когда все предметы собраны, открывается выход. Пдойдите к нему и подпрыгните, чтобы покаинуть уровень. + + Если уровни кажутся вам слишком трудными или слишком простыми, изменить уровень сложности в главном меню (Настройки > Сложность). + +3. HCed + + HCed - редактор уровней для игры Holotz's Castle. + + Для запуска: + - В ОС Linux, запустите './holotz-castle-editor' + + - В ОС Windows, дважды щелкните значок holotz-castle-editor.exe + + Главное окно: + + Заголовок окна сообщает имя файла, куда будет сохранён редактируемый уровень. + + Слева находятся пиктограммы: + + - Обычный пол + - Непрерывный пол + - Лестница + - Шест + - Пробиваемый пол + - Предмет + - Верёвка + - Начальная позиция + - Выход + - Враги + - Сохранение + - Загрузка/Новый уровень + - Выход + + Под ними расположены индикаторы: + + - Время, проведённое на уровне. + - Притяжение. + - Скорость по оси X. + - Скорость по оси Y. + - Сила прыжка. + - Размер уровня (рядов x колонок) + + Мышь: + + Левая кнопка: Помещает текущий объект на карту. + Средняя или правая и левая кнопки вместе: Удалить объект. + + Клавиатура: + + c : добавить пустую колонку справа + Shift + c : удалить колонку справа + Ctrl + c : добавить пустую колонку слева + Ctrl + Shift + c : удалить колонку слева + r : добавить пустой ряд снизу + Shift + r : удалить ряд снизу + Ctrl + r : добавить пустой ряд сверху + Ctrl + Shift + r : удалить ряд сверху + + : увеличить время (на основе самого высокого уровня сложности) + - : уменьшить время + g : увеличить притяжение + Shift + g: уменьшить притяжение + x : увеличить скорость по оси x + Shift + x: уменьшить x speed + y : увеличить скорость по оси y + Shift + y: уменьшить y speed + j : увеличить силу прыжка + Shift + j : уменьшить силу прыжка + + Для объектов/верёвок/нач. позиций/врагов: + Ctrl - Подгонка к карте. + + Добавление верёвок: + Выберите значок верёвки. + Расположите верёвку на карте. + Нажмите 'Alt', не отпуская левой кнопки мыши. + Двигая курсором мыши задайте длину верёвки. + Не отпуская левой кнопки мыши нажмите 'Shift', чтобы отрегулировать период качания верёвки. + +4. ЧаВо + + Q. Я дважды щёлкаю значок HC, но ничего не происходит! + A. Откройте файл stderr.txt в том же каталоге (или прочтите сообщения в консоли Linux). + В последних строках должно быть описание проблемы. Прочтите раздел ЧаВо, чтобы найти + решение. + + Q. Игра работает слишком медленно? + A. Выберите видеорежим с меньшим разрешением: + Настройка > Изображение > Размер > [режим] + Возможно, ваша видеокарта пожерживает режим 320x200. Он позволит вам + вспомнить времена старинных видеоигр. + + Q. Я использую Linux с драйверами ALSA, не не слышу звука. + A. По умолчанию ALSA заглушает звук. Проверьте громкость с помощью alsamixer, aumix или gmix. + Если устройтво вывода звука заблокировано другой программой, то звук появится только после её + закрытия. + + Q. Неправильный звук в Windows! + A. Хотя звуки в игре не очень хорошо слышны сами по себе :D, проблема может заключаться в + драйверах вашей звуковой карты. Поставтьте самую новую версию. + + Q. В режиме 8-битного цвета некоторые части уровней выглядят чёрными! + A. Эта ошибка исправлена, начиная с версии v1.2, загрузите новую версию со страницы (www.mainreactor.net). + + Q. здесь нет ответа на мой вопрос. Что делать? + A. Напишите мне по адресу внизу. Не забудьте приложить файл stderr.txt, который находится в той же + папке, где и исполняемый файл (HC.exe). В нём содержится информация о вашей видеокарте и возникшей проблеме. + + Q. Я художник/музыкант/программист/продюсер/фотомодель 90-60-90 и хочу помочь. Что делать? + A. Напишите мне по адресу внизу.(Если вы модель, то надо сначала встретиться :) ) + + +Хуан Карлос Сейжо Перес (jacob@mainreactor.net) +Holotz's Castle - Руководство +------------------------ + +1. Швидкий запуск + + Виконайте команду: + + ./holotz-castle + + ...и насолоджуйтеся! + + + 1.1 Якщо це не працює, то, можливо, необхідно встановити більш нові версії бібліотек: + - SDL (www.libsdl.org) + - SDL_image, SDL_ttf, SDL_mixer (www.libsdl.org, libraries section) + +2. Гра + + Щоб отримати довідку, натисніть F1 під час гри або в головному меню. Під час діалогів довідка недоступна. + + Перші две сцени, які ви побачите, зпочатком нової гри - ррозмова Івонни в Людара, головних героїв гри. + + Репліки в диалозі можна пропускати, натискаючи клавішу "Пробіл". Пропустити цілу сцену можна нанатискаючи на "Введення". + + В будь-який момент гри можна вийти в головне меню и повернутися до гри з допомогою команди 'Продовжити гру'. Гра продовжиться з початку поточного рівня. Тому, краще зберігати гру відразу після переходу на новий рівень. + + Щоб перервати гру та перепочити, натисніть 'p'. Якщо натиснути 'p' снову, гра продовжиться. + + На третьому рівні ви можете управляти Івонною. Використовуйте стрілки для руху і "пробіл" для прижків. Чим довше натискання на "пробіл", тим вище прижок. + + Час, який залишається для проходження рівня відображується у верхньому-лівому кутку екрана. + + Необхідні для переходу на наступний рівень предмети відображаються у верхньому-правому кутку екрана. + + Коли всі предмети зібрано, відкривається вихід. Підійдіть до нього та підпригніть, щоб покинути рівень. + + Якщо рівні здаються вам занадто важкими або занадто простими, змінити рівень складності в головному меню (Налаштування > Складність). + +3. HCed + + HCed - редактор рівней для гри Holotz's Castle. + + Для запуску: + - В ОС Linux, запустіть './holotz-castle-editor' + + - В ОС Windows, зробіть подвійне клацання на значку holotz-castle-editor.exe + + Головне вікно: + + Заголовок вікна містить ім'я файла, куди буде збережено рівень, який ви редагуєте. + + Зліва знаходяться піктограми: + + - Звичайна підлога + - Непреривна підлога + - Драбина + - Шест + - Падаюча підлога + - Предмет + - Мотузка + - Початкова позиція + - Вихід + - Вороги + - Збереження + - Завантаження/Новий рівень + - Вихід + + Під ними розташовані індикатори: + + - Час на проходження рівня. + - Сила тяжіння. + - Швидкість по осі X. + - Швидкість по осі Y. + - Сила прижка. + - Розмір рівня (рядів x колонок) + + Миша: + + Ліва кнопка: Переміщує поточний об'єкт на карту. + Середня або права та ліва кнопки разом: Видалити об'єкт. + + Клавіатура: + + c : добавити пусту колонку справа + Shift + c : видалити колонку справа + Ctrl + c : добавити пусту колонку зліва + Ctrl + Shift + c : видалити колонку зліва + r : добавити пустий ряд знизу + Shift + r : видалити ряд знизу + Ctrl + r : добавити пустий ряд зверху + Ctrl + Shift + r : видалити ряд зверху + + : збільшити час (на основі найвищого рівня складності) + - : зменьшити час + g : збільшити тяжіння + Shift + g: зменьшити тяжіння + x : збільшити швидкість по осі x + Shift + x: зменьшити x speed + y : збільшити швидкість по оси y + Shift + y: зменьшити y speed + j : збільшити силу прижка + Shift + j : зменьшити силу прижка + + Для об'єктів/мотузок/поч. позицій/ворогів: + Ctrl - Підрівнювання к карте. + + Добавлення мотузок: + Виберіть значок мотузки. + Розташуйте мотузку на карте. + Натисніть 'Alt', не відпускаючи лівої кнопки миші. + Двигаючи курсором миші задайте довжину мотузки. + Не відпускаючи лівої кнопки миші натисніть 'Shift', щоб відрегулювати період качання мотузки. + +4. ЧаПи + + Q. Я роблю подвійне клацання на значок HC, але нічого не відбувається! + A. Відкрийте файл stderr.txt в тому ж каталозі (або прочитайте повідомлення в консолі Linux). + В останніх рядках повинен бути опис проблеми. Прочитайте розділ ЧаПи, щоб нзайти + рішення. + + Q. Гра працює занадто повільно? + A. Виберіть відеорежим з меньшою роздільною здатністю: + Налаштування > Зображення > Розмір > [режим] + Можливо ваша відеокарта підтримує режим 320x200. Він дозволить вам + пригадати часи перших відеоігр. + + Q. Я використовую Linux з драйверами ALSA, але не чую звука. + A. Типово ALSA заглушує звук. Перевірте гучність з допомогою alsamixer, aumix або gmix. + Якщо пристрій виводу звука заблоковано іншою программою, то звук з'явиться тільки після її + завершення. + + Q. Невірний звук у Windows! + A. Хоча звуки у грі не досить добре чутно і так :D, проблема може заключатися в + драйверах вашої звукової карти. Поставте найновішу версію. + + Q. В режимі 8-бітного кольору деякі частини рівнів виглядають чорними! + A. Ця помилка виправлена починаючи з версії v1.2, завантажте нову версію зі сторінки (www.mainreactor.net). + + Q. Тут не має відповіді на моє запитання. Що робити? + A. Напишіть мені за адресою знизу. Не забудьте додати файл stderr.txt, який знаходиться в тому ж + каталозі, де й програмний файл (HC.exe). В ньому є інформація про вашу відеокарту та виникші проблеми. + + Q. Я художник/музикант/програміст/продюсер/фотомодель 90-60-90 та хочу допомогти. Що робити? + A. Напишіть мені за адресою знизу.(Якщо ви модель, то потрібно спочатку зустрітися :) ) + + +Хуан Карлос Сейжо Перес (jacob@mainreactor.net) --- holotz-castle-1.3.9.orig/debian/patches/04_editor_manpage.patch +++ holotz-castle-1.3.9/debian/patches/04_editor_manpage.patch @@ -0,0 +1,12 @@ +diff -ruN holotz-castle-1.3.8.orig/doc/holotz-castle-editor.6 holotz-castle-1.3.8.new/doc/holotz-castle-editor.6 +--- holotz-castle-1.3.8.orig/doc/holotz-castle-editor.6 2006-01-20 13:59:37.000000000 +0100 ++++ holotz-castle-1.3.8.new/doc/holotz-castle-editor.6 2006-09-23 15:58:27.000000000 +0200 +@@ -4,7 +4,7 @@ + .SH "SYNOPSIS" + .B holotz\-castle\-editor [\fI\-f\fR] [\fI\-w\fR] [\fI\-\-fps nn\fR] [\fI\-mWWxHHxBPP\fR] [\fI\-r RR\fR] [\fI\-c CC\fR] [\fI\-t theme\fR] \fI \fR + .SH "DESCRIPTION" +-A great mistery is hidden beyond the walls of Holotz's Castle. Will you be able to help Ybelle and Ludar to scape alive from the castle? ++A great mistery is hidden beyond the walls of Holotz's Castle. Will you be able to help Ybelle and Ludar to scape alive from the castle? + + Use the editor to design new levels for this game! + .SH "USAGE" --- holotz-castle-1.3.9.orig/debian/patches/03_manpage.patch +++ holotz-castle-1.3.9/debian/patches/03_manpage.patch @@ -0,0 +1,12 @@ +diff -ruN holotz-castle-1.3.8.orig/doc/holotz-castle.6 holotz-castle-1.3.8.new/doc/holotz-castle.6 +--- holotz-castle-1.3.8.orig/doc/holotz-castle.6 2006-01-20 13:59:37.000000000 +0100 ++++ holotz-castle-1.3.8.new/doc/holotz-castle.6 2006-09-23 15:58:27.000000000 +0200 +@@ -5,7 +5,7 @@ + .SH "SYNOPSIS" + .B holotz\-castle [\fI\-f\fR] [\fI\-w\fR] [\fI\-\-fps nn\fR] [\fI\-mWWxHHxBPP\fR] + .SH "DESCRIPTION" +-A great mistery is hidden beyond the walls of Holotz's Castle. Will you be able to help Ybelle and Ludar to scape alive from the castle? ++A great mistery is hidden beyond the walls of Holotz's Castle. Will you be able to help Ybelle and Ludar to scape alive from the castle? + + Test your dexterity with this tremendously exciting platform game! + .SH "USAGE" --- holotz-castle-1.3.9.orig/debian/patches/07_hcenemy.patch +++ holotz-castle-1.3.9/debian/patches/07_hcenemy.patch @@ -0,0 +1,43 @@ +diff -ruN holotz-castle-1.3.8.orig/src/HCEnemy.cpp holotz-castle-1.3.8.new/src/HCEnemy.cpp +--- holotz-castle-1.3.8.orig/src/HCEnemy.cpp 2006-01-20 13:59:38.000000000 +0100 ++++ holotz-castle-1.3.8.new/src/HCEnemy.cpp 2006-09-23 15:58:27.000000000 +0200 +@@ -130,7 +130,9 @@ + + u32 HCEnemy::Load(JRW &file, HCTheme &theme, HCMap *_map) + { +- if (0 == file.ReadLE32((s32 *)&type) || ++ u32 typeNum; ++ ++ if (0 == file.ReadLE32(&typeNum) || + 0 == file.ReadLE32(¶m1) || + 0 == file.ReadLE32(¶m2) || + 0 != HCCharacter::Load(file)) +@@ -141,7 +143,7 @@ + + bool ret = false; + +- switch (type) ++ switch (typeNum) + { + default: + case HCENEMYTYPE_BALL: +@@ -170,6 +172,8 @@ + return 2; + } + ++ type = HCEnemyType(typeNum); ++ + // Adjusts the sprite's framerate according to 1st param + for (s32 i = 0; i < HCCS_COUNT; ++i) + { +@@ -181,7 +185,9 @@ + + u32 HCEnemy::Save(JRW &file) + { +- if (0 == file.WriteLE32((s32 *)&type) || ++ u32 typeNum = type; ++ ++ if (0 == file.WriteLE32(&typeNum) || + 0 == file.WriteLE32(¶m1) || + 0 == file.WriteLE32(¶m2) || + 0 != HCCharacter::Save(file)) --- holotz-castle-1.3.9.orig/debian/patches/06_casts.patch +++ holotz-castle-1.3.9/debian/patches/06_casts.patch @@ -0,0 +1,126 @@ +diff -ruN holotz-castle-1.3.8.orig/src/HCCharacter.cpp holotz-castle-1.3.8.new/src/HCCharacter.cpp +--- holotz-castle-1.3.8.orig/src/HCCharacter.cpp 2006-01-20 13:59:38.000000000 +0100 ++++ holotz-castle-1.3.8.new/src/HCCharacter.cpp 2006-09-23 15:58:27.000000000 +0200 +@@ -873,10 +873,10 @@ + u32 HCCharacter::Load(JRW &file) + { + if (0 == file.ReadLE32(&subtype) || +- 0 == file.ReadLE32((u32 *)&pos.x) || +- 0 == file.ReadLE32((u32 *)&pos.y) || +- 0 == file.ReadLE32((u32 *)&vMax.x) || +- 0 == file.ReadLE32((u32 *)&vMax.y) || ++ 0 == file.ReadLE32(&pos.x) || ++ 0 == file.ReadLE32(&pos.y) || ++ 0 == file.ReadLE32(&vMax.x) || ++ 0 == file.ReadLE32(&vMax.y) || + 0 == file.ReadLE32(&maxJumpRows)) + { + fprintf(stderr, "Error reading character's common parameters.\n"); +@@ -891,10 +891,10 @@ + u32 HCCharacter::Save(JRW &file) + { + if (0 == file.WriteLE32(&subtype) || +- 0 == file.WriteLE32((u32 *)&pos.x) || +- 0 == file.WriteLE32((u32 *)&pos.y) || +- 0 == file.WriteLE32((u32 *)&vMax.x) || +- 0 == file.WriteLE32((u32 *)&vMax.y) || ++ 0 == file.WriteLE32(&pos.x) || ++ 0 == file.WriteLE32(&pos.y) || ++ 0 == file.WriteLE32(&vMax.x) || ++ 0 == file.WriteLE32(&vMax.y) || + 0 == file.WriteLE32(&maxJumpRows)) + { + fprintf(stderr, "Error writing character's common parameters.\n"); +diff -ruN holotz-castle-1.3.8.orig/src/HCLevel.cpp holotz-castle-1.3.8.new/src/HCLevel.cpp +--- holotz-castle-1.3.8.orig/src/HCLevel.cpp 2006-01-20 13:59:38.000000000 +0100 ++++ holotz-castle-1.3.8.new/src/HCLevel.cpp 2006-09-23 15:58:27.000000000 +0200 +@@ -406,7 +406,7 @@ + + for (s32 i = 0; i < numEnemies; ++i) + { +- if (0 != file.ReadLE32((s32 *)&enemyType)) ++ if (0 != file.ReadLE32(&enemyType)) + { + // Lets the file at ist original position + file.Seek(-4, SEEK_CUR); +diff -ruN holotz-castle-1.3.8.orig/src/HCMap.cpp holotz-castle-1.3.8.new/src/HCMap.cpp +--- holotz-castle-1.3.8.orig/src/HCMap.cpp 2006-01-20 13:59:38.000000000 +0100 ++++ holotz-castle-1.3.8.new/src/HCMap.cpp 2006-09-23 15:58:27.000000000 +0200 +@@ -387,7 +387,7 @@ + Destroy(); + + // Loads the number of rows and cols, etc. +- if (0 == f.ReadLE32((u32 *)&gravity) || ++ if (0 == f.ReadLE32(&gravity) || + 0 == f.ReadLE32(&rows) || + 0 == f.ReadLE32(&cols) || + 0 == f.ReadLE32(&exitRow) || +@@ -472,7 +472,7 @@ + u32 HCMap::Save(JRW &f) + { + // Saves the number of rows and cols, etc. +- if (0 == f.WriteLE32((u32 *)&gravity) || ++ if (0 == f.WriteLE32(&gravity) || + 0 == f.WriteLE32(&rows) || + 0 == f.WriteLE32(&cols) || + 0 == f.WriteLE32(&exitRow) || +diff -ruN holotz-castle-1.3.8.orig/src/HCObject.cpp holotz-castle-1.3.8.new/src/HCObject.cpp +--- holotz-castle-1.3.8.orig/src/HCObject.cpp 2006-01-20 13:59:38.000000000 +0100 ++++ holotz-castle-1.3.8.new/src/HCObject.cpp 2006-09-23 15:58:27.000000000 +0200 +@@ -82,8 +82,8 @@ + u32 HCObject::Load(JRW &file) + { + if (0 == file.ReadLE32(&subtype) || +- 0 == file.ReadLE32((u32 *)&pos.x) || +- 0 == file.ReadLE32((u32 *)&pos.y)) ++ 0 == file.ReadLE32(&pos.x) || ++ 0 == file.ReadLE32(&pos.y)) + { + fprintf(stderr, "Error loading the object.\n"); + +@@ -98,8 +98,8 @@ + u32 HCObject::Save(JRW &file) + { + if (0 == file.WriteLE32(&subtype) || +- 0 == file.WriteLE32((u32 *)&pos.x) || +- 0 == file.WriteLE32((u32 *)&pos.y)) ++ 0 == file.WriteLE32(&pos.x) || ++ 0 == file.WriteLE32(&pos.y)) + { + fprintf(stderr, "Error saving the object.\n"); + +diff -ruN holotz-castle-1.3.8.orig/src/HCRope.cpp holotz-castle-1.3.8.new/src/HCRope.cpp +--- holotz-castle-1.3.8.orig/src/HCRope.cpp 2006-01-20 13:59:38.000000000 +0100 ++++ holotz-castle-1.3.8.new/src/HCRope.cpp 2006-09-23 15:58:27.000000000 +0200 +@@ -127,12 +127,12 @@ + + u32 HCRope::Load(JRW &file) + { +- if (0 == file.ReadLE32((u32 *)&period) || ++ if (0 == file.ReadLE32(&period) || + 0 == file.ReadLE32(&litude) || + 0 == file.ReadLE32(&length) || + 0 == file.ReadLE32(&subtype) || +- 0 == file.ReadLE32((u32 *)&pos.x) || +- 0 == file.ReadLE32((u32 *)&pos.y)) ++ 0 == file.ReadLE32(&pos.x) || ++ 0 == file.ReadLE32(&pos.y)) + { + fprintf(stderr, "Error reading rope parameters.\n"); + +@@ -161,12 +161,12 @@ + + u32 HCRope::Save(JRW &file) + { +- if (0 == file.WriteLE32((u32 *)&period) || ++ if (0 == file.WriteLE32(&period) || + 0 == file.WriteLE32(&litude) || + 0 == file.WriteLE32(&length) || + 0 == file.WriteLE32(&subtype) || +- 0 == file.WriteLE32((u32 *)&pos.x) || +- 0 == file.WriteLE32((u32 *)&pos.y)) ++ 0 == file.WriteLE32(&pos.x) || ++ 0 == file.WriteLE32(&pos.y)) + { + fprintf(stderr, "Error writing rope parameters.\n"); + --- holotz-castle-1.3.9.orig/debian/patches/01_jlib_makefile.patch +++ holotz-castle-1.3.9/debian/patches/01_jlib_makefile.patch @@ -0,0 +1,13 @@ +diff -ruN holotz-castle-1.3.8.orig/JLib/Makefile holotz-castle-1.3.8.new/JLib/Makefile +--- holotz-castle-1.3.8.orig/JLib/Makefile 2006-01-20 13:59:37.000000000 +0100 ++++ holotz-castle-1.3.8.new/JLib/Makefile 2006-09-23 15:58:26.000000000 +0200 +@@ -19,7 +19,8 @@ + endif + + # Define -D_JLIB_DEBUG to debug JLib. Compile the app to debug also with this flag +-CFLAGS=-I. -O3 -ffast-math -fPIC -Wall -Wshadow `$(SDL_CONFIG) --cflags` ++MORE_CFLAGS= -O3 ++CFLAGS=-I. $(MORE_CFLAGS) -ffast-math -fPIC -Wall -Wshadow `$(SDL_CONFIG) --cflags` + + # Sample LDFLAGS for applications + # LDFLAGS=-L. -ffast-math -lSDL_image -lSDL_ttf -lSDL_mixer `$(SDL_CONFIG) --libs` --- holotz-castle-1.3.9.orig/debian/patches/series +++ holotz-castle-1.3.9/debian/patches/series @@ -0,0 +1,8 @@ +01_jlib_makefile.patch -p1 +02_makefile.patch -p1 +03_manpage.patch -p1 +04_editor_manpage.patch -p1 +05_jlib.patch -p1 +06_casts.patch -p1 +07_hcenemy.patch -p1 +08_jlib_jtree.patch -p1 --- holotz-castle-1.3.9.orig/debian/patches/02_makefile.patch +++ holotz-castle-1.3.9/debian/patches/02_makefile.patch @@ -0,0 +1,22 @@ +diff -ruN holotz-castle-1.3.8.orig/src/Makefile holotz-castle-1.3.8.new/src/Makefile +--- holotz-castle-1.3.8.orig/src/Makefile 2006-01-20 13:59:38.000000000 +0100 ++++ holotz-castle-1.3.8.new/src/Makefile 2006-09-23 15:58:27.000000000 +0200 +@@ -25,7 +25,7 @@ + HC_BASE = /usr/share/games/holotz-castle/ + HC_DATA = $(HC_BASE)game/ + HCED_DATA = $(HC_BASE)editor/ +-HC_BIN_DIR = /usr/local/bin/ ++HC_BIN_DIR = /usr/games/ + endif + + DEFINES = -DHC_DATA_DIR=\"$(HC_DATA)\" -DHCED_DATA_DIR=\"$(HCED_DATA)\" +@@ -42,7 +42,8 @@ + + # Definir -D_JLIB_DEBUG para debug con JLib. Ponerlo también en el Makefile de JLib. + # Define -D_JLIB_DEBUG for JLib debug mode. Put it also in JLib's Makefile. +-CFLAGS=-I. -I../JLib -O3 -Wall -Werror -Wshadow $(CPU_OPTS) -ffast-math -c `$(SDL_CONFIG) --cflags` ++MORE_CFLAGS= -O3 ++CFLAGS=-I. -I../JLib $(MORE_CFLAGS) -Wall -Werror -Wshadow $(CPU_OPTS) -ffast-math -c `$(SDL_CONFIG) --cflags` + LDFLAGS=-L. -ffast-math -lSDL_image -lSDL_ttf -lSDL_mixer `$(SDL_CONFIG) --libs` + + --- holotz-castle-1.3.9.orig/debian/patches/05_jlib.patch +++ holotz-castle-1.3.9/debian/patches/05_jlib.patch @@ -0,0 +1,140 @@ +diff -ruN holotz-castle-1.3.8.orig/JLib/JLib/Util/JFS.cpp holotz-castle-1.3.8.new/JLib/JLib/Util/JFS.cpp +--- holotz-castle-1.3.8.orig/JLib/JLib/Util/JFS.cpp 2006-01-20 13:59:37.000000000 +0100 ++++ holotz-castle-1.3.8.new/JLib/JLib/Util/JFS.cpp 2006-09-23 15:58:26.000000000 +0200 +@@ -1112,7 +1112,7 @@ + // Lee los datos desde el formato adecuado + if (JFS_COMPRESSED(index[id]->res)) + { +- if (0 == (size = resFile.ZRead((void **)&buff))) ++ if (0 == (size = resFile.ZRead(&buff))) + { + fprintf(stderr, "JFS::Export - Error reading compressed resource\n"); + delete[] buff; +diff -ruN holotz-castle-1.3.8.orig/JLib/JLib/Util/JRW.cpp holotz-castle-1.3.8.new/JLib/JLib/Util/JRW.cpp +--- holotz-castle-1.3.8.orig/JLib/JLib/Util/JRW.cpp 2006-01-20 13:59:37.000000000 +0100 ++++ holotz-castle-1.3.8.new/JLib/JLib/Util/JRW.cpp 2006-09-23 15:58:26.000000000 +0200 +@@ -7,7 +7,7 @@ + + #include + +-u32 JRW::ZRead(void **buff) ++u32 JRW::ZRead(u8 **buff) + { + u32 len, lenUncomp; + +@@ -112,12 +112,9 @@ + return 0; + } + +- // For compatibility with zlib +- unsigned long sizeCompUL, sizeUL; +- sizeCompUL = sizeComp; +- sizeUL = size; ++ unsigned long sizeCompUL = sizeComp; + +- if (Z_OK != compress2((Bytef*)buffComp, (uLongf*)&sizeComp, (Bytef*)buff, size, level)) ++ if (Z_OK != compress2(buffComp, &sizeCompUL, static_cast(buff), size, level)) + { + delete[] buffComp; + return 0; +diff -ruN holotz-castle-1.3.8.orig/JLib/JLib/Util/JRW.h holotz-castle-1.3.8.new/JLib/JLib/Util/JRW.h +--- holotz-castle-1.3.8.orig/JLib/JLib/Util/JRW.h 2006-01-20 13:59:37.000000000 +0100 ++++ holotz-castle-1.3.8.new/JLib/JLib/Util/JRW.h 2006-09-23 15:58:26.000000000 +0200 +@@ -30,6 +30,8 @@ + #ifndef _JRW_INCLUDED + #define _JRW_INCLUDED + ++#include ++ + #include + #include + #include +@@ -139,7 +141,7 @@ + * @param buff Buffer to fill with the read data uncompressed. + * @return Uncompressed size of the data. + */ +- u32 ZRead(void **buff); ++ u32 ZRead(u8 **buff); + + /** Reads a bool data. The bool is stored as a single byte. + * @param buff Variable with the result. +@@ -195,6 +197,22 @@ + */ + u32 ReadLE32(s32 *buff) {if (0 < SDL_RWread(rwops, buff, 4, 1)) {*buff = SDL_SwapLE32(*buff); return 4;} return 0;} + ++ /** Reads 32-bit IEEE-754 float data in little- endian format. ++ * @param buff Variable with the result in the machine weight. ++ * @return Number of bytes read or 0 (zero) if an error occured. ++ */ ++ u32 ReadLE32(float *fbuff) ++ { ++ typedef char static_assert[sizeof(u32) == sizeof(float) ? 1 : -1 ]; ++ u32 ibuff; ++ if (ReadLE32(&ibuff) == 4) ++ { ++ memcpy(fbuff, &ibuff, sizeof(float)); ++ return 4; ++ } ++ return 0; ++ } ++ + /** Reads a 32-bit unsigned data in big-endian format. + * @param buff Variable with the result in the machine weight. + * @return Number of bytes read or 0 (zero) if an error occured. +@@ -284,6 +302,18 @@ + */ + u32 WriteLE32(s32 *buff) {s32 v = SDL_SwapLE32(*buff); return SDL_RWwrite(rwops, &v, 4, 1);} + ++ /** Writes a 32-bit IEEE-754 float data in little-endian format. ++ * @param buff Variable with the data in the machine weight. ++ * @return Number of bytes written or 0 (zero) if an error occured. ++ */ ++ u32 WriteLE32(const float *fbuff) ++ { ++ typedef char static_assert[sizeof(u32) == sizeof(float) ? 1 : -1 ]; ++ u32 ibuff; ++ memcpy(&ibuff, fbuff, sizeof(u32)); ++ return WriteLE32(&ibuff); ++ } ++ + /** Writes a 32-bit unsigned data in big-endian format. + * @param buff Variable with the data in the machine weight. + * @return Number of bytes written or 0 (zero) if an error occured. +diff -ruN holotz-castle-1.3.8.orig/JLib/JLib/Util/JTypes.h holotz-castle-1.3.8.new/JLib/JLib/Util/JTypes.h +--- holotz-castle-1.3.8.orig/JLib/JLib/Util/JTypes.h 2006-01-20 13:59:37.000000000 +0100 ++++ holotz-castle-1.3.8.new/JLib/JLib/Util/JTypes.h 2006-09-23 15:58:26.000000000 +0200 +@@ -85,10 +85,10 @@ + // use the 8bit and 16bit macros listed here, and using any of the 32-bit macros in this case could + // translate in a segmentation fault during execution. Notice that he 'double' and 'long' types are normally + // twice the size of the architecture +-#define JCAST_8_TO_VOIDPTR(val) ((void *)size_t(*((u8 *)&(val)))) +-#define JCAST_16_TO_VOIDPTR(val) ((void *)size_t(*((u16 *)&(val)))) +-#define JCAST_32_TO_VOIDPTR(val) ((void *)size_t(*((u32 *)&(val)))) +-#define JCAST_64_TO_VOIDPTR(val) ((void *)size_t(*((u64 *)&(val)))) ++#define JCAST_8_TO_VOIDPTR(val) ((void *)(size_t)(val)) ++#define JCAST_16_TO_VOIDPTR(val) ((void *)(size_t)(val)) ++#define JCAST_32_TO_VOIDPTR(val) ((void *)(size_t)(val)) ++#define JCAST_64_TO_VOIDPTR(val) ((void *)(size_t)(val)) + + #define JCAST_S8_TO_VOIDPTR(val) JCAST_8_TO_VOIDPTR((val)) + #define JCAST_U8_TO_VOIDPTR(val) JCAST_8_TO_VOIDPTR((val)) +@@ -101,7 +101,7 @@ + #define JCAST_U64_TO_VOIDPTR(val) JCAST_64_TO_VOIDPTR((val)) + #define JCAST_DOUBLE_TO_VOIDPTR(val) JCAST_64_TO_VOIDPTR((val)) + +-#define JCAST_VOIDPTR_TO_TYPE(p, type) (*((type *)&(p))) ++#define JCAST_VOIDPTR_TO_TYPE(p, type) ((type)(size_t)(p)) + #define JCAST_VOIDPTR_TO_S8(p) JCAST_VOIDPTR_TO_TYPE(p, s8) + #define JCAST_VOIDPTR_TO_U8(p) JCAST_VOIDPTR_TO_TYPE(p, u8) + #define JCAST_VOIDPTR_TO_S16(p) JCAST_VOIDPTR_TO_TYPE(p, s16) +diff -ruN holotz-castle-1.3.8.orig/JLib/JLib/Util/JUtil.cpp holotz-castle-1.3.8.new/JLib/JLib/Util/JUtil.cpp +--- holotz-castle-1.3.8.orig/JLib/JLib/Util/JUtil.cpp 2006-01-20 13:59:37.000000000 +0100 ++++ holotz-castle-1.3.8.new/JLib/JLib/Util/JUtil.cpp 2006-09-23 15:58:26.000000000 +0200 +@@ -209,7 +209,6 @@ + s->w, s->h, fmt->BitsPerPixel, fmt->colorkey, fmt->alpha, + s->flags & SDL_SRCALPHA ? "yes" : "no", + s->flags & SDL_SRCCOLORKEY ? "yes" : "no", +- s->flags & SDL_RLEACCEL ? "yes" : "no", + s->flags & SDL_RLEACCEL ? "yes" : "no"); + fprintf(stderr, + "RGBAmask: R: 0x%08x G: 0x%08x B: 0x%08x A: 0x%08x\n", --- holotz-castle-1.3.9.orig/debian/patches/08_jlib_jtree.patch +++ holotz-castle-1.3.9/debian/patches/08_jlib_jtree.patch @@ -0,0 +1,11 @@ +--- holotz-castle-1.3.8.orig/JLib/JLib/Util/JTree.h 2006-01-20 13:59:37.000000000 +0100 ++++ holotz-castle-1.3.8/JLib/JLib/Util/JTree.h 2006-10-12 19:28:31.000000000 +0200 +@@ -115,7 +115,7 @@ + + /** Destroys the tree. Deletes created nodes (BUT NOT its contents if they are pointers) + */ +- ~JTree() ++ ~JTree() + { + nodes.clear(); + } --- holotz-castle-1.3.9.orig/debian/holotz-castle-data.docs +++ holotz-castle-1.3.9/debian/holotz-castle-data.docs @@ -0,0 +1,6 @@ +MANUAL_EN.txt +MANUAL_ES.txt +MANUAL_FR.txt +MANUAL_RU.txt +MANUAL_EU.txt +MANUAL_UA.txt