Gamestudio Links
Zorro Links
Newest Posts
Z9 getting Error 058
by k_ivan. 04/20/26 15:57
Stooq now requires an API key
by jcl. 04/13/26 09:42
Strange "Alien" Skull created with >Knubber<
by NeoDumont. 04/10/26 18:58
400 free seamless texture pack downl. here !
by NeoDumont. 04/08/26 19:55
ZorroGPT
by TipmyPip. 04/08/26 17:08
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (alibaba), 3,592 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
valino, juergenwue, VladMak, Geir, ondrej
19209 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
panel problem #153272
09/10/07 17:52
09/10/07 17:52
Joined: Jan 2007
Posts: 295
Portugal
Sam_Be Offline OP
Member
Sam_Be  Offline OP
Member

Joined: Jan 2007
Posts: 295
Portugal
hi

i'm learning lite-c with the workshop and now i have a problem.
i have this code for my panel:
#include <acknex.h>

#include <default.c>

path "C:\\Programas\\GStudio7\\work\\Atlantis";
////////////////////////////////////////////////////////////////////


PANEL* first_pan = //mein erstes panel
{
pos_x = 1;
pos_y = 1;
layer = 1;
bmap = "sgapanel.bmp";
flags = OVERLAY | VISIBLE;
}

function main()
{
video_mode = 11;
screen_color.blue = 150;
}

and the engine comes with this error:


what is the problem ??
can somebody help me??
thx
sam


GS-Extra Looking for a scripter Suche einen scripter. Estou a procura de um "Scripter".
Re: panel problem [Re: Sam_Be] #153273
09/10/07 18:46
09/10/07 18:46
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Happy Birthday Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
Ich hab mich zwar noch nicht zu ausführlich mit lite-c beschäftigt, aber:
paths müssen in eine .wdl Datei, die den Namen der dem Level zugeordneten .c Datei trägt.
Statt function main solltest du void main schreiben und statt video_mode = 11; video_set verwenden.

Edit: Sry, void gibt es in lite-c nicht benutz stattdessen int.

Last edited by Slin; 09/10/07 18:59.

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