Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Compilation Bump (https://forums.graalonline.com/forums/showthread.php?t=81295)

Inverness 08-21-2008 07:33 PM

Quote:

Originally Posted by zokemon (Post 1416209)
My god, seriously? You know how long I've been trying to get that?

Just an idea though, I think it would be better if you had like layer[i].tilelayers[x] instead. By default, layer[0].tilelayercount would be 1 and layer[i].tilelayercount for all other i except 1 would be equal to 0.
<snip>
For backwards compatibility, the level.tilelayers array would just be a reference to level.layer[0].tilelayers.

Make sense?

No, Stefan's way is better.

The tilelayer already has alpha, red, green, and blue variables, so adding layer would fit right in.

The layer variable also doesn't work the way you're making it look in your example.
Quote:

Originally Posted by zokemon (Post 1416209)
I mean, it would be pretty wierd to have tilelayers[0] at layer 0, tilelayers[1] at layer 3 and tilelayers[2] at layer 1, you know?

Its not like you're going to be able to tell, so don't worry about how other people do it.

zokemon 08-22-2008 11:05 AM

If you say so. I just imagining it would make it run worse and render slower but whatever, quality is no concurn, I guess.

Inverness 08-22-2008 08:33 PM

Quote:

Originally Posted by zokemon (Post 1416460)
If you say so. I just imagining it would make it run worse and render slower but whatever, quality is no concurn, I guess.

Let Stefan worry about that stuff. Hes the one who coded it in the first place so I'm sure he would know how to do it better than you.

Crow 07-01-2009 04:10 PM

I just stumbled upon this, and I think it doesn't hurt bumping it. As a reminder for Stefan, and maybe for others who have some more ideas.


All times are GMT +2. The time now is 05:57 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.