#pentagram@irc.freenode.net logs for 19 May 2004 (GMT)

Archive Today Yesterday Tomorrow
Pentagram homepage


[00:02:07] <watt> that's interesting, I just picked up and moved the ground at the tombstone in Carthax lake
[00:28:02] --> TzarSectus has joined #pentagram
[00:28:33] <-- TzarTzarSectus has left IRC (Read error: 104 (Connection reset by peer))
[00:43:06] --> TzarTzarSectus has joined #pentagram
[00:43:06] <-- TzarSectus has left IRC (Read error: 104 (Connection reset by peer))
[00:44:16] --- TzarTzarSectus is now known as Sectus
[01:38:01] <watt> I think the first 4 bits of byte 5 in the typeflag might have something else to do with animation., well bits 1-3 anyway.. all the items which had them I tried where animated with the exception of the etheral void around Mythan's house (which had all 4 bits set)
[01:38:26] --> Kirben has joined #pentagram
[01:38:26] --- ChanServ gives channel operator status to Kirben
[01:39:11] <watt> Most items have bit 0 set, except a few animated items.
[01:41:17] <watt> the others I can't seem to find any noticable differences in the groupings for each bit.
[02:08:11] --- sbx is now known as sbx|afk
[02:51:55] --> timofonic has joined #pentagram
[02:51:57] <timofonic> hi
[02:52:10] <sbx|afk> hi
[03:22:27] <-- Kazin has left IRC (Read error: 54 (Connection reset by peer))
[03:42:32] --> TzarSectus has joined #pentagram
[03:42:32] <-- Sectus has left IRC (Read error: 104 (Connection reset by peer))
[03:42:32] <-- timofonic has left IRC (Connection reset by peer)
[04:55:29] <-- sbx|afk has left IRC (Read error: 113 (No route to host))
[05:16:46] --> TzarTzarSectus has joined #pentagram
[05:16:47] <-- TzarSectus has left IRC (Read error: 104 (Connection reset by peer))
[05:20:39] --> TzarSectus has joined #pentagram
[05:20:40] <-- TzarTzarSectus has left IRC (Read error: 54 (Connection reset by peer))
[05:28:28] <watt> hmmmm... keyrings appear to be the only container (I know of) that has the SI_ROOF flag.
[05:28:40] <watt> curiously, so do keys.
[05:30:13] <watt> oh, and I didn't notice earlier that locked chests are different shapes than unlocked chest... bleh.
[06:42:47] --> TzarTzarSectus has joined #pentagram
[06:42:48] <-- TzarSectus has left IRC (Read error: 54 (Connection reset by peer))
[06:47:28] <watt> got a pretty cool addition to the shapeviewer here.. shape info shown if the shapeflex is a mainshapeflex, however I had to add the runtime classtype stuff to MainShapeFlex, ShapeFlex, and Flex to do it.
[06:48:05] <watt> Thought I should see if that's ok before commiting and possibly having someone scream bloody murder at me
[07:17:50] --> servus has joined #pentagram
[07:55:50] <watt> dammit. can't sleep.
[07:57:55] <wjp> hi
[07:58:05] <wjp> RL or U8? :-)
[07:59:38] <watt> RL.
[07:59:59] <watt> cursed RL.
[08:01:51] <watt> Pentagram bedrolls work quite nicely btw :-)
[08:18:20] --> TzarSectus has joined #pentagram
[08:18:20] <-- TzarTzarSectus has left IRC (Read error: 104 (Connection reset by peer))
[08:27:29] --> servus_ has joined #pentagram
[08:33:53] <-- servus has left IRC (Read error: 60 (Operation timed out))
[08:51:49] --> Colourless has joined #Pentagram
[08:51:49] --- ChanServ gives channel operator status to Colourless
[08:52:50] <wjp> hi
[09:39:11] <-- TzarSectus has left IRC ("Leaving")
[10:33:40] --> servus__ has joined #pentagram
[10:53:40] <-- servus_ has left IRC (Read error: 113 (No route to host))
[11:39:42] --> xama has joined #pentagram
[11:46:08] <-- xama has left #pentagram ()
[12:22:56] <Colourless> amazing.... one of my spam filtered messages supposedly came from my email address, but with the name "Thelma Muller" :-)
[12:23:05] <Colourless> and yes, the from and to email address were the same :-)
[12:35:08] * Ember snerks.
[12:35:18] --- Ember is now known as Darke
[12:35:24] <Darke> Most amusingness.
[12:35:28] --- ChanServ gives channel operator status to Darke
[12:35:31] <Colourless> :-)
[14:05:13] <-- Kirben has left IRC ("System Meltdown")
[15:09:07] <watt> Morning....ish.
[15:09:38] <wjp> morning
[15:10:00] <Colourless> morning
[15:10:16] * Colourless looks at clock.... 00:40.... yes morning
[15:11:11] <watt> well, I guess it's only 10:00am here. But I managed to get sleep around 5:30am
[15:14:51] <watt> Anywho... guess I'll pester again about runtime classtype stuff being added into Flex & subclasses.... Is it allowed by the Rules (tm)?
[15:19:59] <Colourless> that stuff can be used with any classes
[15:22:46] <watt> ok. well, I think I'll go ahead any commit this then.
[15:57:05] <wjp> no complaints here
[15:57:19] <wjp> did you add it to all Flex subclasses?
[15:57:47] <wjp> probably not really necessary at this time, though
[15:58:44] <wjp> bbl, going home
[18:12:30] --> Sectus has joined #pentagram
[18:23:12] <wjp> hm, oh, I'm back, come to think of it :-)
[18:23:16] <Colourless> :-)
[18:54:42] --> TzarSectus has joined #pentagram
[18:54:42] <-- Sectus has left IRC (Connection reset by peer)
[19:40:49] <watt> anyone opposed to ShapeFlex having a uint32 getShapeNum(Shape *) method? Gumps still need to save shapes properly and I think comparing all the pointers wouldn't be too bad of a way.
[19:41:33] <wjp> hm, I don't really like that
[19:42:00] <wjp> what do you need it for?
[19:42:52] <watt> saving gumps. The background shape still doesn't save and load.
[19:43:48] <watt> I agree it's probably not an extremely nice way of going about it
[19:43:59] <wjp> how would you get the ShapeFlex the Shape belongs to?
[19:45:47] <watt> through gamedata... it pretty much a given that the shape for a gump is from GumpShapeFlex... I know, still no guarantee.
[19:46:30] <wjp> should we ever add our own custom gumps with custom graphics that won't be true
[19:46:58] <watt> very true...
[19:48:35] <watt> so, another idea is that we could have Shape know where it can from, holding it's number and some identifier to the ShapeFlex that created it (can't be a pointer)
[19:48:51] <watt> I'm not fond of that either though.
[19:49:33] <wjp> I can't really think of any other way to do it
[20:34:20] <Colourless> going
[20:34:24] <-- Colourless has left IRC ("casts invisibility")
[21:00:44] <-- TzarSectus has left IRC ("Leaving")
[21:00:49] --> Sectus has joined #pentagram
[21:22:31] <watt> So, I guess an identifier of some sort needs to be added to ShapeFlex, I'm a little hesitant to make that id a string, since that id would be saved for every shape which belongs to that shapeflex.
[21:22:58] <wjp> we were thinking of a simple enum
[21:23:22] <watt> yes, that would work.
[21:23:29] <wjp> possible shape sources: shapes, gumps, pentagram, pentagram-game, pentagram-lang, pentagram-game-lang
[21:23:51] <wjp> only the first two actually exist currently :-)
[21:24:28] <wjp> the others would be data files 'shipped' with pentagram; possible containing game and language specific shapes
[21:25:02] <watt> fonts included in that enum?
[21:25:16] <wjp> hm, no need I think
[21:30:15] <wjp> 'other' should also be a member of that enum, probably
[21:30:24] <wjp> with value 0, I would say :-)
[21:34:38] <watt> for now, I'm only adding in other, mainshapes, and gumps to GameData. I figure the others can be added when needed.
[21:34:51] <watt> - as the enum
[21:34:53] <wjp> sure
[21:35:25] <wjp> maybe add a comment about those possible future pentagram shape sources
[21:35:59] <watt> ok.. actually... I think the enum might be in ShapeFlex itself... not sure
[21:36:38] * wjp hmms
[21:36:45] <wjp> gamedata, shape or shapeflex
[21:37:04] <watt> yeah... one of em....
[21:37:34] <wjp> I think gamedata
[21:37:51] <wjp> since code would usually want to use a value from the enum to actually get a ShapeFlex*
[21:38:30] <watt> true, but ShapeFlex and Shape need to include GameData then.......
[21:38:46] <watt> or... maybe not
[21:39:05] <watt> just use a uint16 as the id?
[21:39:14] <watt> for ShapeFlex and Shape.
[21:39:54] <wjp> I have no particular objection to that, I guess
[21:40:16] <wjp> but GameData.h is fairly lightweight anyway
[21:56:35] <wjp> hm, speaking of headers, I should probably see if I can implement support for gcc 3.4's PCH into our build system
[22:26:46] --> Kirben has joined #pentagram
[22:26:46] --- ChanServ gives channel operator status to Kirben
[23:00:31] <watt> success
[23:05:07] <watt> also removing shapenum from readableGump, since gump should be saving it
[23:05:16] * wjp nods
[23:06:29] <wjp> 3 minutes 25 seconds with PCH enabled in gcc 3.4
[23:06:50] <watt> and without?
[23:06:54] <wjp> trying now :-)
[23:07:22] <watt> It'd be nice to have the total speedup known
[23:09:30] <watt> oooh... and I should be able to finish the save on buttonwidget too
[23:10:55] <wjp> :-)
[23:11:57] <wjp> 6:01
[23:12:35] <wjp> although it's not really a fair comparison since I was using gcc 3.4 for the build with PCH and gcc 3.3.2 for the one without PCH
[23:17:15] <watt> Yeah. Still a nice speedup
[23:19:27] <watt> ya know.. I could remove fontnum from ReadableGump too... TextWidget save it.
[23:19:58] <wjp> and the textwidget 'pointer' too :-)
[23:20:34] <watt> oh, I meant from thw save,
[23:20:45] <wjp> me too
[23:21:25] <wjp> although I also don't think you need the objid of the textwidget in ReadableGump
[23:21:50] <wjp> (ScrollGump and BookGump keep it around because they need to interact with the TextWidget to scroll)
[23:21:57] <watt> oh.. the objectId of the textwidget.... I dunno..
[23:22:05] <watt> oh.
[23:22:43] <watt> That does clear up a bit of confusion for me.
[23:24:16] <watt> but I might still think about merging ScrollGump into ReadableGump....
[23:26:20] <wjp> hm, we could try to merge all the 'readables' (plaques, graves, scrolls, books)
[23:26:42] <wjp> but it might end up just becoming messier
[23:29:33] <watt> books would likely make it fairly messy
[23:29:42] <wjp> yes
[23:29:46] <watt> I think scrolls would merge nicley
[23:29:50] --> Ember has joined #pentagram
[23:30:23] <watt> confirmed ButtonWidget saving and loading properly.... very cool
[23:31:28] <wjp> ugh, I should've been in bed an hour ago
[23:31:41] <servus__> Poor you, lucky bed
[23:32:08] <watt> hehe
[23:32:11] <wjp> so I guess I'm leaving :-)
[23:32:13] <wjp> 'night
[23:32:15] <servus__> Bye
[23:32:18] <watt> night
[23:38:06] <-- Darke has left IRC (Read error: 60 (Operation timed out))
[23:58:42] --> TzarSectus has joined #pentagram
[23:58:43] <-- Sectus has left IRC (Connection reset by peer)