No Description

Hiroaki Sakai 3c624a304e Initial version 23 years ago
COPYING 3c624a304e Initial version 23 years ago
COPYRIGHT 3c624a304e Initial version 23 years ago
HISTORY 3c624a304e Initial version 23 years ago
Makefile 3c624a304e Initial version 23 years ago
OMAKE.jpn 3c624a304e Initial version 23 years ago
README 3c624a304e Initial version 23 years ago
WWCharacter.c 3c624a304e Initial version 23 years ago
WWCharacter.h 3c624a304e Initial version 23 years ago
WWCharacterP.h 3c624a304e Initial version 23 years ago
WWColorMap.c 3c624a304e Initial version 23 years ago
WWColorMap.h 3c624a304e Initial version 23 years ago
WWColorMapP.h 3c624a304e Initial version 23 years ago
WWDisplay.c 3c624a304e Initial version 23 years ago
WWDisplay.h 3c624a304e Initial version 23 years ago
WWDisplayP.h 3c624a304e Initial version 23 years ago
WWLCDPanel.c 3c624a304e Initial version 23 years ago
WWLCDPanel.h 3c624a304e Initial version 23 years ago
WWLCDPanelP.h 3c624a304e Initial version 23 years ago
WWPalette.c 3c624a304e Initial version 23 years ago
WWPalette.h 3c624a304e Initial version 23 years ago
WWPaletteP.h 3c624a304e Initial version 23 years ago
WWScreen.c 3c624a304e Initial version 23 years ago
WWScreen.h 3c624a304e Initial version 23 years ago
WWScreenP.h 3c624a304e Initial version 23 years ago
WWSprite.c 3c624a304e Initial version 23 years ago
WWSprite.h 3c624a304e Initial version 23 years ago
WWSpriteP.h 3c624a304e Initial version 23 years ago
WonxDisplay.c 3c624a304e Initial version 23 years ago
WonxDisplay.h 3c624a304e Initial version 23 years ago
WonxDisplayP.h 3c624a304e Initial version 23 years ago
XDisplay.c 3c624a304e Initial version 23 years ago
XDisplay.h 3c624a304e Initial version 23 years ago
XDisplayP.h 3c624a304e Initial version 23 years ago
bank.c 3c624a304e Initial version 23 years ago
comm.c 3c624a304e Initial version 23 years ago
disp.c 3c624a304e Initial version 23 years ago
etc.c 3c624a304e Initial version 23 years ago
etc.h 3c624a304e Initial version 23 years ago
key.c 3c624a304e Initial version 23 years ago
sound.c 3c624a304e Initial version 23 years ago
system.c 3c624a304e Initial version 23 years ago
text.c 3c624a304e Initial version 23 years ago
timer.c 3c624a304e Initial version 23 years ago
wonx.c 3c624a304e Initial version 23 years ago
wonx.h 3c624a304e Initial version 23 years ago

README

Wonx - WonderWitch on X.

Сۤä

Wonx ϤޤԴʦСǤƤʤǽ䡤
Դʵǽư򤹤ʬʤɤäѤޤ
Х䥢ɥХСԤκ湰μޤǡɤɤ᡼뤯
ɥ쥹ϡ
sakai@seki.ee.kagu.sut.ac.jp
hsakai@pfu.co.jp
Ǥ
ޤ꡼ǤǤޤǤϡåץǡȤˤ˹ԤäƤޤ
http://www.seki.ee.kagu.sut.ac.jp/~sakai/WonderWitch/index.html
ǡƤޤ

ߤϺ椬ͤƤޤҤȤǤϺ٤
(ʤäưΰ㤤ʤɡWonderWitch Wonx Ǥ
̯˰ۤʤäƤȻפ)ɤʤΤǤ
Ȥ˥ޥ˥奢˽񤤤Ƥʤʬ˴ؤƤϡWonderWitch ǤϤɤΤ褦
ưΤҤȤǤϥåޤ
Ԥ(Ƥ)Ƥޤ(ΤΦۤǤ)
ä˾ġʤΤ˻ž夲Ƥޤ礦

