#nuvie@irc.freenode.net logs for 4 Feb 2004 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage


[00:04:57] <-- SB-X has left IRC ()
[01:23:17] --> Kirben has joined #nuvie
[03:16:02] --> SB-X has joined #nuvie
[03:50:51] <-- servus has left IRC ("Client exiting")
[03:51:04] --> servus has joined #nuvie
[05:08:05] --> sbx has joined #nuvie
[05:08:06] <-- SB-X has left IRC (Read error: 54 (Connection reset by peer))
[05:26:58] --> EsBee-Eks has joined #nuvie
[05:26:58] <-- sbx has left IRC (Read error: 104 (Connection reset by peer))
[07:29:35] <-- servus has left IRC ("Client exiting")
[08:33:19] --> Yuv422 has joined #nuvie
[08:41:53] --- EsBee-Eks is now known as SB-X
[08:41:58] <SB-X> hi yuv
[08:45:12] <wjp> hi
[09:36:43] <Yuv422> hi
[09:37:03] <Yuv422> time to fix some bugs
[09:40:25] <SB-X> Oh the moving while dragging wasnt necessarily a bug. I got that effect by accident and thought someone might like to be able to move an object longer distances that way, so I didn't bother to fix it. :)
[09:40:37] <SB-X> but I didn't care for the behavior either way
[09:40:45] <Yuv422> ah k
[09:41:01] <wjp> so it really _was_ a feature this time? ;-)
[09:41:29] <Yuv422> got to give the fans what they want I guess
[09:41:32] <Yuv422> ;-)
[09:41:43] <SB-X> heh, unintentional feature that can stand to be fixed
[09:42:06] <SB-X> Hmm, I guess that's a bug then.
[09:42:07] <Yuv422> I did think it weird that you didn't fix it. ;)
[09:42:26] <SB-X> you might have noticed that you couldnt walk while actually dragging it
[09:42:31] <SB-X> you had to stop moving the mouse
[09:42:56] <SB-X> so I half fixed it
[09:44:13] <Yuv422> do you think we need a map::drop_obj
[09:44:47] <SB-X> no
[09:44:56] <SB-X> what does it do?
[09:45:09] <Yuv422> drops an object onto the map
[09:45:22] <Yuv422> and checks if the object can be placed at that location
[09:46:28] <Yuv422> because we will have several drop functions
[09:46:32] <Yuv422> keyboard drop
[09:46:32] <SB-X> I was thinking actor::drop_obj, but maybe a check function in map
[09:46:36] <Yuv422> drag drop
[09:46:40] <Yuv422> keyboard move
[09:47:12] <Yuv422> I thought map was the logical location for a map drop method. ;)
[09:47:14] <wjp> actor::drop_obj wouldn't be the 'right' place to put any dropping logic other than what's necessary to remove it from the actor
[09:47:28] * wjp agrees with Yuv422 :-)
[09:48:04] <SB-X> I thought you were talking about drop from the actor
[09:48:12] <Yuv422> hehe no
[09:48:16] <Yuv422> drop onto the map
[09:48:25] <SB-X> place onto the map
[09:48:28] <Yuv422> yes
[09:48:47] <SB-X> objmanager::add?
[09:49:00] <SB-X> add_obj i mean
[09:49:00] <Yuv422> it needs to look at the underlying map
[09:49:02] <SB-X> thats already there
[09:49:08] <SB-X> oh
[09:49:11] <Yuv422> to check for walls
[09:49:16] <SB-X> it doesnt already?
[09:49:29] <Yuv422> you can drop onto a passable object
[09:49:34] <Yuv422> unless it is on a boundary
[09:50:16] <Yuv422> the logic is currently in pushTo
[09:50:51] <SB-X> oh you're right that's not good
[09:51:31] <SB-X> I only don't like the name
[09:51:37] <SB-X> drop_obj
[09:53:02] <Yuv422> so add_obj
[09:53:05] <Yuv422> or place obj
[09:53:12] <SB-X> and maybe add a function to check if an object can be dropped in a square, which drop_obj calls but can be used externally too
[09:53:37] <Yuv422> map::can_drop_obj(location)
[09:54:00] <Yuv422> or can_place_obj()
[09:54:16] <SB-X> will this replace calls objmanager::add_obj?
[09:54:23] <Yuv422> no
[09:54:29] <Yuv422> hmm
[09:54:33] <SB-X> i mean putting itself before that call
[09:54:41] <Yuv422> in some cases yes
[09:55:26] <Yuv422> so do you think it should advise or do?
[09:59:02] --> sbx has joined #nuvie
[09:59:02] <-- SB-X has left IRC (Read error: 104 (Connection reset by peer))
[09:59:17] <sbx> ...
[10:02:16] <Yuv422> I think I'll make a can_place method
[10:02:25] <Yuv422> it will be a bit more flexible
[10:04:09] <Yuv422> maybe this could be incorporated into map::lineTest??
[10:04:28] <Yuv422> as another flag
[10:05:15] --> aboeing has joined #nuvie
[10:05:17] <aboeing> hey
[10:05:24] <Yuv422> hi aboeing
[10:05:49] <Yuv422> How's things?
[10:05:58] <aboeing> alright - been really busy
[10:06:09] <aboeing> and its hot :/ but other than that .. :)
[10:06:31] <Yuv422> It's not too bad over hear in Sydney ATM
[10:06:35] <aboeing> how about you? been up to much?
[10:06:53] <Yuv422> I've rewritten MsgScroll
[10:07:01] <Yuv422> well it still has some issues
[10:07:04] <aboeing> kool kool everything works?
[10:07:13] <Yuv422> and I haven't got the varargs method in yet
[10:07:15] <aboeing> ah. what issues? anything you cant figure out?
[10:07:20] <Yuv422> but it is functional
[10:07:32] <aboeing> kool, does the different languages and all?
[10:07:38] <Yuv422> well the automatic page break isn't working too well yet
[10:07:45] <Yuv422> yes
[10:07:55] <Yuv422> and you can scroll the buffer backwards
[10:07:59] <aboeing> are you storing the text in a big buffer now?
[10:08:03] <aboeing> oh kool! :)
[10:08:19] <Yuv422> and select text by clicking with the mouse
[10:08:26] <aboeing> nice! :)
[10:08:34] <Yuv422> so you can select the highlighted words and add them to your input
[10:08:38] <aboeing> you could give it a u7 style interface :)
[10:08:43] <Yuv422> hehe
[10:09:18] <aboeing> did you get round to having a look at the sound code?
[10:09:30] <Yuv422> hmm
[10:09:36] <Yuv422> I should look at that now
[10:09:44] <aboeing> i think i read in the logs that someone mentioned it would be good to play the original .m files
[10:09:44] <Yuv422> thanks for reminding me. :)
[10:09:49] <aboeing> np ;P
[10:10:07] <aboeing> im not sure whether to mix adplug and sdlmixer, or to try and conver the original .m's to midis
[10:10:29] <Yuv422> would the .m to midi be hard?
[10:10:39] <aboeing> i have no idea. i dont think so.
[10:10:51] <aboeing> my problem is that i dont know anythign about midi formats really.
[10:10:53] <Yuv422> that would be a nice way to do it I think
[10:10:56] <Yuv422> ah k
[10:11:19] <Yuv422> armav might be able to help us there
[10:11:23] <aboeing> yeah that would be good because then we could keep the mp3,ogg&mod playback capabilities of sdlmixer
[10:11:31] <aboeing> i dont think ive met armav yet
[10:11:43] <Yuv422> ah k
[10:12:12] <sbx> hi aboeing
[10:12:14] <aboeing> but yeah ive browsed thru the adplug source, so the code for loading a .m is there, so i guess it shouldnt be too hard to convert it and save it out as .midi
[10:12:21] <sbx> (armchar avatar)
[10:12:24] <sbx> chair*
[10:12:43] <aboeing> hey sbx hows your... weekend been.. i take it you didnt get an australia day? ;)
[10:12:43] <Yuv422> yes he wrote the adplug .m loader. :)
[10:12:57] <Yuv422> armav that is
[10:13:04] <sbx> oh I had no idea
[10:13:11] <sbx> aboeing: no not quite but good :)
[10:13:18] <sbx> ugh its too late here now gotta go
[10:13:22] <sbx> cya
[10:13:24] <Yuv422> cya
[10:13:25] <aboeing> ah rite. kool, in that case id imagine hed be the guy to ask :)
[10:13:27] <aboeing> cya sbx
[10:13:28] <-- sbx has left IRC ()
[10:13:47] <aboeing> is he part of this project?
[10:13:59] <Yuv422> well we are using some of his code. :)
[10:14:31] <Yuv422> and a fair few of his u6 reverse eng info. ;)
[10:14:33] <aboeing> heh :D i guess i should email him then :)
[10:14:53] <aboeing> quite the popular guy
[10:15:10] <Yuv422> :)
[10:16:08] <aboeing> i hear someones working on casting spells, is that right?
[10:16:28] <Yuv422> luteijn was looking into spell quality mapping
[10:16:33] <aboeing> ah rite
[10:16:54] <aboeing> whats sbx working on atm?
[10:17:09] <Yuv422> mouse cursors
[10:18:15] <aboeing> kool. midi file format doesnt look all too complex...
[10:18:51] <Yuv422> cool
[10:20:13] <aboeing> but the file im reading doesnt explain the instruments at all. which could be an issue.
[10:20:25] <aboeing> brb food
[10:20:29] <Yuv422> k
[10:20:29] --- aboeing is now known as ab_food
[11:08:58] <Yuv422> wow
[11:09:07] * Yuv422 listens to music and sfx in nuvie.
[11:13:42] <ab_food> heh :) kool in'it? :P
[11:13:47] --- ab_food is now known as aboeing
[11:14:15] <aboeing> i take it that means it compiles for macos?
[11:14:22] <Yuv422> yes
[11:14:40] <Yuv422> I get some debug messages though
[11:14:57] <Yuv422> Castle : U6-BRIT.MID
[11:14:57] <Yuv422> could not load /Users/eric/Ultima/u6_sounds/U6-BRIT.MID
[11:15:21] <Yuv422> assinging new song! 462890
[11:15:21] <Yuv422> play failed!
[11:15:21] <Yuv422> assinging new song! 462890
[11:15:21] <Yuv422> play failed!
[11:15:21] <Yuv422> assinging new song! 4643d0
[11:15:42] <Yuv422> but it does play the britannia song
[11:15:42] <aboeing> yeah theres a bit of a problem in waiting for the soundcard to finish playing
[11:15:59] <aboeing> do you actually have a U6-BRIT.MID?
[11:16:25] <Yuv422> yes
[11:16:33] <aboeing> hmmm odd that it plays the britannia song.. without the midi file..
[11:16:43] <aboeing> it might be playing the mod file instead of the midi
[11:16:45] <Yuv422> that's what I thought
[11:16:55] <Yuv422> the xm file?
[11:17:01] <aboeing> yeah sorry the xm file
[11:17:43] <aboeing> is that midi file the only one that doesnt load?
[11:17:55] <Yuv422> the wav files all work
[11:18:13] <aboeing> kool, does the sound fade in & out correctly?
[11:18:19] <Yuv422> yes
[11:18:37] <Yuv422> should the mid files work?
[11:19:20] <aboeing> yeah they should
[11:19:35] <aboeing> but they might not load if your os/hardware doesnt have native midi support
[11:20:19] <aboeing> in which case you need to download install and setup timidity's gus emulator, and possibly recompile sdl_mixer
[11:20:37] <aboeing> [test different songs by going into the dungeon etc.]
[11:25:05] * Yuv422 checks
[11:25:43] <aboeing> hey man i gtg, ill try and write a m->midi converter or talk to that guy or something. seeya later.
[11:26:02] <Yuv422> play failed!
[11:26:02] <Yuv422> assinging new song! 4660a0
[11:26:02] <Yuv422> play failed!
[11:26:04] <Yuv422> k
[11:26:07] <aboeing> ah krap
[11:26:12] <Yuv422> I just get heaps of these messages
[11:26:14] <aboeing> ill try and figure out why midi wont work
[11:26:21] <Yuv422> cool
[11:26:25] <aboeing> seeya1
[11:26:26] <Yuv422> cya
[11:26:28] <-- aboeing has left IRC ("bye")
[11:38:09] <Yuv422> I'm off to bed
[11:38:10] <Yuv422> cya
[11:38:12] <-- Yuv422 has left IRC ("[BX] Silly wabbit, BitchX is for kids!")
[15:08:43] <-- Kirben has left IRC ("System Meltdown")