#pentagram@irc.freenode.net logs for 6 Dec 2003 (GMT)

Archive Today Yesterday Tomorrow
Pentagram homepage

[00:00:10] --> Kirben has joined #pentagram
[00:00:10] --- ChanServ gives channel operator status to Kirben
[00:19:26] <-- Fingolfin has left IRC ("42")
[00:21:47] <-- wjp has left IRC ("Zzzz....")
[02:19:01] <-- Dark-Star has left IRC ()
[05:01:21] --> watt has joined #pentagram
[05:01:31] <watt> hi.
[06:17:57] <-- EsBee-Eks has left IRC (Read error: 60 (Operation timed out))
[06:27:15] --> EsBee-Eks has joined #pentagram
[06:47:01] --> sbx has joined #pentagram
[06:47:02] <-- EsBee-Eks has left IRC (Read error: 104 (Connection reset by peer))
[07:07:02] --> EsBee-Eks has joined #pentagram
[07:07:03] <-- sbx has left IRC (Read error: 104 (Connection reset by peer))
[07:11:40] <-- EsBee-Eks has left IRC (Client Quit)
[08:44:07] --- ChanServ gives channel operator status to Darke
[11:50:36] --> wjp has joined #pentagram
[11:50:36] --- ChanServ gives channel operator status to wjp
[12:00:15] <wjp> hi
[12:06:31] --> Colourless has joined #Pentagram
[12:06:34] --- ChanServ gives channel operator status to Colourless
[12:06:42] <wjp> hi Ryan
[12:07:38] <Colourless> hi
[12:12:09] <Darke> Hi.
[13:15:51] <wjp> we should really get rid of all those footpad-multiplication-factors
[13:16:02] <wjp> (the 'xd *= 32; yd *= 32; zd *= 8;' everywhere)
[13:16:54] <Colourless> yes we should
[13:17:15] <wjp> can we get away with doing that in getFootpad?
[13:17:44] <Colourless> i can't see why we can't
[13:18:36] <wjp> getFootpad is only used a few dozen times luckily
[13:19:01] <wjp> only minor issue is probably the intrinsic
[13:19:01] <Colourless> all those constants anyway should be put 'somewhere'
[13:19:23] <wjp> since that should obviously get the 'original' footpad
[13:19:28] <Colourless> maybe a macro could be used to do the multiplications for the footpad if you are concerned
[13:24:35] <wjp> ok, all calls to getFootpad except those in the intrinsic manually multiply the returned values, as expected
[13:25:44] <wjp> how about having 2 functions? One returning the real-world footpad (getFootpad) and one returning the one like it's in the data files?
[13:25:59] <wjp> we should probably rename the intrinsic to have the same name as the latter function
[13:26:08] <wjp> (not sure what that name would be, though)
[13:26:27] <Colourless> getWorldFootpad()
[13:27:16] <Colourless> and something
[13:27:39] <Colourless> or perhaps getFootpadWorld() would be a better order
[13:28:00] <Colourless> i'm thinking getFootpadTypeflag() for the other type, but it seems a little long
[13:29:41] <wjp> getFootpadData?
[13:29:46] <wjp> getFootpadTF?
[13:30:32] <Colourless> getFootpadData would be ok
[13:31:01] <Colourless> all the functions are going to be documented so confusion shouldn't be a problem
[13:31:09] <Colourless> and anyway, we'll know, and that's what matters :-)
[13:35:13] * Darke briefly ponders whether he should get Colourless' "all the functions are going to be documented" comment in writing, or he should just giggle at it. *grin*
[13:35:35] <wjp> well, the two functions he mentioned definitely are documented now :-)
[13:36:08] <wjp> Colourless: any idea why the Avatar's dimensions are halfed in CameraProcess::FindRoof?
[13:36:33] <Darke> Ah, that's right, we're doing that javadoc like stuff here and there. *grin*
[13:37:30] <Colourless> Yes i know why it's like that. Care to know why?
[13:37:39] <wjp> Darke: and don't you forget it ;-)
[13:37:48] <wjp> Colourless: nah, as long as it's there for a reason it's ok :-)
[13:38:42] * Darke adds 'document stuff' to his list of code he needs to somehow get time to write, sometime soon. *grin*
[13:41:39] <wjp> right, that should do it
[13:46:48] <wjp> committed
[14:44:53] <-- Kirben has left IRC ("System Meltdown")
[14:50:01] <wjp> hm, I'm trying to drop a fish onto another fish
[14:50:10] <wjp> it should fall to z=24, but somehow it sticks at z=25
[14:50:28] <wjp> (which means it won't fall down when the fish below it is removed)
[14:51:40] <wjp> it's fairly reproducable, too
[14:55:26] <Colourless> busted collision detection obviously
[15:09:01] <wjp> rounding error
[15:09:33] <wjp> in CurrentMap::SweepItem::GetInterpolatedCoords
[15:10:06] <wjp> ((end-start)*hit_time)/0x4000 = -19.998535
[15:10:23] <wjp> which gets rounded to -19 but should be -20
[15:13:29] <Colourless> well then, put an +2000 after *hit_time
[15:13:49] <Colourless> s/2000/0x2000/
[15:14:15] <wjp> could that make items move 'into' eachother?
[15:14:55] <wjp> btw, +0x2000 will just move it away further from -20
[15:16:27] <wjp> it has to be a +/- 0x2000 depending on the sign of end-start, I guess
[15:16:52] <Colourless> uh :-)
[15:19:59] <wjp> hm?
[16:32:29] <watt> I've been looking at the mouse controls in GUIApp. Should they go into a separate class at some point?
[16:43:04] <wjp> don't think so; why?
[16:45:36] <watt> Input binding. that is if you wish to allow users to bind mouse controls other than the default L/R.
[16:46:09] <watt> although it's ok if they can't.. not much reason to need this.
[16:47:20] <wjp> hm, I wasn't planning to make mouse buttons remappable
[16:47:36] <wjp> (other than maybe left/right-handedness)
[16:49:43] <watt> I was thinking it would be nice to toggle backback or combat (when it becomes useful) from extra mouse buttons on my intellamouse.
[16:50:15] <watt> but like I said.. no big deal.
[16:51:59] <wjp> I guess if you have extra mouse buttons it would be nice to be able to use those
[18:37:44] <wjp> watt: did we ever mention http://www.math.leidenuniv.nl/~wpalenst/pentagram/doxygen/ to you?
[20:00:33] <-- Colourless has left IRC ("casts invisibility")
[21:39:44] <watt> no. .I never saw that.. cool
[21:47:12] <wjp> we're trying to document most of our classes/functions with doxygen-comments
[21:47:43] <wjp> (the //! comments)
[21:49:19] <Darke> Or at least in my case, I'm trying to remember we're documenting stuff. *grin* *duck!*
[21:49:44] * wjp sticks a "DOCUMENT!" note to Darke's monitor
[21:49:49] <wjp> there, that should help a bit ;-)
[21:49:57] <watt> oh.. that would be a good thing for me to do while I learn the code.. add doco when I feel it might be needed.
[21:50:23] <wjp> we'd really appreciate that :-)
[21:52:10] * Darke watches the wind suddenly, *completely* spontaneously pick-up and blow the 'DOCUMENT!' note off his monitor, and around to somewhere he won't see it. Oops!
[21:54:23] * wjp sticks a new "DOCUMENT!" note on Darke's monitor with SuperGlue(tm)
[21:54:41] <wjp> oops, maybe I should've put it on the side instead of in the middle
[21:54:54] <watt> how often is the doco generated?
[21:55:09] <wjp> everytime I press this Big Red Button(tm) here ;-)
[21:55:24] * watt likes refering to Documentation as Doco
[21:56:00] <watt> It's a touch behind on GUIApp
[21:56:12] * Darke repeatedly presses wjp's button.
[21:58:02] * wjp hopes it was safe to run that shell script multiple times simultaneously
[21:59:06] <Darke> Darnit! I was hoping for a meltdown or explosion or something. BRBs don't seem to do anything impressive nowdays. *pout*
[22:01:43] <watt> syntax error - output stream 'pout' now accesses properly.
[22:02:05] * watt hurts self for making lame joke
[22:03:17] <watt> s/now accesses/not accessed/
[22:03:28] * watt hurts self again
[22:04:26] * Darke watches watt attempting to challenge Colourless for the 'worse pun maker' title, and along the way accidentally challenge him for 'most typos in a pose' too, though he's certainly not as good yet. *grin*
[22:12:05] <watt> oh.. it only shows public members
[22:14:13] <wjp> it does?
[22:14:39] <wjp> scroll down a bit
[22:16:48] <watt> yeah... I'm not seeing getMouseFrame()
[22:16:59] <watt> oh ity show protected too
[22:17:28] <watt> s/ity show/it shows/
[22:18:00] <watt> s/^.*$/watt cannont type to save his life/g
[22:21:22] <watt> I can't even spell cannot today... wow..
[22:22:02] <wjp> you're seriously going to try to beat Colourless' typo record, are you? ;-)
[22:22:50] * watt thinks.
[22:23:18] <watt> Um, sure.. that's what I'm trying to do *ehem*
[22:23:45] * watt tries to look innocent
[22:25:03] <Darke> Oi! That's my line!
[22:25:25] <watt> ? it is?
[22:25:33] * Darke thinks watt is trying to come in here and replace all of us. *grin*
[22:27:08] <Darke> Or at least everyone except wjp anyway. *grin*
[22:27:29] <Darke> Anyway, got to hop off to work (yay, on a sunday) now, bye!
[22:32:58] <wjp> bye
[22:33:22] * watt laughs maniacally
[22:33:26] <watt> oh bye.
[22:36:40] <watt> hmm... I can't cvs up -d
[22:37:02] <watt> but I can cvs up?
[22:37:17] <wjp> eh?
[22:37:51] <watt> an now I can... huh?
[22:37:56] <wjp> SF's anonymous CVS is limited to a fixed number of simultaneous connections
[22:38:04] <wjp> so maybe their servers are a bit busy
[22:38:10] <watt> oh
[23:42:08] --> Kirben has joined #pentagram
[23:42:08] --- ChanServ gives channel operator status to Kirben