0 Members and 2 Guests are viewing this topic.
for(int x = x1; x <= x2; x += 1, ++z_buf, ++screen_buf){ if(__builtin_expect(*z_buf > z, true)) { *z_buf = z; #ifdef TEXTURE_SUPPORT *screen_buf = texture->bitmap[u.floor() + v.floor()*texture->width]; #else *screen_buf = low->c; #endif } #ifdef TEXTURE_SUPPORT u += du; v += dv; #endif z += dz;}
What are your settings for nover to play this?
The use of the touchpad like a mouse is really a great idea!The problem of the splitting into 16x16x16 pixels is that the variation of the length of view can have a factor of 2... Why not split into 8x8x8?
I can't wait to be able to save! :p
The file association works! Could you add a loading bar when we quit the program when it saves the world?
Now, if I could suggest something: make the different same nature blocks distinguishable.
A "saving bar" is unnecessary in my opinion (and difficult to implement as loading/saving isn't async).
How? Exactly how I did it when textures are disabled? (color *= 0.8f)Or two different texture packs?Both versions would increase loading time (before you can see anything) as I either have to precalculate the textures or load another one.Or should I seperate textures from the main executable which also makes "texture packs" possible?
Quote from: Vogtinator on March 09, 2014, 10:07:35 amA "saving bar" is unnecessary in my opinion (and difficult to implement as loading/saving isn't async).It enables the user to know that it is normal that nothing happens and to know how much times he has to wait. If it is difficult to know the time needed to save, you could just display on the screen "saving...".
QuoteHow? Exactly how I did it when textures are disabled? (color *= 0.8f)Or two different texture packs?Both versions would increase loading time (before you can see anything) as I either have to precalculate the textures or load another one.Or should I seperate textures from the main executable which also makes "texture packs" possible?Not like when textures were disabled but put a different luminosity for each side (the same for all tops, the same for all east-oriented faces etc.). But yes for color*=0.8f. Since the loading time is currently really short, I think the better solution is the precalculation.