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

Archive Today Yesterday Tomorrow
Nuvie homepage

[00:42:13] --- servus_sleeps is now known as servus
[00:59:24] <-- servus has left IRC ()
[01:07:08] --> servus has joined #nuvie
[01:10:05] --> SB-X has joined #nuvie
[01:18:33] <-- SB-X has left IRC ("Flee!")
[01:25:38] <Kirben> hmm nuvie crashes now, but not under gdb.
[01:26:27] <Kirben> logs are empty.
[02:59:22] --> Yuv422 has joined #nuvie
[02:59:53] <Yuv422> any idea on this crash kirben?
[03:00:08] <Kirben> no
[03:01:36] <Yuv422> is it at startup?
[03:01:45] <Kirben> Yes
[03:02:01] <Yuv422> but not under gsb
[03:02:03] <Yuv422> gdb
[03:03:16] <Yuv422> I'll run the current cvs through a malloc checker
[03:03:28] <Yuv422> we might have an overflow somewhere
[03:05:20] <Kirben> Yes runs fine under gdb, and not outside gdb.
[03:06:02] <Yuv422> hmm sounds like a memory overflow
[03:06:17] <Yuv422> or it could be an environment issue
[03:06:42] <Yuv422> we might need to ifndef out some of the new config checks
[03:06:44] <Yuv422> for win32
[03:10:12] <Yuv422> we don;t seem to be trashing or leaking memory on startup
[03:10:19] <Yuv422> or for general use
[05:11:32] <-- servus has left IRC (Read error: 110 (Connection timed out))
[05:17:54] --> maku has joined #nuvie
[05:18:01] <Yuv422> hi maku
[05:18:07] <maku> hi
[05:18:15] <maku> nuvie is the 288th most active project in sf.net
[05:18:39] <maku> just had to check that :)
[05:19:14] <Yuv422> hehe
[05:20:01] <maku> I am compiling your latest changes in
[05:20:27] <Yuv422> ah k
[05:21:00] <maku> cvs update didn't download usecode directory. I had to co that myself
[05:21:03] <maku> annoying
[05:21:18] <Yuv422> yeah cvs can do that some times :(
[05:21:35] <maku> guess how many times I tried to compile nuvie before I noticed that there were some files missing? ;)
[05:22:04] <maku> now I got: Event.h:38:21: UseCode.h: No such file or directory
[05:22:39] <Yuv422> oh I forgot to alter makefile.am
[05:22:49] <Yuv422> I'll check it in in a sec
[05:23:46] <maku> ok
[05:25:05] <Yuv422> ok that's in now
[05:25:05] <Yuv422> ;)
[05:28:23] <maku> ok. reautogening & reconfiguring...
[05:36:58] <Yuv422> :
[05:37:00] <Yuv422> +)
[05:38:19] <maku> gmake[2]: *** No rule to make target `GameSelect.cpp', needed by `GameSelect.o'. Stop.
[05:46:05] <Yuv422> hmm
[05:46:13] <maku> I got it working
[05:46:23] <Yuv422> what was the problem?
[05:46:28] <maku> cvs update didn't fetch GameSelect.cpp/h either
[05:46:40] <maku> I don't like cvs anymore
[05:46:41] <Yuv422> ah k
[05:46:43] <maku> :)
[05:47:18] <Yuv422> how's the intro going?
[05:47:35] <maku> I don't want to talk about it ;)
[05:47:40] <maku> not too well
[05:47:49] <Yuv422> ah k, how so?
[05:48:07] <maku> wierd palette is one thing
[05:48:22] <maku> whatever palette I use intro looks the same
[05:48:38] <Yuv422> wrong colours?
[05:48:57] <maku> most colors ok but there are few that don't look correct
[05:49:18] <maku> other problems are with screen handling and animation
[05:49:25] <Yuv422> could I see a screenshot?
[05:49:58] <maku> there isn't screencaprture key in nuvie, is there? please wait. I'll use gimp
[05:50:47] <Yuv422> we should add screencap
[05:50:53] <Yuv422> it shouldn't be hard
[05:51:47] <maku> screen->saveToBmp() -- SDL_SaveBMP(screen->sdl_surface, "screenshotn.bmp")
[05:53:18] <Yuv422> too easy!
[05:53:30] <maku> ;)
[05:53:51] <maku> ofcourse this would save the scaled window
[05:54:45] <Yuv422> that's probably what they want
[05:54:51] <maku> gimp don't want to take screen shot
[05:55:19] <maku> neither from the window nor the whole screen
[05:55:25] <Yuv422> :(
[05:55:46] <maku> do you know any screengrappers for X?
[05:57:43] <Yuv422> not really
[05:58:19] <maku> I found one, xwd, but that doesn't work either. causes a X-protocol error
[05:59:12] <Yuv422> http://www.ibiblio.org/pub/Linux/X11/xutils/!INDEX.short.html
[05:59:20] <Yuv422> MagiCapture
[06:00:24] <Yuv422> do worry about it is it is too much hassle
[06:01:13] <Yuv422> hehe don;t
[06:01:17] <Yuv422> don't
[06:01:27] <Yuv422> argh, my typeing.
[06:01:36] <maku> =) it would be nice to be able to take screenshots... xwd can take shots of xterm
[06:02:07] <maku> SDL does probably some ugly hacks that cause xwd to fail
[06:04:22] <Yuv422> I might add some nighttime effects soon
[06:04:34] <maku> cool!
[06:04:59] <Yuv422> have you added any alpha chaneel methods to screen?
[06:05:06] <Yuv422> channel
[06:05:15] <maku> ;) no, I haven't
[06:05:25] <maku> but they're easy to add
[06:05:30] <maku> and slow :(
[06:05:49] <Yuv422> which part is slow?
[06:05:57] <maku> alpha blits
[06:06:34] <Yuv422> are you blitting to the unscaled surface?
[06:07:04] <maku> nope. we don't have unscaled sdl_surface, have we?
[06:07:08] <maku> fastest would be to use SDL_SetGamma() but that affects the whole screen
[06:07:20] <maku> and it's not supported by every card out there
[06:09:11] <maku> I might rework the screen class, if you don't have objections
[06:09:18] <maku> but not before next week
[06:09:24] <Yuv422> ah k
[06:09:28] <maku> this is quite a buse weekend
[06:09:33] <maku> busy
[06:09:40] <Yuv422> no problem
[06:09:54] <Yuv422> just let me see your changes before you commit them :)
[06:10:09] <maku> ok. so you want to be able to fade only part of the screen?
[06:10:25] <Yuv422> it might be handy
[06:10:36] <Yuv422> we would fade in the mapwindow
[06:10:37] <maku> could we use more SDL_Surfaces?
[06:11:01] <Yuv422> if you think it is nececry
[06:11:12] <maku> using SDL_SetColorKey we're able to make color 255 transperent
[06:11:27] <maku> then all blits would be accelerated
[06:11:45] <maku> and we wouldn't have yet another layer between video hardware
[06:12:05] <maku> I have to think about this and do little plans
[06:12:09] <Yuv422> don't forget we might want to use colours outside the game palette
[06:12:13] <Yuv422> in game mode
[06:12:31] <maku> what do you mean?
[06:12:49] <Yuv422> for things like menu overlays rain storm effects
[06:13:26] <maku> ok
[06:13:29] <Yuv422> and dynamic lighting
[06:13:40] <Yuv422> just a thought
[06:14:15] <maku> dynamic lighting makes things a lot harder
[06:14:30] <maku> that means mapwindow can't be 8bit window
[06:14:30] <Yuv422> why so?
[06:15:01] <Yuv422> we will have a full screen mapwindow mode in the future too.
[06:15:24] <maku> it has to be 16bit or 32bit or we would end up with grey light :)
[06:18:03] <maku> any way. I have to go. the last school day
[06:18:10] <Yuv422> np
[06:18:13] <Yuv422> cya maku
[06:18:17] <maku> cya
[06:18:22] <-- maku has left IRC ("Jo riittää.. Vain järjestys takaa tulevaisuuden!")
[09:33:08] --> wjp has joined #nuvie
[09:34:55] <wjp> hi
[09:48:16] <wjp> maku (logs): you need to do "cvs update -d" to get cvs to download new directories
[10:30:26] <Yuv422> I wonder why that is
[10:31:44] <wjp> I have no idea why it isn't the default :-)
[10:32:15] <Yuv422> because how are you ment to know that there is a new directory?
[10:32:22] <wjp> I always use -d
[10:33:08] <Yuv422> I'm just adding support for levers
[10:33:11] <wjp> or you can add the line 'update -d' to your .cvsrc
[10:33:38] <Yuv422> ah k
[11:26:56] --> Yuv422_ has joined #nuvie
[11:27:02] <Yuv422_> Levers are in
[11:27:42] <Yuv422_> just need to extend for multiple portcullis single lever senario
[11:44:36] <-- Yuv422 has left IRC (Read error: 110 (Connection timed out))
[12:08:59] --- Yuv422_ is now known as Yuv422
[12:14:02] <-- wjp has left IRC ("gtg")
[12:27:38] <Yuv422> right levers are done
[12:28:31] <Yuv422> ooh dear
[12:28:35] <Yuv422> maybe not
[12:34:44] <Yuv422> the portcullis in Eframs shop turns into a silver horn when turned on :(
[14:16:46] --> wjp has joined #nuvie
[14:36:46] <-- Yuv422 has left IRC (Read error: 110 (Connection timed out))
[15:01:21] <-- Kirben has left IRC (Read error: 104 (Connection reset by peer))
[23:15:18] <-- wjp has left IRC ("Zzzz...")