home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
usenet
/
altsrcs
/
3
/
3012
< prev
next >
Wrap
Internet Message Format
|
1991-03-07
|
5KB
From: mzw_t@hpujsda.HP.COM (Matsuzawa Takashi)
Newsgroups: alt.sources
Subject: Re: oneko dumps core!
Message-ID: <59340001@hpujsda.HP.COM>
Date: 7 Mar 91 03:59:52 GMT
Hope this helps...
####
From mzw_t Mon Mar 4 13:19:03 1991
Relay-Version: version Notes 2.8.4 1990/05/09; site hpujsda.HP.COM
From: mzw_t@hpujsda.HP.COM (Matsuzawa Takashi)
Date: Mon, 4 Mar 1991 04:19:03 GMT
Date-Received: Mon, 4 Mar 1991 04:19:03 GMT
Subject: Re: New Oneko w/ larger kitties!!
Message-ID: <330002@hpujsda.HP.COM>
Organization: YHP Japan Country Products - Tokyo
Path: hpujsda!mzw_t
Newsgroups: hp.sources
Posting-Version: version Notes 2.8.4 1990/05/09; site hpujsda.HP.COM
References: <103320033@hpcvlx.cv.hp.com>
Hi,
In order to compile Oneko in ANSI C compatible mode,
you will have to apply following patch to oneko.c file.
I compiled it under Domain/C 6.8 sometime ago and it
is working well. I believe GCC will do with this patch
(I have not tried it yet, though).
Takashi Matsuzawa,
Japan CPO.
------------- < cut here > -----------
190,225c190,225
< { &Mati2GC, &Mati2Msk },
< { &Mati2GC, &Mati2Msk }, /* NekoState == NEKO_STOP */
< { &Jare2GC, &Jare2Msk },
< { &Mati2GC, &Mati2Msk }, /* NekoState == NEKO_JARE */
< { &Kaki1GC, &Kaki1Msk },
< { &Kaki2GC, &Kaki2Msk }, /* NekoState == NEKO_KAKI */
< { &Mati3GC, &Mati3Msk },
< { &Mati3GC, &Mati3Msk }, /* NekoState == NEKO_AKUBI */
< { &Sleep1GC, &Sleep1Msk },
< { &Sleep2GC, &Sleep2Msk }, /* NekoState == NEKO_SLEEP */
< { &AwakeGC, &AwakeMsk },
< { &AwakeGC, &AwakeMsk }, /* NekoState == NEKO_AWAKE */
< { &Up1GC, &Up1Msk },
< { &Up2GC, &Up2Msk }, /* NekoState == NEKO_U_MOVE */
< { &Down1GC, &Down1Msk },
< { &Down2GC, &Down2Msk }, /* NekoState == NEKO_D_MOVE */
< { &Left1GC, &Left1Msk },
< { &Left2GC, &Left2Msk }, /* NekoState == NEKO_L_MOVE */
< { &Right1GC, &Right1Msk },
< { &Right2GC, &Right2Msk }, /* NekoState == NEKO_R_MOVE */
< { &UpLeft1GC, &UpLeft1Msk },
< { &UpLeft2GC, &UpLeft2Msk }, /* NekoState == NEKO_UL_MOVE */
< { &UpRight1GC, &UpRight1Msk },
< { &UpRight2GC, &UpRight2Msk }, /* NekoState == NEKO_UR_MOVE */
< { &DownLeft1GC, &DownLeft1Msk },
< { &DownLeft2GC, &DownLeft2Msk }, /* NekoState == NEKO_DL_MOVE */
< { &DownRight1GC, &DownRight1Msk },
< { &DownRight2GC, &DownRight2Msk }, /* NekoState == NEKO_DR_MOVE */
< { &UpTogi1GC, &UpTogi1Msk },
< { &UpTogi2GC, &UpTogi2Msk }, /* NekoState == NEKO_U_TOGI */
< { &DownTogi1GC, &DownTogi1Msk },
< { &DownTogi2GC, &DownTogi2Msk }, /* NekoState == NEKO_D_TOGI */
< { &LeftTogi1GC, &LeftTogi1Msk },
< { &LeftTogi2GC, &LeftTogi2Msk }, /* NekoState == NEKO_L_TOGI */
< { &RightTogi1GC, &RightTogi1Msk },
< { &RightTogi2GC, &RightTogi2Msk }, /* NekoState == NEKO_R_TOGI */
---
> {{ &Mati2GC, &Mati2Msk },
> { &Mati2GC, &Mati2Msk }}, /* NekoState == NEKO_STOP */
> {{ &Jare2GC, &Jare2Msk },
> { &Mati2GC, &Mati2Msk }}, /* NekoState == NEKO_JARE */
> {{ &Kaki1GC, &Kaki1Msk },
> { &Kaki2GC, &Kaki2Msk }}, /* NekoState == NEKO_KAKI */
> {{ &Mati3GC, &Mati3Msk },
> { &Mati3GC, &Mati3Msk }}, /* NekoState == NEKO_AKUBI */
> {{ &Sleep1GC, &Sleep1Msk },
> { &Sleep2GC, &Sleep2Msk }}, /* NekoState == NEKO_SLEEP */
> {{ &AwakeGC, &AwakeMsk },
> { &AwakeGC, &AwakeMsk }}, /* NekoState == NEKO_AWAKE */
> {{ &Up1GC, &Up1Msk },
> { &Up2GC, &Up2Msk }}, /* NekoState == NEKO_U_MOVE */
> {{ &Down1GC, &Down1Msk },
> { &Down2GC, &Down2Msk }}, /* NekoState == NEKO_D_MOVE */
> {{ &Left1GC, &Left1Msk },
> { &Left2GC, &Left2Msk }}, /* NekoState == NEKO_L_MOVE */
> {{ &Right1GC, &Right1Msk },
> { &Right2GC, &Right2Msk }}, /* NekoState == NEKO_R_MOVE */
> {{ &UpLeft1GC, &UpLeft1Msk },
> { &UpLeft2GC, &UpLeft2Msk }}, /* NekoState == NEKO_UL_MOVE */
> {{ &UpRight1GC, &UpRight1Msk },
> { &UpRight2GC, &UpRight2Msk }}, /* NekoState == NEKO_UR_MOVE */
> {{ &DownLeft1GC, &DownLeft1Msk },
> { &DownLeft2GC, &DownLeft2Msk }}, /* NekoState == NEKO_DL_MOVE */
> {{ &DownRight1GC, &DownRight1Msk },
> { &DownRight2GC, &DownRight2Msk }}, /* NekoState == NEKO_DR_MOVE */
> {{ &UpTogi1GC, &UpTogi1Msk },
> { &UpTogi2GC, &UpTogi2Msk }}, /* NekoState == NEKO_U_TOGI */
> {{ &DownTogi1GC, &DownTogi1Msk },
> { &DownTogi2GC, &DownTogi2Msk }}, /* NekoState == NEKO_D_TOGI */
> {{ &LeftTogi1GC, &LeftTogi1Msk },
> { &LeftTogi2GC, &LeftTogi2Msk }}, /* NekoState == NEKO_L_TOGI */
> {{ &RightTogi1GC, &RightTogi1Msk },
> { &RightTogi2GC, &RightTogi2Msk }}, /* NekoState == NEKO_R_TOGI */