Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (TipmyPip, AndrewAMD, dBc), 18,430 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Animate.wdl Dependencies #145711
08/04/07 16:19
08/04/07 16:19
Joined: Aug 2003
Posts: 105
Burgess Hill, United Kingdom
EdP Offline OP
Member
EdP  Offline 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 Offline OP
Member
EdP  Offline 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 Offline OP
Member
EdP  Offline 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

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1