2 registered members (AndrewAMD, TipmyPip),
13,353
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Animate.wdl Dependencies
#145711
08/04/07 16:19
08/04/07 16:19
|
Joined: Aug 2003
Posts: 105 Burgess Hill, United Kingdom
EdP
OP
Member
|
OP
Member
Joined: Aug 2003
Posts: 105
Burgess Hill, United Kingdom
|
I'm trying to resurrect an old A6 game that I wrote a few years ago, in order to test and update a Delphi Windows wrapper (uses Windows, buttons, memo boxes etc.) that I wrote at the same time.
I am getting stuck on the dependencies for Animate.wdl. I have the obvious ones of move.wdl, movement.wdl etc, but I'm stuck in trying to identify the wdl that contains the define for SHADOWFLAT - can anyone help, or point me to a listing of wdl dependencies?
Ed
|
|
|
Re: Animate.wdl Dependencies
[Re: EdP]
#145712
08/04/07 18:33
08/04/07 18:33
|
Joined: Aug 2003
Posts: 105 Burgess Hill, United Kingdom
EdP
OP
Member
|
OP
Member
Joined: Aug 2003
Posts: 105
Burgess Hill, United Kingdom
|
I've 'grepped' all the wdl files I can find, but 'SHADOWSPRITE' and 'SHADOWFLAT' just aren't there any more. The only problem is that SED complains and stops the build unless these are defined. Does anyone remember how this code in 'Animate.wdl' worked? Looks like its now broken.
// Desc: create a shadow below the entity ACTION drop_shadow { IFDEF CAPS_FLARE; if(VIDEO_DEPTH >= 16) { ent_create(SHADOWSPRITE,MY.POS,move_shadow); } else { ent_create(SHADOWFLAT,MY.POS,move_shadow); } IFELSE; ent_create(SHADOWFLAT,MY.POS,move_shadow); ENDIF; }
Ed
|
|
|
Re: Animate.wdl Dependencies
[Re: EdP]
#145713
08/05/07 11:53
08/05/07 11:53
|
Joined: Aug 2003
Posts: 105 Burgess Hill, United Kingdom
EdP
OP
Member
|
OP
Member
Joined: Aug 2003
Posts: 105
Burgess Hill, United Kingdom
|
I found an old version of Animate - if anyone else has problems with trying to resuscitate obsolete code, these are the missing DEFINES
IFNDEF MOVE_DEFS; SOUND thud,<tap.wav>; SOUND robo_thud,<tap.wav>; //?? SOUND splash,<splash.wav>; DEFINE shadowsprite,<shadow.pcx>; DEFINE shadowflat,<shadflat.pcx>; DEFINE DEFAULT_WALK,13.040; DEFINE DEFAULT_RUN,5.060; ENDIF;
Ed
|
|
|
|