#exult@irc.freenode.net logs for 2 Jan 2001 (GMT)

Archive Today Yesterday Tomorrow
Exult homepage

[00:01:41] <Fingolfin> woa
[00:01:52] <Fingolfin> commercial break ;)
[00:02:17] <jameson> That's episode 25 right now.
[00:02:50] <jameson> Some people don't like eps 25 and 26...
[00:03:16] <jameson> I found them rather interesting, though.
[00:03:25] <Fingolfin> what I saw so far was interesting for sure!
[00:03:26] <Fingolfin> but
[00:03:40] <Fingolfin> I only saw the last 30 mins or so :(
[00:03:47] <Fingolfin> thus I missed almost an hour !
[00:03:49] <Fingolfin> argh
[00:03:56] <jameson> You missed two episodes.
[00:04:16] <Fingolfin> well, I came home at 23.00 and had to do a lot of unloading/unpacking
[00:04:20] <Fingolfin> so I forgot about it :(
[00:04:50] <jameson> :-/
[00:05:09] <jameson> Re tapes: Wednesday, 14:00, 38/B008
[00:05:20] <wjp> I'm going to bed
[00:05:23] <jameson> Wait, it's not 38 anymore...
[00:05:23] <wjp> goodnight
[00:05:26] <jameson> Good night!
[00:05:35] <-- wjp has left IRC ([x]chat)
[01:02:48] <-- Kirben has left IRC (pohl.openprojects.net barnes.openprojects.net)
[01:02:48] <-- chimera|work has left IRC (pohl.openprojects.net barnes.openprojects.net)
[01:03:04] --> Kirben has joined #exult
[01:03:04] --> chimera|work has joined #exult
[01:46:23] <jameson> I'm going now.
[01:46:28] <jameson> Good night, everyone!
[01:46:34] <Fingolfin> night!
[01:46:36] <-- jameson has left IRC (Leaving)
[01:55:33] <-- Fingolfin has left #exult
[04:10:48] <-- exultbot has left IRC (signing off...)
[14:48:57] --> exultbot has joined #exult
[14:53:19] --> Fingolfin has joined #exult
[14:53:33] <Fingolfin> hiya
[14:53:35] <wjp> hi
[14:54:15] <Fingolfin> I finally got some time to work on a text editior class I am writing... only thing left to do is Undo for typing...
[14:54:30] <Fingolfin> and so far the code looks pretty good, I had to "hack" much less than I feared ;)
[14:54:37] <wjp> good :-)
[14:54:40] <Fingolfin> in fact, it is rather elegant... but not yet working ;)(
[14:55:18] <wjp> :-)
[14:59:17] * wjp takes a look at Jeff's UC compiler
[15:00:28] <wjp> is there a yacc/bison for MacOS, btw?
[15:04:40] <Fingolfin> ah yes
[15:04:47] <Fingolfin> I never used it myself, but I know there is ;)
[15:05:12] <wjp> :-)
[15:05:20] * wjp wonders if there's one for Win32
[15:05:27] <Fingolfin> and the guy who is making the Framework I usually use on MacOS did use it to make an equation parser for a demo project ;)
[15:05:45] <wjp> :-)
[15:05:48] <Fingolfin> there is one for Win32 with almost 100% propability
[15:06:56] <wjp> hmmm... weird... there's a /usr/src/linux-hack
[15:07:04] <wjp> (I installed Mandrake 7.2 a few days ago)
[15:07:11] <Fingolfin> ok, I will do a first test return for my "typing undo" code... expect crashes, explosions and other dangerous events ;) oh my, maybe it even works a bit ;)
[15:07:18] <Fingolfin> hm
[15:08:40] <wjp> linux 2.4.0-0.31mdk... hmmm....
[15:09:14] <Fingolfin> WO-HOO! The undo code seems to work after only *one* fix! This is too good to be true!
[15:09:23] * Fingolfin wanders off to find the hidden crash
[15:09:23] <wjp> hehe :-)
[15:09:37] <wjp> try typing '42', that should do it :-)
[15:09:43] <Fingolfin> will do ;)
[15:10:05] <Fingolfin> hm, no, it sill works ... ;)
[15:10:10] <Fingolfin> s/sill/still
[15:10:32] <wjp> looks good then :-)
[15:13:06] * wjp notices there are now _two_ only-partly-functioning UC compilers in the CVS
[15:18:32] <Fingolfin> urm
[15:18:38] <Fingolfin> wonderful :/
[15:20:09] <wjp> and some things called 'wuc' and 'wud'
[15:46:25] --- Fingolfin is now known as Fingolfin|bbiab
[16:03:58] --- Fingolfin|bbiab is now known as Fingolfin
[16:05:05] <wjp> is a 'Finder' a MacOS thing, btw?
[16:05:18] <wjp> (it is mentioned in a bugreport on SF)
[16:20:22] <Fingolfin> yeah
[16:20:26] <Fingolfin> Finder is a MacOS thing
[16:20:29] <Fingolfin> which bug report?
[16:20:46] * Fingolfin surfs
[16:21:16] <Fingolfin> ah I see
[16:21:17] <Fingolfin> hm
[16:21:30] <wjp> I'm thinking SFX
[16:21:44] <wjp> stables don't have doors, other buildings do
[16:21:54] <Fingolfin> hrm
[16:22:06] <Fingolfin> he is not telling if he uses CVS or the binary...
[16:22:14] <Fingolfin> cause binary works, I know that ;)
[16:22:22] <Fingolfin> but I haven't tested CVS fro some time..
[16:22:25] * Fingolfin goes to test
[16:22:42] <Fingolfin> but first I need to debug another thing in another project ;)
[16:22:48] <wjp> :-)
[16:46:35] --- Fingolfin is now known as Fingolfin||bbiab
[18:04:56] --- wjp is now known as wjp|dinner
[18:25:29] --- Fingolfin||bbiab is now known as Fingolfin
[18:27:24] <Fingolfin> rehi
[18:28:01] --- wjp|dinner is now known as wjp
[18:36:55] <Fingolfin> wb
[18:37:02] <Fingolfin> I know I am late ;)
[18:37:03] <wjp> thx
[18:37:07] <wjp> hehe :-)
[19:26:58] --> flausch has joined #exult
[19:27:14] <flausch> Hello
[19:27:17] <wjp> hi
[19:28:51] <-- flausch has left #exult
[20:30:38] <-- Fingolfin has left #exult
[21:28:04] --> Fingolfin has joined #exult
[21:28:12] <wjp> wb
[21:28:59] <Fingolfin> thx
[21:30:27] <wjp> hmmm... the Exult menu shapes are bugged :-)
[21:30:41] <Fingolfin> hmmm
[21:30:44] <wjp> (two blue pixels in the far lower right corner)
[21:30:45] <Fingolfin> lemme run it
[21:31:44] <wjp> (far-lower, not far-right :-) )
[21:35:50] <Fingolfin> WOA!
[21:35:54] <Fingolfin> the new intro is great!
[21:35:59] * Fingolfin pats on wjp's shoulder
[21:36:10] <Fingolfin> good job, man! even w/o sound on my system ;)
[21:36:22] <Fingolfin> but I can't see your menu bug...
[21:37:23] <wjp> thx :-)
[21:38:02] <wjp> hmm... no blue pixels in the game selection menu? weird
[21:39:13] <wjp> they move together with the 'ankh + Exult' shape
[21:39:59] <wjp> (when I change the placement of that shape, that is)
[21:40:55] <-- Fingolfin has left IRC (Ping timeout for Fingolfin[pD9504D70.dip.t-dialin.net])
[21:49:58] --> Fingolfin has joined #exult
[21:50:10] <wjp> wb
[21:50:16] <wjp> crash?
[21:50:26] <Fingolfin> argh
[21:50:28] <Fingolfin> yes
[21:50:34] <Fingolfin> I forgot I didn't fix fill_audio!
[21:51:08] <Fingolfin> it is bad since it is called during interrupt time, but in turn calls stuff forbidden during interrupt time (MacOS specific problem)
[21:51:15] <Fingolfin> basically, I need to get rid of new in there
[21:55:52] <wjp> quite a lot of #if's in that function
[21:56:37] <Fingolfin> yeah :/
[21:57:05] <Fingolfin> uint8 *temp_buffer=new uint8[len];
[21:57:08] <Fingolfin> this is my problem
[21:57:09] <Fingolfin> but
[21:57:20] <Fingolfin> maybe even some of the STL stuff is no-good... not sure
[21:57:53] <wjp> depending on implementation I suppose some STL functions could use 'new'
[21:58:03] <Fingolfin> maybe cerr is problematic; and maybe some of the containers
[21:58:04] <Fingolfin> yeah
[21:58:15] <Fingolfin> so...
[21:58:35] <Fingolfin> maybe I could use a fixed "temp_buffer" that is inited once, with a "maximum" size
[21:58:49] <wjp> the size is constant I think
[21:59:06] <Fingolfin> while it would take up more space, it would a) fix my problem and b) give a small speed up (allocating and freeing memory every free ms is not reall good anyway <g>)
[22:00:41] <Fingolfin> I wonder what happens if I never call fill_audio_func at all...
[22:01:24] <wjp> nothing, probably :-)
[22:01:38] <Fingolfin> well that would be better than a crash for now, right? ;)
[22:01:40] <Fingolfin> I will try
[22:01:47] <Fingolfin> see ya after the crash ;)
[22:02:43] <wjp> :-)
[22:05:39] <Fingolfin> it worked...
[22:05:53] <Fingolfin> but in the past it worked somtimes, too (which is really wondering me...)
[22:06:10] <Fingolfin> err, confusing me I mean ;)
[22:06:55] <Fingolfin> screen shot is working great, BTW
[22:07:04] <Fingolfin> it would be nice if you could shoot the menus, too, though...
[22:08:03] <wjp> I thought I'd leave that for once the heyhandler is done
[22:10:58] <wjp> then again... it wouldn't be that much trouble to add
[22:15:44] <wjp> hmmm.... it SegFaults when I take a screenshot in the menus
[22:16:55] <wjp> oh... it tries to print the "Screenshot!" message
[22:17:28] <Fingolfin> aye :/
[22:18:32] * wjp fixes that
[22:19:54] <wjp> oh...
[22:20:10] <wjp> this whole path-thing is really getting on my nerves
[22:20:28] <wjp> Exult changes the current directory when it starts the game
[22:22:48] <wjp> hmm... getting screenshots during the intro is a bit tricky, atm
[22:23:00] <wjp> you already cancel the intro by pressing alt
[22:23:18] <wjp> (or ctrl)
[22:26:41] <Fingolfin> yeah...
[22:26:43] <Fingolfin> this is bad IMHO
[22:26:56] <Fingolfin> it should not cancel, IMHO, if you press alt/cmd/etc. alone
[22:27:12] <wjp> agreed
[22:28:08] * wjp checks SDL docs
[22:29:58] <wjp> hmm... there isn't a "this-key-is-a-modifier" flag :-(
[22:33:49] <wjp> [L|R][SHIFT|CTRL|ALT|META|SUPER]
[22:37:01] <wjp> should it cancel on numlock/capslock/scroll-lock?
[22:39:15] <Fingolfin> hrm
[22:39:16] <Fingolfin> no
[22:39:19] <Fingolfin> IMO
[22:40:25] <wjp> hmm.. it's called scrollock in the docs
[22:40:32] * wjp wonders if that's a typo
[22:41:40] <Fingolfin> if it was german it would be correct according to the old grammer but not according to the new grammer ;)
[22:41:54] <wjp> hehe :-)
[22:42:14] <wjp> hmm... the intro cancels on a keyDOWN or a mouseUP
[22:42:15] <wjp> weird
[22:43:37] <Fingolfin> LOL
[22:44:35] <wjp> btw, do you know what 'extern' means for a function declaration?
[22:44:59] <Fingolfin> yes
[22:45:13] <Fingolfin> it means that the function is declared in another source file/object file
[22:45:23] <Fingolfin> or do I miss something in your question?
[22:45:31] <wjp> yes, that's what I thought
[22:45:42] <wjp> I've just never used it, and it always works fine
[22:45:45] <Fingolfin> yeah
[22:45:52] <wjp> so I thought maybe it did something else too
[22:46:06] <Fingolfin> it is not needed for all linkers/compilers I need, it is just there to make the language orthogonal I think ;)
[22:46:13] <wjp> :-)
[22:46:18] <wjp> k :-)
[22:49:26] <wjp> ok, that should do it
[22:50:02] <wjp> intro should have screenshot capability too, now
[22:51:31] <wjp> ok, SDLK_SCROLLOCK is correct
[22:54:10] <wjp> while (ticks >= SDL_GetTicks()) ;
[22:54:12] <wjp> hmmm
[22:55:30] <Fingolfin> hmmm
[22:55:42] <Fingolfin> maybe ticks is pre-incremented
[22:56:08] <wjp> yes, it is
[22:56:40] <wjp> but it takes full CPU
[22:57:32] <wjp> shouldn't matter though. the win->show() that's right before it should take up all of that time already
[23:01:36] * wjp is confused
[23:01:52] <wjp> it catches the modifier key properly, but still aborts the intro
[23:06:31] <wjp> oops
[23:11:10] <wjp> ok, screenshot function's working in intro too
[23:17:21] <Fingolfin> very good
[23:17:34] <Fingolfin> good wjp, take a cookie ;)
[23:17:46] <wjp> yumyum :-)
[23:17:55] * wjp just received a cvs-log!
[23:18:23] <Fingolfin> woa!
[23:18:29] <Fingolfin> I wonder when the SF team will be back...
[23:18:36] <Fingolfin> or are they already?
[23:18:38] <wjp> good sourceforge, take a cookie ;-)
[23:18:44] <Fingolfin> <g>
[23:23:20] <Fingolfin> yeah, i got the cvs email, too!