#nuvie@irc.freenode.net logs for 26 May 2003 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage


[00:36:18] --> Kirben has joined #nuvie
[01:05:59] --> Yuv422 has joined #nuvie
[01:43:06] <Yuv422> bbl
[01:43:07] <-- Yuv422 has left IRC ("[BX] Twat?! I cunt hear you!")
[03:18:58] --> Yuv422 has joined #nuvie
[03:36:30] --> maku has joined #nuvie
[03:36:41] <maku> good morning
[03:36:49] <Yuv422> hey maku
[03:36:53] <Yuv422> how's things?
[03:37:44] <maku> I am so tired. clock is 6:30AM and I have an English exam soon. got you my email?
[03:38:00] <Yuv422> up
[03:38:02] <Yuv422> yup
[03:38:07] <Yuv422> just looking at it now
[03:38:20] <maku> ok
[03:38:54] <Yuv422> about the coding stye
[03:38:56] <Yuv422> style
[03:39:07] <maku> what do you like?
[03:39:31] <maku> I try to reserve orginal style when I edit an existing file
[03:39:32] <Yuv422> I have no problem with your style. :) but if you are working on other files can you use the existing style?
[03:39:44] <Yuv422> just for consistancy
[03:40:11] <Yuv422> you've got lots of comments which is good
[03:40:12] <Yuv422> :)
[03:40:20] <maku> yes (I just said). and I can make it look more nuvie like for CVS tree
[03:40:46] <Yuv422> hehe irc lag. ;)
[03:40:52] <maku> yep ;)
[03:41:13] <Yuv422> do you want to put your shape description into the docs cvs
[03:41:36] <maku> ok
[03:41:41] <Yuv422> if it differs from nodlings description
[03:42:06] <maku> my descripes the odd bytes
[03:42:11] <Yuv422> I think we should keep the intro sequence seperate frm game and event
[03:42:35] <maku> I am planning to add an Intro class
[03:42:44] <Yuv422> nice
[03:43:17] <maku> it could be called by Game->play
[03:43:25] <Yuv422> yes
[03:59:55] <Yuv422> yes
[04:00:36] <maku> I become quite familiar with bvi trying to examine the shape format
[04:00:45] <Yuv422> bvi?
[04:01:18] <maku> a hex editor. uses vi interface. I ought to get better. :)
[04:01:36] <Yuv422> do you think you can reconstruct the intro sequence from the shape files?
[04:01:51] <Yuv422> is all the relevent graphic data stored in the shape files?
[04:02:41] <maku> I think so. every piece of data seems to be in place. and we have dozens of 6x6 rain drops in intro_1.shp :)
[04:03:01] <maku> it'll be time consuming work, and I have to get orginal working
[04:03:50] <Yuv422> any idea whats in intro.ptr?
[04:03:52] <Yuv422> ;)
[04:04:07] <maku> no, not yet
[04:04:20] <Yuv422> so the mouse cursors are in shape format.
[04:04:21] <Yuv422> hmm
[04:04:29] <maku> yes
[04:04:36] <Yuv422> I guess we need to support the mouse at some stage. ;)
[04:04:53] <maku> this shape format contains hot spot field
[04:05:10] <maku> this could be used when using as mouse cursor
[04:05:18] <Yuv422> how does that work?
[04:05:28] <maku> hot spot?
[04:05:42] <Yuv422> yes
[04:06:25] <Yuv422> I guess that just allows them to compress the image by only storeing the minimum image data
[04:07:00] <maku> it is some point in shape. I don't know how it's used with ordinary shapes but in mouse cursors it seems to represent the pixel that should be placed in mouse position
[04:07:51] <maku> this hotspot has nothing to with compression. altough, all pixel blocks (which in turn can be compressed) have coordinates relative to hot spot.
[04:08:26] <maku> do we have transperent blit function? shapes use color #255 to represent transperency
[04:08:41] <Yuv422> so the image could be larger and they just store the pixels around the hotspot
[04:08:50] <maku> yes.
[04:09:00] <Yuv422> yes the blit method handles transparent pixels
[04:09:05] <Yuv422> if told to do so
[04:09:24] <maku> shape image can be, for example, 1024x768 pixels but one has to store only two bytes image data
[04:14:07] <Yuv422> be back in a bit
[04:14:26] <maku> ok
[04:30:27] <maku> could Configuration class fetch the config file from home directory (~/.nuvie.cfg)?
[04:30:34] <maku> I could change this
[04:33:55] <Yuv422> that would be a problem for win32
[04:33:58] <Yuv422> then. :(
[04:34:48] <Yuv422> we need a method the check for the config file
[04:34:50] <maku> get env works there also. we could also hard code this when compiling.
[04:35:27] <maku> bbl
[04:35:28] * maku is away: refreshing...
[04:35:47] <Yuv422> so we check ~/.nuvierc first then nuvie.cfg in the working directory etc.
[04:47:12] * maku is back (gone 00:11:44)
[04:47:30] <maku> that's exactly what I have in mind
[04:47:57] <Yuv422> that sounds good
[04:48:24] <maku> ~/.nuvierc - /etc/nuvie.cfg (or /usr/local/share/nuvie/nuvie.cfg ...) - ./nuvie.cfg ?
[04:48:56] <Yuv422> you might have to ifdef out the unix specific checks for the win32 platform
[04:49:26] <Yuv422> kirben or vividos could advise you on that one.
[04:49:45] <maku> probably. and someone familiar with win32 api could fetch these values from registry
[04:50:13] <maku> but then we would need some kind of installation program
[04:50:30] <maku> that puts these values to the registry
[04:50:45] <Yuv422> on OSX it is ~/Library/Preferences/
[04:51:10] <Yuv422> lets keep it simple for now
[04:51:20] <maku> yep
[04:51:25] <Yuv422> they can just use nuvie.cfg from their working dir. :)
[04:51:50] <maku> good reason to start using unix derivate :)
[04:52:22] <Yuv422> you'll need to expand the $HOME env var I guess.
[04:52:37] <maku> home_dir = getenv("HOME");
[04:52:44] <Yuv422> yup
[04:53:08] <Yuv422> again some win32 platforms don't have getnev
[04:53:11] <Yuv422> getenv
[04:53:52] <maku> mscvrt.dll os something like that should provide it. it's included from win95 osr2.
[04:54:15] <maku> and for windowses older that the dll can be downloaded separately
[04:55:23] <maku> any way, I have to go now
[04:55:25] <maku> bye
[04:55:29] <Yuv422> cya
[04:55:42] <-- maku has left IRC ("Going to school...")
[06:32:09] <-- animeloe has left IRC (Read error: 113 (No route to host))
[08:14:15] <Yuv422> Time to go
[08:14:31] <Yuv422> I'm almost done on the new Treeified ObjManager
[08:14:47] <Yuv422> just got to sort out some object ordering issues and we should be set to go
[08:15:06] <Yuv422> cya
[08:15:07] <-- Yuv422 has left IRC ("[BX] Beefcake! BEEFCAKE!")
[09:14:09] --> animeloe has joined #nuvie
[09:14:13] --- animeloe is now known as Eclair
[09:15:03] --- Eclair is now known as animeloe
[09:16:11] --> maku has joined #nuvie
[09:16:44] <-- maku has left IRC (Client Quit)
[15:24:06] <-- Kirben has left IRC (Read error: 104 (Connection reset by peer))
[15:37:47] --> wjp has joined #nuvie
[23:34:59] <-- wjp has left IRC ("Zzzz...")
[23:42:31] <-- animeloe has left IRC (Remote closed the connection)
[23:45:23] --> animeloe has joined #nuvie
[23:45:27] --- animeloe is now known as Eclair
[23:46:03] --- Eclair is now known as animeloe