Sky texture for movie packs

For developmental things relating to the graphics of the game.
Post Reply
k
Random Identifier & Project Developer
Posts: 345
Joined: Wed Feb 25, 2004 12:54 am
Location: Northern California, USA

Sky texture for movie packs

Post by k »

I commited changes to src/engine/eDisplay.cpp that add support for a sky.png texture in the moviepack/ directory. The code works the same as for wall textures in gWall.cpp. Since many movie packs do not have a sky texture I default to the standard sky texture if it is missing instead of terminating the program. :o Anyone care to try it in Linux for me?
User avatar
[Xpert]DarkStar
On Lightcycle Grid
Posts: 37
Joined: Tue Jul 20, 2004 9:00 pm
Contact:

Re: Sky texture for movie packs

Post by [Xpert]DarkStar »

k wrote:Anyone care to try it in Linux for me?
all clear, worx fine
k
Random Identifier & Project Developer
Posts: 345
Joined: Wed Feb 25, 2004 12:54 am
Location: Northern California, USA

Post by k »

Great. Thanks.
User avatar
iceman
Reverse Adjust Outside Corner Grinder
Posts: 2448
Joined: Fri Jan 09, 2004 9:54 am
Location: Yorkshire, England. Quote: Its the fumes, they make one want to play
Contact:

Post by iceman »

thats odd

my windows 0.2.6.0 version of armagetron displays the moviepack sky file if present or just black if its not present !

hmmmm :?:
Image He who laughs last, probably has a back-up
Image
Image
sorry about the large animated gif
k
Random Identifier & Project Developer
Posts: 345
Joined: Wed Feb 25, 2004 12:54 am
Location: Northern California, USA

Post by k »

Are you sure? I've always had to copy the moviepack sky texture to the textures/ directory to use it. Before my change the sky texture was hard coded in one place.

Code: Select all

static rTexture sky(rTEX_FLOOR,"textures/sky.png",1,1,true);
User avatar
iceman
Reverse Adjust Outside Corner Grinder
Posts: 2448
Joined: Fri Jan 09, 2004 9:54 am
Location: Yorkshire, England. Quote: Its the fumes, they make one want to play
Contact:

Post by iceman »

hmmm you got me thinkin now
i'll try it and see brb
Image He who laughs last, probably has a back-up
Image
Image
sorry about the large animated gif
Post Reply