뤿ˡᤤʳǦǤȤƸޤո˾ʤɤ
ޤޤɤɤ󤻤
(ֻ񤯤Ȥϸ¤ʤ˾ȿǤȤ¤ޤΤ
ϤƼϤ)

Ϥ

Wonx ϡWonderWitch ѤΥץ X ץꥱȤƥѥ뤹
Ρ饤֥Ǥʲħޤ

C٥ǸߴǽäƤΤǡWonderWitch ѤΥץ
UNIXǤΤޤޥѥǤ롥(-lwonx ǥѥ뤹)
UNIXǥǥХåѤƥǥХåǤ褦ˤʤ롥(!)
饯ǡѥåȥǡΥ׵ǽĤͽꡥ
ʰͤ䡤ѥåȤ䥭饯ʤǻѤʤɤ
å顼Ϥ(褦ˤ)顼å롥
ѤǤʤǽ(ؿѰդƤ뤬ޤƤʤäꡤ
äꤷơȤΤ)Ϥ󤢤롥
ɲäƤĤꡥ
β̼̿ñ˻롥(ǥǻäꡤѤ
ץȤäꤹɬפ̵ʤ) ϤȤ٤ꡥ
ߥ졼Ǥʤ饤֥ǤꡤɸƤΤǡ
ͳ˥ޥǽ
®٤٤ǥХåŪΤʤΤǡ®٤®뤳Ȥ
ޤͤƤʤ(嵭ΥǥХåͥ褹)
WonderWitch ѤΥץXdzڤिΤΤǤϤʤ
ޤǥǥХåŪΤΡ(ݥꥷdzȯʤ)

­ʤ

ʲΤΤˤϤޤбƤޤ󡥤äơ㤨ХɴϢ
ؿƤӽФƤ⡤ⵯޤ(δؿˤʤäƤ)

ʸɽϢ (ߥʥˤΤޤ޽Ϥ)
Ȥˡʸǥȥ̤񤤤Ƥ륲ξʤɤϡ
ʤˤɽʤȤˤʤäƤޤΤդƤ
(ưƤƤ⡤̤ǸǤޤäƤ褦˸Ƥޤ)
̼κ٤Ȥ(ɥǽʤ)

ꥢݡ
߽Ϣ
ߤѤƤդƤΤޤޤǤϤޤȤ
ưʤǤ礦
ΤʥȤäƤʤȤݡȤȻפޤ

Wonx

Wonx ϡWonderWitch display_control() Ȥ display_status() Ȥä
ؿ(ƥॳ)ȸߴδؿäƤޤ
δؿϡX˥ɥ򳫤ơ WonderWitch ȸߴư
褦˽񤤤Ƥޤ

Wonx make ȡlibwonx.a Ȥ饤֥꤬Ǥޤ
ǡWonderWitch ѤΥץUNIX -lwonx ƥѥ뤷ƤС
WonderWitch display_control() ȤΤˡWonx display_control()
󥯤졤X ư褦ˤʤ롤ȤȤߤǤ

󥹥ȡ

󥹥ȡ뤹ˤϡʲΤȤԤɬפޤ

Wonx ΥѥˤϡWonderWitch °Υإåե(sys/disp.h Ȥ)
ɬפʤΤǡ򥳥ԡޤ
Wonx 򥳥ѥ뤷ޤ libwonx.a Ǥޤ
إåե(sys/disp.h Ȥ) libwonx.a Ŭڤʥǥ쥯ȥ
֤ޤ
(ץꥱΥѥˤϡWonderWitch °Υإåե뤬ɬ)

󥹥ȡϡʲμǹԤޤ

1. Wonx Ÿ롥

~>% tar xvzf wonx.tar.gz
~>% cd wonx
~/wonx>%

2. WonderWitch °Υإåե򥳥ԡ롥

~/wonx>% mkdir sys
~/wonx>% cp ~/WWitch/include/bank.h sys
~/wonx>% cp ~/WWitch/include/comm.h sys
~/wonx>% cp ~/WWitch/include/disp.h sys
~/wonx>% cp ~/WWitch/include/key.h sys
~/wonx>% cp ~/WWitch/include/sound.h sys
~/wonx>% cp ~/WWitch/include/system.h sys
~/wonx>% cp ~/WWitch/include/text.h sys
~/wonx>% cp ~/WWitch/include/timer.h sys
~/wonx>% cp ~/WWitch/include/types.h sys

