#pentagram@irc.freenode.net logs for 21 Dec 2005 (GMT)

Archive Today Yesterday Tomorrow
Pentagram homepage


[00:37:50] <-- megawatt has left IRC (Remote closed the connection)
[03:58:39] <Colourless> willem here a few changes to the map dump code
[03:59:10] <Colourless> at the top should have something like this
[03:59:11] <Colourless> // We only support 32 Bits per pixel
[03:59:11] <Colourless> if (RenderSurface::format.s_bpp != 32) return;
[03:59:41] <Colourless> then replace this bit of code you added
[03:59:42] <Colourless> for (int i = 0; i < bwidth*bheight; ++i)
[03:59:42] <Colourless> t->buffer[i] |= 0xFF000000;
[04:00:00] <Colourless> with this to ensure don't get colour swapping
[04:00:00] <Colourless> for (int i = 0; i < bwidth*bheight; ++i)
[04:00:00] <Colourless> {
[04:00:00] <Colourless> // Convert to correct pixel format
[04:00:00] <Colourless> uint8 r, g, b;
[04:00:00] <Colourless> UNPACK_RGB8(t->buffer[i],r,g,b);
[04:00:00] <Colourless> uint8 *buf = reinterpret_cast<uint8*>(&t->buffer[i]);
[04:00:01] <Colourless> buf[0] = b; buf[1] = g; buf[2] = r; buf[3] = 0xFF;
[04:00:03] <Colourless> }
[04:00:58] <Colourless> i'd add it to cvs myself, but my version of pentagram is quite old now
[08:27:15] <wjp> thanks
[08:42:22] <wjp> I'll try to add a 16bpp version as well when I'm integrating libpng
[09:35:25] <-- Colourless has left IRC ("casts improved invisibility")
[13:11:29] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[18:22:45] <-- exultbot has left IRC (signing off...)
[18:24:50] --> exultbot has joined #pentagram
[18:24:50] --- Topic for #pentagram is: Spoon!
[18:24:50] --- Topic for #pentagram set by Darke at Sun Feb 15 13:15:28 2004
[18:58:32] --- ChanServ gives channel operator status to wjp
[19:36:03] --> megawatt has joined #pentagram
[19:36:14] <megawatt> hi.
[19:37:17] <wjp> hi
[19:40:00] <megawatt> I love that smug feeling I get after commiting a large amount of files all with new functionality.
[19:40:18] <megawatt> just need to do that with pentagram sometime ;-)
[19:40:41] <wjp> :-)
[19:42:32] <megawatt> how's the map dump effort? Do we have examples of each map yet?
[19:43:38] <megawatt> I'd love to see if it actually could be stitched together at least a bit
[19:44:46] --> oaC has joined #pentagram
[19:44:51] <-- oaC has left IRC (Client Quit)
[19:44:52] <megawatt> I'd imagine the area around Tenebrae would look good together.
[19:55:15] <wjp> bbl
[20:50:26] <-- megawatt has left IRC ("Chatzilla 0.9.69 [Firefox 1.5/2005111116]")
[20:50:41] --> megawatt has joined #pentagram
[21:27:16] --- ChanServ gives channel operator status to megawatt
[22:05:02] --> Kirben has joined #pentagram
[22:05:02] --- ChanServ gives channel operator status to Kirben
[22:05:37] <-- megawatt has left IRC (Excess Flood)