Animate.wdl Dependencies

Posted By: EdP

Animate.wdl Dependencies - 08/04/07 16:19

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?
Posted By: EdP

Re: Animate.wdl Dependencies - 08/04/07 18:33

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;
}
Posted By: EdP

Re: Animate.wdl Dependencies - 08/05/07 11:53

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;
© 2024 lite-C Forums