🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: rec.games.programmer
Article #2326

HELP: 256 colour bitmap resources in TPW

#2326
From: Patrick Niesink
Date: Mon, 05 Jul 1993 18:57
9 lines
1408 bytes
I have drawn a 256 colour bitmap and stored it in a .RES file for use in a
TPW program.  Unfortunately when I LoadBitmap() the resource, it seems to
give me back a 16-colour bitmap.  (It may be 256 colours, but I can't display
it as such, and believe me I've tried everything.)  So my questions are:

1) does LoadBitmap() support 256-colour bitmaps?
2) If so, how do you draw them? (short sample code would be appreciated!)

Thanks.
Technical Details
Message-ID: <C9pGo6.1ED@wic.waterloo.shl.com>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!news2.uunet.ca!wic!spat
References: <1993Jul1.232014.11160@mnemosyne.cs.du.edu> <C9Ip9w.4u0@eis.calstate.edu> <wyman.741625509@opal8>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10edc5,dc6515a8d4893481
X-Google-Attributes: gid10edc5,public
X-Google-Thread: fe306,dc6515a8d4893481
X-Google-Attributes: gidfe306,public
X-Google-Thread: 108f8e,dc6515a8d4893481
X-Google-Attributes: gid108f8e,public
X-Google-Thread: fc80a,dc6515a8d4893481
X-Google-Attributes: gidfc80a,public
X-Google-ArrivalTime: 1993-07-05 12:09:24 PST
Newsgroups: rec.games.programmer,comp.sys.ibm.pc.games,comp.sys.ibm.pc.games.action,bit.listserv.games-l
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!news2.uunet.ca!wic!spat
From: spat@wic.waterloo.shl.com (Patrick Niesink)
Subject: HELP: 256 colour bitmap resources in TPW
Message-ID: <C9pGo6.1ED@wic.waterloo.shl.com>
Organization: SHL Systemhouse Inc.
References: <1993Jul1.232014.11160@mnemosyne.cs.du.edu> <C9Ip9w.4u0@eis.calstate.edu> <wyman.741625509@opal8>
Distribution: na
Date: Mon, 5 Jul 1993 18:57:41 GMT
Lines: 9