Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 801 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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 | chip programmers | 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