Gamestudio Links
Zorro Links
Newest Posts
NOMAX undeclared identifier.
by Petra. 01/09/26 21:12
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 01/07/26 15:14
Zorro locks DLL
by jcl. 01/07/26 13:33
zorro with ccxt?
by qin. 01/07/26 07:50
The new evaluation system
by jcl. 01/05/26 08:50
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (Quad, LucasJoshua, AndrewAMD), 5,851 guests, and 14 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Namitha_NN, Syndrela, agasior, mosfet, MonsterX
19188 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Replacement for "temp" in Lite-C? #240419
12/10/08 21:10
12/10/08 21:10
Joined: Jul 2005
Posts: 192
Orange County
S
silencer Offline OP
Member
silencer  Offline OP
Member
S

Joined: Jul 2005
Posts: 192
Orange County
Is there a replacement for "temp" in lite-c? I remember temp being very useful because it didn't need to be typecast.

Also for Vectors, is there a vector implementation for C/C-lite, or do we have to write our own?


AMD 64 x2 4400+ 2048mb DDR3200 NVidia 6800GS 256mb Soundblaster Audigy 2 A7 Commercial 7.07
Re: Replacement for "temp" in Lite-C? [Re: silencer] #240433
12/10/08 22:26
12/10/08 22:26
Joined: Oct 2004
Posts: 4,134
Netherlands
Joozey Offline
Expert
Joozey  Offline
Expert

Joined: Oct 2004
Posts: 4,134
Netherlands
VECTOR* can be used for vectors. var temp doesn't need typecast. In fact, nothing needs typecast in c-script, and only a minor amount of code needs typecast in Lite-C. That said, it's not harmful to typecast everything that needs it. In fact, I'd make that common courtesy.


Click and join the 3dgs irc community!
Room: #3dgs
Re: Replacement for "temp" in Lite-C? [Re: silencer] #241244
12/15/08 01:23
12/15/08 01:23
Joined: Oct 2008
Posts: 218
Nashua NH
heinekenbottle Offline
Member
heinekenbottle  Offline
Member

Joined: Oct 2008
Posts: 218
Nashua NH
Originally Posted By: silencer
Is there a replacement for "temp" in lite-c? I remember temp being very useful because it didn't need to be typecast.

Also for Vectors, is there a vector implementation for C/C-lite, or do we have to write our own?


x/y/z, tilt/pan/roll and red/green/blue

are declared as:

VECTOR ANGLE COLOR

respectively.


I was once Anonymous_Alcoholic.

Code Breakpoint;

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