Removing some unnecessary code

All topics about ZGameEditor goes here.

Moderator: Moderators

Post Reply
kattle87
Posts: 402
Joined: Wed Sep 26, 2007 9:06 am
Location: Italy

Removing some unnecessary code

Post by kattle87 »

Ok, don't take this too serious or we risk a flame :P

what do you think about removing some of the built-in functions to get the executable less big? We would implement them in separate ZLibraries (EG: acos, asin, clamp function, all the various floor(), ceil(), frac() and round() and so on). But actually I don't know how much we really gain in size...

Moreover, there is one big point for not doing it: you loose retrocompatibility unless you add the library to the project...

What's your opinion about that?
In the fall of 1972 President Nixon announced that the rate of increase of inflation was decreasing. This was the first time a sitting president used the third derivative to advance his case for reelection.
-=Hugo Rossi=-
User avatar
VilleK
Site Admin
Posts: 2277
Joined: Mon Jan 15, 2007 4:50 pm
Location: Stockholm, Sweden
Contact:

Post by VilleK »

The built-in functions are so small so I don't think it would save much. But definitely for future functions we should try to make them as user functions in ZLibraries. And some easy way of including them in new projects so that they will be as simple to use as built-ins.
Post Reply