Jump to content

View more

Image of the Day

雑魚は多めにして、爽快感重視にしつつ・・・(´・ω・`)
早いとこ、ベースを作って、完成にもっていかないとね。
タイトルもまだ迷ってるだよなぁ。 
#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Creating palletized 8Bit surfaces with DDraw

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
3 replies to this topic

#1 Ridcully   Members   

122
Like
Likes
Like

Posted 16 February 2000 - 07:46 AM

hi my application uses 16bit fullscreen mode / windows desktop to blit offscreen surfaces to the primary surface. the offscreen surfaces contain bitmaps loaded from a palletized 8bit file, and because the primary surface is 16bit they are converted to this format in the memory now my question is, how can i create 8bit surfaces with a primary 16bit surface? must i attach a pallete to the offscreen surface or initialize it differently? thanks ridcully

#2 Anonymous Poster_Anonymous Poster_*   Guests   

Likes

Posted 17 February 2000 - 06:00 AM

okay, i''ll change my question a bit:

is it POSSIBLE to store a 8bit surface in memory with a display mode of 16bit?

thanks again
ridcully

#3 Staffan   Members   

122
Like
Likes
Like

Posted 22 February 2000 - 08:00 AM

Nope. I think not. I remember seeing something on this in the MSDN docs but i can''t seem to find it. Anyways, if you somehow find out how to do it feel free to drop me a note Doing asm routines to do the job is much more challenging, though.

#4 Ridcully   Members   

122
Like
Likes
Like

Posted 22 February 2000 - 08:43 AM

okay, i see it really isn''t possible in a clean way...
would have slown down my blitter anyways




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.