#nuvie@irc.freenode.net logs for 22 May 2004 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage

[01:27:19] --> Yuv422 has joined #nuvie
[01:38:02] --> Kirben has joined #nuvie
[01:40:03] <Yuv422> bbl
[01:41:17] <sbx> hmm ok
[01:42:37] <Yuv422> hey sbx
[01:42:42] <Yuv422> I haven't left yet
[01:42:48] <Yuv422> :)
[01:43:06] <sbx> oh hi
[01:43:19] <sbx> is it ok for UseCode to have void update()
[01:43:25] <sbx> U6UseCode
[01:43:41] <Yuv422> when would it be called?
[01:43:47] <sbx> every tick
[01:43:59] <sbx> in Game::play
[01:44:19] <Yuv422> what would you do in the update?
[01:44:44] <sbx> if(an object requested input && scroll has input) get input; message_obj with input
[01:45:16] <Yuv422> hmm
[01:45:19] <sbx> right now I have it so MsgScroll sends a callback message everytime it gets input, and UseCode is a target, but I don't like that
[01:45:41] <Yuv422> could we do this another way with the GUI focus system?
[01:46:17] <sbx> i don't see how
[01:46:23] <Yuv422> do you want to input text through the MsgScroll?
[01:46:29] <sbx> usecode isn't a gui widget
[01:46:34] <sbx> yes
[01:46:41] <Yuv422> ah k
[01:46:43] <Yuv422> hmm
[01:46:54] <sbx> BUT I didn't think we want MsgScroll to have to handle usecode
[01:47:13] <Yuv422> yes
[01:47:20] <Yuv422> it shouldn't do to much
[01:47:29] <Yuv422> just collecting and displaying input
[01:48:04] <Yuv422> the callbackidea sounds ok
[01:48:16] <Yuv422> an object askes the scroll for input
[01:48:40] <Yuv422> the scroll collects the input then calls the original object back with a callback to give them their data
[01:48:54] <Yuv422> is that how you have it working ATM?
[01:49:09] <sbx> scroll calls UseCode with a callback
[01:49:17] <sbx> objects are just structs :)
[01:49:27] <sbx> but yes
[01:49:42] <sbx> we should make some special functions in msgscroll for this type of input collection then
[01:49:46] <sbx> or function
[01:49:51] <Yuv422> yes
[01:50:20] <Yuv422> MsgScroll::request_input(GUI_CallBack *caller, void *mydata)
[01:50:24] <sbx> right now msgscroll inherits my Callbackserver which is obsolete now
[01:50:29] <sbx> ok
[01:50:31] <sbx> whats mydata
[01:50:48] <Yuv422> if you needed some reference send back with your input
[01:51:07] <Yuv422> so MsgScroll could send back a struct with your input and your mydata pointer
[01:51:15] <Yuv422> so you know what to do with it when you get it
[01:51:18] <sbx> I'd say mydata is the object
[01:51:33] <Yuv422> sounds right
[01:51:47] <sbx> what happens if msgscroll has a previous request? just replace it?
[01:52:20] <Yuv422> could that happen?
[01:52:26] <Yuv422> logicaly?
[01:52:40] <sbx> it shouldn't
[01:52:57] <Yuv422> if it does you could have a request list in MsgScroll
[01:53:15] <Yuv422> then just process each element from the list in turn.
[01:53:47] <sbx> I think it will just replace the previous one for now
[01:54:12] <sbx> can't think of any place where, if we do a second request, we aren't already doing something wrong
[01:54:35] <sbx> because you'd do the request right after set_input
[01:54:39] <sbx> set_input_mode
[01:55:59] <Yuv422> yes
[01:56:15] <sbx> what was the name of the callback method again?
[01:56:47] <Yuv422> what do you mean?
[01:56:59] <sbx> the one you call with the message
[01:57:04] <sbx> caller->???()
[01:57:12] <Yuv422> callback()
[01:57:18] <sbx> oh
[01:57:20] <Yuv422> hehe
[01:57:21] <sbx> that seems to make sense :-)
[01:57:33] <Yuv422> do you have the latest cvs?
[01:58:16] <sbx> so in set_input_mode: if(input_mode == false) caller->callback(MESG_TEXT_READY?, &string(input_buf), mydata)
[01:58:18] <sbx> no
[01:58:30] <sbx> it will take me some time to sync it
[01:58:33] <sbx> and resolve conflicts
[01:58:40] <Yuv422> I
[01:58:43] <Yuv422> whoops
[01:58:43] <sbx> but i'll do that real soon
[01:59:04] <Yuv422> I've been using this style for message names
[01:59:08] <sbx> afaik there's no way to send back mydata
[01:59:17] <Yuv422> MSGSCROLL_CB_TEXT_READY
[01:59:24] <sbx> ok
[01:59:39] <sbx> do you have that particular name already?
[01:59:50] <Yuv422> no
[02:00:03] <sbx> sounds good
[02:00:06] <sbx> whats the CB?
[02:00:11] <Yuv422> callback
[02:00:13] <sbx> callback
[02:00:14] <sbx> heh ok
[02:00:40] <Yuv422> ok I'm going now
[02:00:46] <Yuv422> be back in a bit
[02:00:49] <sbx> ok
[03:20:31] <Yuv422> back
[03:25:37] --> servus has joined #nuvie
[03:26:40] <Yuv422> hi servus
[03:26:45] <servus> Hi Yuv422
[03:27:49] * Yuv422 watches a video of some guys flying a radio-controlled startrek enterprise
[03:28:29] <servus> I saw a video of Leonard Nimoy in full Star Fleet uniform giving the finger to a Star Wars convention
[03:28:38] <Yuv422> hehe cool
[03:29:04] <servus> It was exceptionally good, actually. It's part of a 10 minute Triumph the Dog video. The only bad part is it's ASF.
[03:31:04] <sbx> oops I had the page scrolled up
[03:31:06] <sbx> Yuv422: wb
[03:33:10] * servus grumbles
[03:33:30] <Yuv422> yay a osx update that doesn't require a restart
[03:34:06] <servus> No one appreciates anything I do in this ultima-remake ring of SF/Freenode channels... =P
[03:34:27] <Yuv422> why do you say that?
[03:35:15] <sbx> hmm
[03:35:38] <servus> Work I do is never credited, work I do is often not used (with no explanation or request for improvement), and work I do does not get feedback.
[03:35:46] <servus> I'm not directing it towards this room.
[03:35:59] <servus> Sorry, just grousing about #pentagram in the wrong room :^)
[03:36:07] <sbx> hmm
[03:36:44] * sbx figured that
[03:37:17] <servus> Oh well, no one wants to hear =)
[03:37:36] <sbx> is your page up?
[03:37:51] <servus> I deleted it last night =)
[03:41:20] <sbx> oh yes *looks at log* you already protested then... I assumed you were just now looking at the newest pages
[03:41:50] <Yuv422> they have some pretty weird conversations over at #pentagram
[03:42:07] <Yuv422> <Colourless> a 'nuclear' explosion involving bananas... can you possibly think of something worse!
[03:42:13] <Yuv422> strange!
[03:44:08] <Yuv422> servus: you know you could start your own ultima remake project. :-) Then you could call all the shots!
[03:45:37] <servus> Yuv422, I did.
[03:45:55] <Yuv422> the text looks a little chunky on that pentagram website mockup
[03:45:59] <servus> Yuv422, I created an Ultima 7 map viewer in 3D. I also created an Ultima 6 to Ultima 7 map import utility.
[03:46:01] <Yuv422> in the menu that s
[03:46:18] <Yuv422> that's right.
[03:46:29] <sbx> <Colourless> people who are presidents of 1 member clubs that have meetings everyweek and build dolls houses do not fit into the set of people descriped by sanity
[03:46:31] <Yuv422> do you have pages online for those projects?
[03:46:52] <servus> No. They aren't public/Sourceforge projects.
[03:46:56] <servus> They are things I simply made.
[03:47:15] <servus> I also made an Ultima Underworld map viewer in QBasic with inline assembly in 1994.
[03:47:17] <servus> *Grin*
[03:47:58] <Yuv422> If you want recognition you should probably publish these little projects somewhere
[03:48:30] <Yuv422> sbx: yeah I thought I was weird talking to myself in the #nuvie channel. ;-)
[03:48:39] <servus> I don't want public recognition. If you do free work for someone, though, they should acknowledge it.
[03:48:42] * servus rants
[03:48:51] <servus> Oh well. Ne'er you mind
[03:49:02] <Yuv422> righto
[03:49:20] * servus should finish U7-3D though.
[03:50:45] <Yuv422> sbx: did you end up merging my changes into your source?
[03:52:29] <sbx> still trying to get my stuff to compile
[03:55:19] <Yuv422> ah k
[03:55:35] <Yuv422> I'm going to start on saving real soon
[03:55:49] <Yuv422> just finishing off cleaning up ObjManager
[03:56:25] <Yuv422> Are we going to have anything in UseCode that needs saving back to disk?
[03:57:50] <sbx> no
[03:58:06] <Yuv422> that's good :)
[03:59:12] * Yuv422 looks forward to saving in nuvie.
[04:00:38] <sbx> and that might help testing & development
[04:01:08] <sbx> though it will help more when we have all the objlist data figured out
[04:02:20] <sbx> and figuring it out might be faster once we have saving of some kind
[04:29:06] <Yuv422> why would they save a compressed copy of the map file?
[04:29:09] <Yuv422> in lzmap
[04:29:19] <Yuv422> map is a static file that doesn't change
[04:30:13] <sbx> that's not in savegame
[04:30:20] <Yuv422> no
[04:30:38] <Yuv422> it is identical to the map file
[04:30:43] <Yuv422> when uncompressed
[04:31:13] <sbx> maybe it depends on your install option
[04:31:19] <sbx> for speed vs space
[04:31:34] <Yuv422> was that an option in the original u6?
[04:31:37] <sbx> and they just don't remove the compressed one
[04:31:43] <sbx> don't remember sorry :)
[04:36:02] <Yuv422> hmm
[04:36:18] <Yuv422> I've found the initial objlist
[04:36:31] <Yuv422> but it is quite empty
[04:37:05] <sbx> there is an initial objlist?
[04:37:22] <Yuv422> yes
[04:37:32] <Yuv422> so the original can make a new savegame for you
[04:37:58] <Yuv422> it is in the lzdngblk file
[04:38:02] <Yuv422> at the end
[04:38:54] <Yuv422> after you decompress it that is.
[04:40:19] <sbx> why is it there?
[04:40:27] <sbx> that file isnt related to dungeons?
[04:40:36] <sbx> whats lzobjblk?
[04:40:59] <Yuv422> I'm assuming it is the surface level objblkxx files
[04:41:58] <Yuv422> I should say "hoping"
[04:42:32] <sbx> Oh I forgot all about New Game support :)
[04:42:49] <Yuv422> hehe
[04:42:54] <sbx> some people might want that
[04:43:28] <Yuv422> :)
[04:43:40] <sbx> unrelated note have you heard of X-COM: Interceptor?
[04:43:55] <Yuv422> yes
[04:44:16] <Yuv422> an old game about aliens?
[04:44:16] <sbx> I found this game really cheap and bought it, and it happens to be in german
[04:44:19] <sbx> !
[04:44:23] <Yuv422> Ouch!
[04:44:29] <sbx> yeah
[04:44:37] <Yuv422> I take it you don't know german.
[04:44:42] <sbx> hehe no
[04:44:50] <sbx> you build up your X-COM interstellar corporation
[04:44:54] <sbx> and intercept UFOs
[04:45:10] <sbx> strategy + wing commander type space sim
[04:45:26] <sbx> i only know this because I found the english text files for dl
[04:45:35] <sbx> going to look for the sounds
[04:57:58] <servus> That game cannot be beat.
[04:59:56] <sbx> the one I mentioned? people say it pales in comparison to previous games in the series, and is not much more than a glorified shooter
[05:00:23] <servus> I'm referring to X-Com 1.
[05:00:45] * Yuv422 adds a SaveGame class to Nuvie
[05:01:30] <sbx> neat
[05:01:43] <sbx> servus: well there ya go
[05:01:52] <Yuv422> I'm just templating it into my build at the moment
[05:02:08] <-- Kirben has left IRC ("bbl")
[05:14:20] --> Kirben has joined #nuvie
[05:31:34] <Yuv422> It looks like we'll have 3 different ways to load a game
[05:31:44] <Yuv422> A new game
[05:31:54] <Yuv422> A saved game in nuvie format
[05:32:12] <Yuv422> and importing an original savegame/ style game
[05:56:57] --> servus_ has joined #nuvie
[05:59:54] <-- servus has left IRC (Read error: 60 (Operation timed out))
[06:00:02] <sbx> !@#$... fell asleep
[06:00:05] <sbx> hey I'll bbl
[06:00:51] --- sbx is now known as sbx|afk
[06:52:30] <Yuv422> I'm going out
[06:52:31] <Yuv422> cya
[06:52:33] <-- Yuv422 has left IRC ("[BX] "I did not have sexual relations with that client, BitchX."")
[07:32:51] <servus_> bye
[07:32:51] <-- servus_ has left IRC ("Leaving")
[11:28:37] <-- sbx|afk has left IRC (vinge.freenode.net irc.freenode.net)
[11:28:37] <-- ChanServ has left IRC (vinge.freenode.net irc.freenode.net)
[11:29:02] --> sbx|afk has joined #nuvie
[11:31:35] --> ChanServ has joined #nuvie
[14:03:17] <-- Kirben has left IRC ("System Meltdown")
[16:07:10] --- sbx|afk is now known as sbx
[16:28:11] <-- sbx has left IRC ()
[23:55:55] --> Kirben has joined #nuvie