Gamestudio Links
Zorro Links
Newest Posts
Z12 live performance
by alx. 06/09/26 20:42
Lapsa's very own thread
by Lapsa. 06/08/26 22:41
Stooq now requires an API key
by VHX. 06/08/26 20:14
ZorroGPT
by TipmyPip. 06/06/26 12:36
Zorro 3.01 recoded MMI function issue
by TipmyPip. 06/04/26 05:44
SGT_FW
by Aku_Aku. 05/31/26 11:05
Issues resuming trades on Demo account
by Martin_HH. 05/22/26 13:31
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 5,826 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Seraphinang, Koti, curry, DeepxKalsi, Samed
19219 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
view definition error #276000
07/03/09 04:19
07/03/09 04:19
Joined: Mar 2009
Posts: 276
Cebu City, Philippines
boyax Offline OP
Member
boyax  Offline OP
Member

Joined: Mar 2009
Posts: 276
Cebu City, Philippines
trying some testing defining some View* entity.. encountered an error???
"Error in 'MAIN' line 7: syntax error
< VIEW* 1st_person =
>
"

Code:
#include <acknex.h>
#include <atypes.h>
#include <default.c>

#define PRAGMA_PATH "Models";

VIEW* 1st_person =
{
	layer = 1;
	pos_x = 0;
	pos_y = 0;
	flags = VISIBLE;
}

function init_cameras_startup()
{
  ....
}

function main()
{
	video_mode = 8;
	level_load("test.wmb");
	wait(1);
}



what's wrong? frown I already tried to put #include <atypes.h> and take it off.. still not fixed...

Re: view definition error [Re: boyax] #276004
07/03/09 07:35
07/03/09 07:35
Joined: Mar 2009
Posts: 276
Cebu City, Philippines
boyax Offline OP
Member
boyax  Offline OP
Member

Joined: Mar 2009
Posts: 276
Cebu City, Philippines
nah?!? i've figured this out...
starting definition name with a number is a syntax error


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