3. ʲƤΥե(sys/service.h)롥

~/wonx>% emacs sys/service.h

==== ====
#ifndef _service_h_INCLUDED_
#define _service_h_INCLUDED_

#define far /* None */
#define near /* None */

#endif
==== ޤ ====

sys/service.h ϡdisp.h ʤɤ椫顤
#include
Τ褦ˤƥ󥯥롼ɤޤѥˤ -I. ǥѥ
ΤǡФˤäƤϡsys/sys/service.h ˤɬפ뤫
ޤ(̤ǧ)

4. Wonx make 롥

~/wonx>% make
gcc -c WWCharacter.c -O -I. -I/usr/X11R6/include
gcc -c WWColorMap.c -O -I. -I/usr/X11R6/include
...(ά)...
gcc -c wonx.c -O -I. -I/usr/X11R6/include
ar ruc libwonx.a WWCharacter.o WWColorMap.o WWDisplay.o WWLCDPanel.o WWPalette.o WWScreen.o WWSprite.o WonxDisplay.o XDisplay.o disp.o text.o key.o system.o timer.o etc.o wonx.o
~/wonx>% ls lib*
libwonx.a
~/wonx>%

ޤǤǡ饤֥ȥإåեκϽǤ

WonderWitch ѥץꥱΥѥ

ۺ SpeedMac 򥳥ѥ뤷Ƥߤޤ

1. Ÿ롥

~/wonx>% cd
~>% unzip xvzf smac-b02.zip
...(ά)...
~>% cd smac-b02
~/smac-b02>%

2. إåե libwonx.a 򥳥ԡ롥

~/smac-b02>% mkdir sys
~/smac-b02>% cp ~/wonx/sys/* ./sys
~/smac-b02>% cp ~/wonx/libwonx.a .
~/smac-b02>%

3. Makefile 롥

~/smac-b02>% emacs Makefile

ʲΤ褦˽ޤ

gcc ǥѥ򤹤褦˽롥ΤȤˡѥ륪ץˡ
-I. -I/usr/X11R6/include -L. -L/usr/X11R6/lib -lwonx -lX11 -lXt
ɲä롥
(ɬפʤ顤-g ɲä)
mkfent ˤեΥСȤʤɤä顤롥

4. make 롥

~/smac-b02>% make
gcc -c chara.c -g -I.
gcc -c game.c -g -I.
...(ά)...
gcc -c main.c -g -I.
gcc -g -o smac chara.o game.o man.o mansub.o mansub2.o map.o mapsub.o menu.o monster.o picture.o player.o smac.o stage.o dsp.o etc.o main.o -lwonx -lX11 -lXt -L. -L/usr/X11R6/lib
~/smac-b02>% ls smac
smac
~/smac-b02>%

5. smac ư롥

~/smac-b02>% ./smac



smac ưȡɥޤޤߥʥˤϡ
ʲΥǥХåѤξɽޤ

WonderWitch θߴؿƤФȡͤɽޤ

ޤǤϡʲԤޤ

륭WonderSwan X1X4ܥбƤ롥
i,j,k,l WonderSwan Y1Y4ܥбƤ롥
ڡСȺեȥA,BܥбƤ롥
sSTARTܥбƤ롥
p 򲡤ȡɽ/ɽ⡼ɤؤ롥
(ɽȲ̤ؤԤʤ®)

ɸǤϤʤˤؿƤФ뤿Ӥ˲̤κԤᡤ®Ǥ
Τ褦ʾϡɽ⡼ɤˤƤ



Wonx ϡ湰μ̶ż֤ Libretto ǽ񤤤ʤǤ
GPLۤޤ

湰μϢΥ᡼륢ɥ쥹ϡ
sakai@seki.ee.kagu.sut.ac.jp
hsakai@pfu.co.jp
ǤޤܥեȥκǿǤ
http://www.seki.ee.kagu.sut.ac.jp/~sakai/WonderWitch/index.html
ۤƤޤ

ΥեϤޤ