#pentagram@irc.freenode.net logs for 29 May 2003 (GMT)

Archive Today Yesterday Tomorrow
Pentagram homepage

[00:15:10] <-- wjp has left IRC ("Zzzz...")
[00:20:37] <-- Dark-Star has left IRC ()
[04:38:43] --> sbx has joined #pentagram
[08:19:57] <DarkeZzz> wjp: (sed) Ug. That's what you get for being paranoid, when half dead after being run off your feet at work. *grin*
[08:20:54] * sbx agrees in a non-controversial manner.
[08:27:15] * servus ponders over beards;)
[08:43:45] <-- sbx has left IRC ("bye")
[09:51:47] --> wjp has joined #pentagram
[09:51:47] --- ChanServ gives channel operator status to wjp
[10:48:11] --- DarkeZzz is now known as Darke
[10:48:17] --- ChanServ gives channel operator status to Darke
[10:54:19] <Darke> "There may be problems with jumps from inside the loop to outside eiher these are forbidden, or we have to detect when jumping to outside a loop? (yuck)" AFAIK, there's no provision for jumping out of a search script (lack of goto, etc), or for search termination. Besides, it's pretty much diametricly opposed to the logic inherent in the language. *grin*
[11:00:26] <Darke> Hmm... UCMachine's a singleton? *ponder* Is it used at such?
[11:00:52] * Darke thwaps himself and decides to ask the code sitting *right* in front of him. Someones he wonders if he bothers to engage brane before coding.
[11:01:30] <servus> 10 goto 10
[11:02:22] <wjp> Darke: yes, it's used as such
[11:02:48] <wjp> although some of the externally used functions could probably become static
[11:02:54] <Darke> Yeah. Lots of places.
[11:03:09] * Darke nods. Probably.
[11:03:25] <wjp> not all, though
[11:04:22] * Darke is just trying to see if it's feasable to derive UCMachine into GUI and Console versions, 'cause it'd be nice if we could support a 'console only' version of ucmachine, that way he could actually test his generated usecode properly without dragging in everything. *grin*
[11:05:16] <wjp> you'd just need a way to get rid of the intrinsics, probably
[11:05:41] <wjp> not impossible
[11:12:02] <Darke> Yup. That was my thought. Essentially just have two derived classes that are basicly skeletons, one with the full set of intrinsics, one with a very stripped down and substituted 'console only' set of intrinsics. Just don't know how easy this will be. *grin*
[11:13:00] <wjp> we'll need to support multiple intrinsic-sets anyway
[11:13:06] * Darke doesn't see any *cough* 'intrinsic' problems with the approach.
[11:13:51] <wjp> I'd just replace the "intrinsics = U8Intrinsics;" by a loadIntrinsics() function
[11:14:08] <wjp> and from the console version call that with a nearly-empty array
[11:15:03] <Darke> 'Maybe'. One of converters I was plotting about, was to merge all the intrinsics into a single set, sorting them out, etc, so our code only had to handle one set of them internally. Like I was going to rename the 0x79 opcode in u8 to the 0x7a one in regret so we'd not have to 'if' that case.
[11:15:18] --> CashDiscoZzz has joined #pentagram
[11:15:25] <Darke> Yup.
[11:15:27] --- CashDiscoZzz is now known as Cashman
[11:16:29] * Darke 's grand plans, of course, require a heck of a lot of work to get anywhere. *grin* Things might be ready in time once we've actually got most of the support for u8 in.
[11:17:43] <Cashman> hi
[11:17:56] <Darke> Hiya.
[11:18:06] <Cashman> hehe hey Darke
[11:21:35] * Darke wonders how many copies of the 'print_bp'/'print_sp' functions we've got floating around the code. He knows of at least three copies. *grin*
[11:24:06] <-- Cashman has left IRC ()
[12:14:52] --> Colourless has joined #Pentagram
[12:14:53] --- ChanServ gives channel operator status to Colourless
[12:15:19] <Colourless> hi
[12:16:03] <wjp> hi
[12:19:31] <Colourless> wjp, what happened to all your timing related changes, i noticed that you didn't commit them :-)
[12:20:16] <wjp> well, they're way to messy to commit :-)
[12:20:26] <wjp> s/to/too/
[12:20:59] <Colourless> :-)
[12:21:08] <Colourless> i guess that I might end up committing them then
[12:21:17] <Colourless> sometime later tonight that is
[12:44:42] <-- Darke has left IRC ("Inficio-Infeci-Infectum")
[12:51:06] --> Darke has joined #pentagram
[12:51:21] --- ChanServ gives channel operator status to Darke
[13:59:49] <Darke> ?date
[13:59:49] <exultbot> It is now Thu May 29 13:59:49 2003 (GMT).
[14:02:01] <Colourless> darke, your clock is 15 minutes fast
[14:02:19] <Darke> Yup. *grin*
[14:15:57] <wjp> Colourless: is there anything weird/special about u8fonts.flx shapes?
[14:17:04] <Colourless> why? is their format autodetected by shapeconv?
[14:17:20] <wjp> well, they refuse to display :-)
[14:18:06] <wjp> even though old/shpdisp displays them just fine
[14:20:57] <Colourless> try using shapeconv to convert the file into pent format, and then back to u8 format. then try using shpdisp
[14:23:47] <wjp> still works
[14:24:04] <Colourless> ok then it should work :-)
[14:24:18] <Colourless> are you setting the palletes for the shapes in pentagram
[14:24:27] * Colourless senses 'no'
[14:24:34] * wjp oopses
[14:24:43] <wjp> we had a per-shape palette, didn't we? *cough*
[14:24:48] <Colourless> i want that palette stuff changed
[14:24:52] <Colourless> i want it per flex
[14:25:09] <wjp> or we can have the flexes set the shape's palette?
[14:26:11] <Colourless> we could
[14:33:45] * Darke uses his psychic ability to determine he should go to sleep now, rather then have masses of random characters spew into the irc window from him falling into a deep, uncomfortable sleep on the keyboard. *grin* Night!
[14:34:06] --- Darke is now known as DarkeZzz
[14:38:10] <wjp> night :-)
[14:44:35] <-- Kirben has left IRC (Read error: 104 (Connection reset by peer))
[14:52:33] <wjp> ugh, way too many locally changed files
[14:57:50] <wjp> ok, I hope that was a disjoint set :-)
[14:59:25] <wjp> a ShapeFlex now has a default palette
[14:59:34] <wjp> I removed the palette stuff from ItemSorter
[15:00:48] <Colourless> great
[15:04:00] <wjp> ugh, llc.cpp in the root directory?
[15:04:36] <wjp> I was kind of planning to keep all sources except pentagrap.cpp away from there
[15:04:36] <Colourless> hm, i don't think it should be in the root dir
[15:05:01] * Colourless thinks tools/compiler 'would' have been the place for it
[15:05:17] * wjp nods
[15:06:58] <DarkeZzz> That would work. Unfortunately, no matter how I fiddled with it, the binary always kept having to be in the root dir.
[15:07:17] <wjp> uh, why?
[15:09:55] <DarkeZzz> Build order. Sub directories are 'made' first, then the parent. The $(GUMP), etc variables are in the root module.mk. If I include references to them in a subdir, they aren't found.
[15:10:27] <wjp> that's not build order :-)
[15:10:32] <wjp> include order, if anything :-)
[15:10:51] <wjp> we're not using recursive make, so the build order should always be correct
[15:10:53] <DarkeZzz> However, because it works the other way around, I have the lexer, etc build rules in the tools/compile/module.mk and the 'main' module.mk finds them correctly.
[15:11:20] <DarkeZzz> A problem with the include order then. *grin*
[15:12:08] <DarkeZzz> I messed around with it for a couple of hours today, but didn't get the 'right' configuration to wrap it all correctly, though I figure it should be possible somehow. *grin*
[15:12:17] <DarkeZzz> Anyway, really should sleep, need to be up again in five hours. *grin*
[15:13:10] * DarkeZzz figures it's just a problem with him not knowing exactly how the make system works, he pored through the various files without much luck deciphering things. *grin*
[15:13:15] * DarkeZzz zzzzz's.
[15:13:23] <wjp> just move the shared variable definitions into a separate file
[15:13:27] <wjp> and include that where it's needed
[15:14:50] <DarkeZzz> Ahh. Ok. I'll poke that tommorrow and try and shuffle things into the appropriate place then.
[15:14:56] <DarkeZzz> Sleep now. *grin*
[15:18:18] * wjp moves llc.cpp to tools/compile
[15:18:45] <wjp> (keeping it in the root's module.mk for now)
[15:26:11] <wjp> text rendering... right...
[15:26:18] <wjp> looks like we'll need some hlead/vlead stuff
[15:26:39] <Colourless> yeah
[15:26:43] <wjp> oh, and a better font would help too :-)
[15:26:51] <Colourless> what better font :-)
[15:26:53] <wjp> this one is really unreadable at this resolution :-)
[15:26:55] <Colourless> there is like only 2 :-)
[15:27:10] <Colourless> of course with multiple colours
[15:31:42] * wjp puts "Test!" at (100,100) in bright orange
[15:32:29] <wjp> it, um, works, somewhat
[16:02:31] --> Cashman has joined #pentagram
[16:02:42] <Cashman> hmm need sleep hehe
[16:02:49] <Cashman> 4am here
[16:04:40] <-- Cashman has left IRC (Client Quit)
[17:50:43] <wjp> back
[17:50:47] <wjp> oh, um
[17:50:55] <wjp> forgot to say I was away for dinner it seems :-)
[17:51:08] <Colourless> :-)
[18:00:10] <wjp> let's see if I can get a basic gump system going (with some BarkGumps or something :-) )
[18:00:27] <wjp> I guess a Gump will need a 'parent' or something
[18:00:44] <wjp> (something it will have to be drawn after)
[18:00:59] <wjp> so all game related gumps would have the GameMapGump as its parent
[18:01:26] <Colourless> that isn't how i was actually going to do things
[18:01:46] <wjp> I'm open for suggestions :-)
[18:02:08] <Colourless> i wasn't going to make th GameMapGump parent for anything.
[18:02:31] <wjp> maybe parent was the wrong word, btw
[18:02:46] <wjp> I mainly meant it for drawing dependencies
[18:03:02] <Colourless> i should probably commit my gump stuff at some stage :-)
[18:03:20] <wjp> ah, you already have some code?
[18:04:03] <Colourless> yeah :-)
[20:21:09] <Colourless> i should go
[20:21:12] <-- Colourless has left IRC ("casts invisibility")
[20:38:05] <-- wjp has left IRC ("gtg")
[23:37:15] --> Kirben has joined #pentagram
[23:37:15] --- ChanServ gives channel operator status to Kirben
[23:51:35] --> sbx has joined #pentagram
[23:51:46] --- sbx is now known as SB-X