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

Archive Today Yesterday Tomorrow
Nuvie homepage


[01:48:11] --> Kirben has joined #nuvie
[06:41:03] --> sbx has joined #nuvie
[06:41:18] <sbx> hello
[09:53:04] --> Yuv422 has joined #nuvie
[09:53:08] <Yuv422> hi
[09:53:46] <sbx> hey there!
[09:53:55] <Yuv422> hey sbx
[09:54:01] <Yuv422> long time no speak. ;)
[09:54:04] <sbx> for once i'm still awake
[09:54:20] <Yuv422> how's things?
[09:54:29] <sbx> well
[09:54:33] <sbx> lately i've been playing Fallout instead of working on nuvie
[09:54:42] <sbx> I just got it
[09:54:49] <Yuv422> hehe nothing wrong with that
[09:54:56] <Yuv422> it was a good game
[09:55:26] <sbx> Fallout 1 and 2
[09:55:34] <sbx> I havn't played either and they are really great
[09:55:48] <sbx> which is why I've played so much, but I imagine I'll scale back on the gametime here soon
[09:56:00] <sbx> I'm about to go to Necropolis
[09:56:15] <Yuv422> cool
[09:56:45] <Yuv422> I've given Nuvie a generic callback class
[09:56:52] <Yuv422> for GUI operations
[09:56:55] <sbx> OK
[09:57:00] <sbx> what sort of things can it do?
[09:57:05] <Yuv422> so we don't need external callback functions now
[09:57:07] <sbx> mine is being a pain
[09:57:22] <sbx> (the one in my local CVS for effects)
[09:57:41] <Yuv422> it just contains a virtual method for receiving callback messages
[09:57:54] <sbx> ah
[09:58:11] <Yuv422> GUI_status callback(uint16 msg, GUI_CallBack *caller, void *data)
[09:58:58] <sbx> you remember me sending you a preview header of one? it grew a bit after that
[09:59:10] <Yuv422> ah k
[09:59:25] <sbx> but I am not really committed to it since It is giving me problems lately, and you understandably needed one right now
[09:59:41] <sbx> maybe we can combine them somehow since the one I needed doesnt return GUI_status
[09:59:52] <Yuv422> yup lots of callbacks in the new save manager widgets. ;-)
[10:00:37] <sbx> is the data some pre-set reference data or is it specific to msg
[10:00:53] <sbx> like msg=CLICK data=location
[10:00:53] <Yuv422> specific to the message
[10:00:58] <sbx> or msg=CLICK data=widget
[10:00:59] <sbx> ah
[10:01:16] <sbx> is it a pair of classes?
[10:01:31] <Yuv422> and msg isn't unique across classes
[10:01:31] <sbx> I realized we could just use one
[10:01:39] <sbx> oh
[10:01:46] <sbx> that's different
[10:01:52] <Yuv422> so you reference caller and msg
[10:02:23] <Yuv422> it might become a problem later but I can't see any issues at the moment.
[10:02:27] <sbx> do you just have to take care not to send a target a msg it doesn't recognize?
[10:02:36] <Yuv422> nope
[10:02:52] <sbx> well if they aren't unique there would be a conflict of msg numbers
[10:03:07] <Yuv422> the base method just prints a warning and discards the message
[10:03:46] <sbx> I'll check it out soon
[10:03:51] <Yuv422> it the reciever knows the callers class then it doesn't have to be unique
[10:04:00] <Yuv422> hehe I haven't commited it yet
[10:04:08] <sbx> ah ok :)
[10:04:09] <Yuv422> I'll try to commit my changes soon
[10:04:21] <sbx> how does the caller class help it figure out the msg?
[10:04:51] <Yuv422> only by identifing itself
[10:05:02] <sbx> with some member function?
[10:05:59] <Yuv422> nope because the recipient keeps a record of the caller
[10:06:20] <Yuv422> so it just matches the caller argument with its object pointer
[10:06:29] <sbx> and if it changes?
[10:06:35] <sbx> (another callback sends you a msg)
[10:06:44] <Yuv422> if(up_button == (GUI_Button *)caller)
[10:07:04] <sbx> oh
[10:07:14] <sbx> hey that's great
[10:07:29] <sbx> and what the msg numbers depends on the target
[10:07:35] <sbx> msg numbers mean
[10:07:38] <Yuv422> yes
[10:08:13] <Yuv422> I've converted all callbacks to this system in my workspace
[10:08:25] <Yuv422> it seems to work well
[10:08:26] <sbx> good idea
[10:08:36] <Yuv422> GUI_Button was a bit of a headache
[10:08:42] <Yuv422> lots of buttons
[10:08:44] <Yuv422> in the views
[10:08:47] <sbx> did you convert TimedCallback
[10:08:53] <Yuv422> no
[10:08:56] <sbx> I did that here
[10:09:10] <sbx> and I moved most of the classes in TimedEvent to Effect
[10:09:18] <sbx> they are effectively effects
[10:09:27] <sbx> so that's where they belong
[10:09:38] <Yuv422> sounds good to me
[10:10:19] <sbx> once of the things to figure out before I commit is whether there should an EffectManager
[10:10:36] <sbx> as the only thing that needs to be managed about them is delete them when they request it
[10:10:58] <Yuv422> could they delete themselves with callbacks?
[10:11:07] <sbx> and Game is doing that now, but I don't know if that is allowed with Game :)
[10:11:14] <sbx> what do you mean?
[10:11:14] <Yuv422> I guess we need to clean them up on quit
[10:11:41] <sbx> no that could be big memory loss while playing
[10:11:49] <sbx> so they are deleted every tick
[10:11:58] <sbx> they just set a flag on themselves
[10:12:10] <sbx> only way I know how to make a class delete itself
[10:12:20] <Yuv422> ok
[10:12:37] <sbx> another thing I need is a way to make mapblacking stop
[10:12:48] <Yuv422> why's that?
[10:13:07] <sbx> the earthquakes move the map
[10:13:19] <sbx> and if you are standing by a wall, the blacking will quickly shift between room and outside
[10:13:40] <Yuv422> do you mean the light globes?
[10:13:54] <sbx> no the map blacking
[10:14:11] <wjp> hi Yuv422
[10:14:13] <Yuv422> but the blacking is tile based.
[10:14:16] <Yuv422> hi wjp
[10:14:29] <sbx> I know I still don't know how it works
[10:15:00] <sbx> I'm just hoping for a toggle switch to freeze it temporarily :)
[10:15:14] <sbx> we will also want a way to reveal everything, for white potions
[10:15:22] <Yuv422> tru
[10:15:24] <Yuv422> +e
[10:16:05] <Yuv422> I'd like to see why it is behaving strangely before putting in a wrok around first. ;-)
[10:16:14] <sbx> oh I know why
[10:16:43] <sbx> to simulate earthquake I just move the map around, as in the cur_x, cur_y for MapWindow changes
[10:16:58] <Yuv422> yeah
[10:17:03] <Yuv422> that makes sense
[10:17:15] <sbx> and somewhere when updating that it updates the map blacking around that center location
[10:17:18] <Yuv422> so it is affecting the blacking flood fill
[10:17:24] <sbx> right that's what I mean
[10:17:30] <sbx> the cur_x,cur_y is moving in and out of the wall
[10:17:46] <sbx> I think
[10:17:53] <sbx> or cur_x+4
[10:18:23] <Yuv422> do you shake more than a tile in distance?
[10:18:27] <sbx> yes
[10:18:45] <sbx> you can give QuakeEffect different magnitudes
[10:19:05] <Yuv422> :-)
[10:19:06] <sbx> cyclops move it enough to shift by a tile
[10:19:22] <Yuv422> on a side note.
[10:19:31] <Yuv422> I got a GBA flash cart
[10:19:39] <sbx> hmm
[10:19:41] <Yuv422> and tried dubs nuvie to gba port
[10:19:52] <sbx> there was a post on the nuvie forum about that right?
[10:19:58] <Yuv422> yes
[10:20:04] <sbx> what happened
[10:20:09] <Yuv422> it works well
[10:20:29] <Yuv422> it is great seeing u6 on such a tiny screen. :-0
[10:20:38] <sbx> I don't know anything about the hardware if that's amazing or not
[10:20:44] <Yuv422> I'll have to take a few pictures
[10:20:46] <sbx> but I wouldn't mind seeing that either
[10:20:58] <sbx> how big is the screen? is it hard to play
[10:21:03] <sbx> fullscreen would be better
[10:21:55] <Yuv422> let me take a few pics
[10:22:03] * Yuv422 gets the camera out
[10:24:46] <sbx> combat in Fallout is so fun
[10:25:32] <sbx> even though it is turn-based the action can seem pretty intense with the descriptions and animations
[10:26:38] <Yuv422> hmm these pictures are pretty poor quality
[10:26:56] <sbx> oh ok
[10:27:02] <sbx> what webcam?
[10:27:31] <sbx> there should be a comma there
[10:27:49] <sbx> small size is fine though I'm on a slow modem
[10:28:00] <Yuv422> just a bit blury
[10:32:27] <sbx> you putting them on the website?
[10:32:35] <Yuv422> yeah
[10:32:41] <Yuv422> just resizing them
[10:34:28] <Yuv422> uploading now
[10:36:27] <Yuv422> http://nuvie.sourceforge.net/temp/u6_gba.jpg
[10:36:40] <Yuv422> http://nuvie.sourceforge.net/temp/u6_gba1.jpg
[10:37:16] <Yuv422> go to his website and get the source code
[10:37:30] <Yuv422> most of it is Cified versions of the nuvie code. ;-)
[10:37:44] <Yuv422> we really should get him to stick our licence back on it. ;-)
[10:37:52] <Yuv422> oh and give us some credit.
[10:38:57] <sbx> woo
[10:39:15] <sbx> so he did some of his own interface modifications
[10:39:20] <Yuv422> yes
[10:39:25] <Yuv422> they work quite well
[10:39:38] <sbx> and they look good
[10:39:53] <Yuv422> you can get his binary from his wensite
[10:39:56] <Yuv422> website
[10:40:00] <sbx> I dont have a GBA
[10:40:06] <Yuv422> and play it in a GBA emulator
[10:40:17] <sbx> oh that works :)
[10:40:18] <Yuv422> or even on his webpage in a java GBA emulator. ;-)
[10:40:25] <sbx> hmm really
[10:40:37] <Yuv422> but you can only access his webpage with IE. :-(
[10:41:12] <sbx> Harry Potter and the Order of the Phoenix?!
[10:41:18] <sbx> heh heh
[10:41:21] <sbx> what's that like? :)
[10:41:47] <Yuv422> a little slow
[10:41:51] <Yuv422> but still ok
[10:42:25] <sbx> I wouldn't know I havn't read any of that series
[10:43:16] <Yuv422> :-P
[10:43:20] <sbx> nor do I know anything about it
[10:43:34] <sbx> but I havn't ever played a GBA either
[10:43:43] <sbx> so maybe I should just get out more often
[10:43:45] <Yuv422> really?
[10:43:54] * Yuv422 has two gba's
[10:43:58] <sbx> heh
[10:44:01] <sbx> what for?
[10:44:10] <Yuv422> the old and the new GBA
[10:44:19] <Yuv422> the old one was terrible
[10:44:23] <sbx> if you hadn't told me there were two I wouldnt have known!
[10:44:26] <Yuv422> you could hardley see the screen
[10:44:51] <sbx> what's different now?
[10:44:55] <sbx> backlight or something?
[10:45:03] <Yuv422> the new one has backlighting
[10:45:08] <Yuv422> yes
[10:45:09] <Yuv422> :-)
[10:45:12] <sbx> ah k
[10:45:20] <Yuv422> and an internal battery
[10:45:32] <sbx> the first didnt have that?
[10:45:32] <Yuv422> and a flip open design
[10:45:39] <Yuv422> nope
[10:45:51] <sbx> did you get a battery pack?
[10:46:08] <Yuv422> it takes two AA batterys
[10:46:20] <Yuv422> the new one just plugs into a charger
[10:46:34] <sbx> oh I see I was thinking the reverse
[10:46:39] <sbx> to tell you the truth the last handheld game console I've used was the minigameboy with color, and that was someone else's property
[10:46:49] <sbx> and it was just pokemon
[10:46:57] <Yuv422> hehe I have one of those too.
[10:47:06] <Yuv422> not pokemon though
[10:47:35] <sbx> I just don't know any games on consoles or handhelds that I'm interested in, with a few exceptions
[10:48:10] <sbx> Ultima VI now being one of them :P
[10:48:12] <Yuv422> yeah I use them to play platform games
[10:48:54] <sbx> which?
[10:49:17] <Yuv422> mario
[10:49:30] <Yuv422> mainly
[10:49:36] <sbx> :)
[10:50:11] <sbx> there were, of course, several ultimas for game consoles
[10:50:15] <sbx> but they were usually crap
[10:50:45] <Yuv422> yes
[10:51:20] <sbx> isn't GBA similiar to an SNES?
[10:51:45] <Yuv422> yes
[10:51:54] <sbx> how does he get a more resource-intensive U6 on it?
[10:51:56] <Yuv422> it is about as powerful as a SNES
[10:52:05] <sbx> the original U6 SNES port had to be watered-down
[10:52:12] <sbx> usable objects removed
[10:52:19] <Yuv422> hehe have a look at the source
[10:52:41] <sbx> optimizations?
[10:52:55] <Yuv422> I'm not too sure how he does it
[10:53:15] <Yuv422> I guess it helps that he can store alot more in the carts rom
[10:53:30] <sbx> how much?
[10:53:50] <Yuv422> well I have a 256Mbit flash cart
[10:54:06] <sbx> gah
[10:54:13] <sbx> better than SNES :)
[10:54:21] <Yuv422> just a bit. ;-)
[10:55:26] <sbx> can SNES cards hold 48Mbit?
[10:55:35] <sbx> carts
[10:55:41] <Yuv422> not too sure on the snes cart specs
[11:20:23] --> exultbot has joined #nuvie
[11:20:23] --- Topic for #nuvie is: Nuvie - New Ultima VI Engine (http://nuvie.sf.net)
[11:20:23] --- Topic for #nuvie set by ChanServ at Sun Feb 15 05:09:00 2004
[11:20:43] <Yuv422_> it just locked up music stoped everything froze
[11:20:53] <Yuv422_> I could move my mouse a little but that was it
[11:38:22] <-- sbx has left IRC ()
[11:41:31] --> sbx has joined #nuvie
[11:41:38] <Yuv422_> wb sbx
[11:41:43] <sbx> ty
[11:44:27] <sbx> well this is odd Fallout is crashing
[11:44:33] <sbx> I hope this is recoverable somehow
[11:44:38] <Yuv422_> hmm
[11:44:42] <wjp> did you get the patch?
[11:44:53] <sbx> no mine is already 1.1
[11:45:10] <sbx> did you get crashes?
[11:45:18] <sbx> for example when you leave a map
[11:53:06] <sbx> well it may be an OS problem, since Explorer doesn't work
[11:53:08] <sbx> bbl
[11:53:09] <-- sbx has left IRC ()
[11:58:40] <Yuv422_> bbl
[12:36:52] --> sbx has joined #nuvie
[13:20:45] <Yuv422_> time for bed
[13:20:45] <Yuv422_> cya
[13:20:47] <-- Yuv422_ has left IRC ("[BX] We drink more beers than Norm on Cheers!")
[13:22:45] <sbx> oops
[13:22:45] <sbx> cya
[14:29:51] <-- sbx has left IRC ()
[15:00:30] <-- Kirben has left IRC ("System Meltdown")