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 (AndrewAMD, TipmyPip, OptimusPrime), 15,229 guests, and 7 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
Is it possible to add Struct/User defined Type? #104379
12/30/06 02:10
12/30/06 02:10
Joined: Jul 2005
Posts: 34
Hong Kong
U
ultranet Offline OP
Newbie
ultranet  Offline OP
Newbie
U

Joined: Jul 2005
Posts: 34
Hong Kong
A few suggestions for C-script:
1.Add Struct/User defined Type to C-Script;
2.Function can have more parameters,at least 15 parameters;
3.Real 2-Dimensional array. It's not convenient to use 1D array to pretend 2D array.
4.Add more skills by the user whenever needed, just like instance variables.
It's not convenient to create a dummy entity to use its 100 skills and 8 flags.

Many Thanks

Re: Is it possible to add Struct/User defined Type? [Re: ultranet] #104380
12/30/06 07:50
12/30/06 07:50
Joined: Oct 2002
Posts: 4,753
Munich, Bavaria, South of Germ...
TripleX Offline
Expert
TripleX  Offline
Expert

Joined: Oct 2002
Posts: 4,753
Munich, Bavaria, South of Germ...
Wait for LiteC.. All things you mentioned will be possible with this new programming language.

Re: Is it possible to add Struct/User defined Type [Re: TripleX] #104381
01/02/07 09:44
01/02/07 09:44
Joined: Jul 2006
Posts: 503
Australia
A
adoado Offline

User
adoado  Offline

User
A

Joined: Jul 2006
Posts: 503
Australia
When will liteC be out just out of curiosity. Its good these features are coming because I agree with ultranet, it would be good to have them. Thanks!


Visit our development blog: http://yellloh.com
Re: Is it possible to add Struct/User defined Type [Re: adoado] #104382
01/02/07 11:09
01/02/07 11:09
Joined: Jul 2001
Posts: 6,904
H
HeelX Offline
Senior Expert
HeelX  Offline
Senior Expert
H

Joined: Jul 2001
Posts: 6,904
its easy, e.g you want a special driver struct for a racing game, you could do it with this:

Code:

typedef struct DRIVER {
char name; //driver name
VECTOR position;
VECTOR angle
double mass;
int rank;
} DRIVER;



I dont know when its out, because its currently under development and beta testing.. so I guess "when its ready"

Though, send JCL an email with your qualifications to become a betatester - by this you are allowed to use the current liteC compiler.

Last edited by HeelX; 01/02/07 11:26.

Moderated by  aztec, Spirit 

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