Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, LucasJoshua, 1 invisible), 555 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19053 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: /* comment /* [Re: FBL] #397599
03/21/12 07:50
03/21/12 07:50
Joined: Mar 2011
Posts: 3,150
Budapest
sivan Offline
Expert
sivan  Offline
Expert

Joined: Mar 2011
Posts: 3,150
Budapest
this #define-ifdef-ifndef-else-endif thing is also really useful when you want to compare the performance of 2 different solutions for the same task (I'm just doing it)!


Free world editor for 3D Gamestudio: MapBuilder Editor
Re: /* comment /* [Re: sivan] #398338
03/31/12 13:32
03/31/12 13:32
Joined: Aug 2003
Posts: 902
Van Buren, Ar
Gordon Offline
User
Gordon  Offline
User

Joined: Aug 2003
Posts: 902
Van Buren, Ar
The #ifdef also lets you add functionality only when something else is defined like say the blocking define for a module i.e. modname_h. I use this it my latest contribution to handle if the loading bar manager is in the program. It first off controls whether I need to include the semaphore manager and then adds support for calling the loading bar manager... If I don't need the loading bar it configures for running without it.


Our new web site:Westmarch Studios
Page 2 of 2 1 2

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