#nuvie@irc.freenode.net logs for 27 Aug 2007 (GMT)

Archive Today Yesterday Tomorrow
Nuvie homepage

[00:07:13] <-- servus has left IRC (Read error: 110 (Connection timed out))
[01:48:06] --> Kirben has joined #nuvie
[06:51:57] --- servus_ is now known as servus
[07:07:35] <-- Kirben has left IRC ()
[07:35:47] <-- servus has left IRC ("Leaving")
[07:40:02] --> servus has joined #nuvie
[08:05:53] --> Yuv422 has joined #nuvie
[08:16:02] --> Kirben has joined #nuvie
[08:29:18] <-- Yuv422 has left IRC ()
[10:53:43] --> sb-x has joined #nuvie
[11:18:04] <-- luteijn has left IRC (Read error: 110 (Connection timed out))
[11:20:09] --> luteijn has joined #nuvie
[11:20:29] <luteijn> :) luteijn@dollar:/home/luteijn/devel/u6o-client/my-client/
[11:56:35] <sb-x> hi luteijn
[11:56:44] <sb-x> im downloading it already
[11:57:53] <sb-x> im in xp now though so i'll try it later
[11:58:23] <sb-x> it must be interesting because of the smiley
[11:58:30] <sb-x> :)
[11:59:18] <luteijn> don't download the subdirs from data from me, as they are just the normal u6o client resources....
[11:59:50] <luteijn> you probably have those already, or can download them form somewhere faster than my box ;)
[12:00:30] <sb-x> they arent readable anyway
[12:00:59] <sb-x> so this uses the official client data somehow?
[12:01:06] <luteijn> hmm I didn't mean for that to be the case but lucky coincidence.
[12:01:11] <sb-x> heh
[12:01:20] <luteijn> Yes, all the bitmaps etc, I'm not going to redo that work..
[12:01:51] <luteijn> don't be too disappointed, it is mostly framework, although it does come up with a menu and plays a .mid
[12:02:08] <luteijn> and you get lots of debug output..
[12:02:10] <sb-x> well, your test client used that customized tile bitmap
[12:02:25] <sb-x> which was extracted from u6
[12:02:35] <sb-x> does it work?
[12:02:48] <sb-x> actually show the map and let you move around
[12:02:56] <luteijn> that one is only 16x16..
[12:03:17] <luteijn> well, no, I did the parts I like least first.
[12:03:39] <luteijn> so it's not even connecting yet, just loading in lots of data and then doing almost nothing with it.
[12:03:51] <sb-x> ok
[12:03:55] <sb-x> fun
[12:04:17] <luteijn> It should compile under windows too, except maybe for getline..
[12:05:51] <sb-x> what are the .swp files for?
[12:06:14] <luteijn> it is a work in progress, so those are probalby my current editing sessions..
[12:06:30] <luteijn> w
[12:10:41] <sb-x> if i could find where i installed libSDL
[12:15:04] <sb-x> i dont have it. i'll just compile in linux
[12:20:31] <luteijn> I've altered the permissions of those resource files so you ought to be able to just run it on 'dollar' You'd be missing out on the music, which is probably the best part so far ;)
[12:21:04] <sb-x> thanks, but i'll wait
[12:31:17] --> Yuv422 has joined #nuvie
[12:31:34] <luteijn> hi Yuv
[12:34:42] <Yuv422> hi luteijn
[12:34:45] <Yuv422> how's it going?
[12:35:27] <luteijn> I'm wasting time on an ultima-remake (remake of the u6o-client), so good ;)
[12:35:41] <Yuv422> cool
[12:36:06] <Yuv422> do you have much to go one
[12:36:07] <Yuv422> on
[12:36:19] <Yuv422> or did you have to get your hands dirty?
[12:36:49] <luteijn> yes, I have the source to a version of the real u6o client.
[12:36:57] <Yuv422> ah k
[12:37:16] <luteijn> which clearly shows Galleon's QuickBasic background,
[12:37:32] <Yuv422> rem
[12:37:42] <Yuv422> that's all I remember from basic
[12:37:55] <Yuv422> not even sure if that's right
[12:37:56] <Yuv422> ;-)
[12:38:06] <luteijn> both in function names, (global) variable use, basically one big source file (although portions are included from different files) and spaghettiness.
[12:38:07] <Yuv422> dim
[12:38:26] * Yuv422 likes spagetti
[12:38:30] <luteijn> rem for remarks, if that what you meant you remembered correctly.
[12:38:38] <Yuv422> yeah
[12:38:39] <Yuv422> :)
[12:38:46] <Yuv422> dim for arrays?
[12:39:32] <luteijn> yes, to reserve memory for them; the basic I used way back by default alread allocated 10 members I think, anyhting else, or multidimensional, you needed to use dim.
[12:40:49] <luteijn> my version is using SDL, so hopefully it will be more portable..
[12:41:47] <Yuv422> cool
[12:41:58] <Yuv422> let me know if you want it tested on ppc os x
[12:42:42] <Yuv422> I read that galleon is taking an extended break from u6o devel
[12:42:45] <Yuv422> is that right?
[12:42:47] <sb-x> ;
[12:42:51] <Yuv422> hey SB-X
[12:42:55] <sb-x> ; hi Yuv
[12:43:01] <luteijn> well, so far I've just gotten round to reading in a lot of bitmap data, and playing a tune. The menu is still done with fprintf(stderr,...)
[12:43:03] <sb-x> (; = rem)
[12:43:13] <Yuv422> -- sql
[12:43:39] <luteijn> yes, which is one of the reasons for me to make the client; at least the host-side isn't going to change on me this time ;)
[12:44:10] <luteijn> ! can also be a remark, at least it was on my home computer..
[12:44:31] <sb-x> i was thinking of MS QuickBasic
[12:44:55] <sb-x> actually just QBasic which was a slimmed down version of QuickBasic
[12:45:43] <sb-x> i made a lot of little programs in that but mostly ran others' code
[12:46:33] <luteijn> I don't think it gets distributed with windows anymore..
[12:46:47] <luteijn> ls
[12:46:50] <sb-x> maybe that's why I don't mind global variables
[12:47:11] <Yuv422> do you remember the gorrilas
[12:47:18] <Yuv422> and the bananas?
[12:47:19] <luteijn> I don't mind them _too_ much, but I do if they're all called x,y,z x2, x3 x4
[12:47:31] <Yuv422> Ouch
[12:47:33] <luteijn> That was a demo program that came with it wasn't it.
[12:47:42] <Yuv422> yeah
[12:48:31] <luteijn> I have a lot of global variable too, to avoid having to pass things around all the time, but I have them all contained in a 'struct {} global'
[12:48:49] <luteijn> and they have real names ;)
[12:49:03] <sb-x> i dont remember the official demo programs
[12:49:16] <sb-x> a global struct, that's the way to do it
[12:50:08] <Yuv422> I'm mucking around with some ARM
[12:50:11] <Yuv422> at the moment
[12:50:27] <Yuv422> it's a lot nicer than 16bit x86 asm
[12:50:40] <luteijn> the whole thing is a little over engineered I think, I've got my global struct, which (of course) has several levels of sub-structs, and one of the variables is pointing to a kind of tree with 'key/value' pairs for configuration data...
[12:50:56] <Yuv422> cool
[12:51:14] <Yuv422> is it just C?
[12:51:25] <luteijn> Ah, yes, did I mention GD uses lots of inlined assembly?
[12:51:44] <sb-x> on the u6o forum you did
[12:51:57] <luteijn> yes, mine is just C.
[12:52:06] <Yuv422> for speed?
[12:52:14] <Yuv422> or just for fun
[12:52:21] <luteijn> I think for speed.
[12:53:06] <luteijn> Although I think the compiler could do a decent job on them, so I'll try to avoid using asm..
[12:53:35] <sb-x> sounds like you should use C++, you can use a vector of std::pairs like nuvie's configuration class
[12:53:36] <Yuv422> don't think u6o would have speed issues
[12:54:19] <luteijn> I think he uses it mainly when drawing updates.
[12:54:22] <sb-x> u6o blits the tiles to the screen a little slowly, although its faster than it was originally
[12:54:41] <luteijn> probably just not using the proper library functions.
[12:54:54] <sb-x> no, he's using a custom renderer
[12:55:03] <sb-x> instead of directdraw's
[12:55:11] <luteijn> that's what I meant ;)
[12:55:29] <sb-x> yes, my 'no' was in agreement :)
[12:55:38] <sb-x> at least from what he said, maybe that's not true anymore
[12:56:05] <luteijn> he's using ddraw too, at least.
[12:56:53] <sb-x> but not completely?
[12:59:43] <luteijn> he has an img() function that overlays an image onto an existing image.
[13:00:03] <luteijn> I doubt that ddraw doesn't have something to do that..
[14:21:12] <Yuv422> time for bed
[14:21:14] <Yuv422> cya
[14:21:18] <-- Yuv422 has left IRC ()
[15:09:47] <-- Kirben has left IRC (Read error: 110 (Connection timed out))
[17:21:31] <-- ChanServ has left IRC (jordan.freenode.net irc.freenode.net)
[17:21:31] <-- servus has left IRC (jordan.freenode.net irc.freenode.net)
[17:21:31] <-- wjp has left IRC (jordan.freenode.net irc.freenode.net)
[17:21:31] <-- sb-x has left IRC (jordan.freenode.net irc.freenode.net)
[17:37:33] --> ChanServ has joined #nuvie
[17:37:33] --> sb-x has joined #nuvie
[17:37:33] --> servus has joined #nuvie
[17:37:33] --> wjp has joined #nuvie
[21:20:18] --> harbingerkun has joined #nuvie
[23:41:11] --> Kirben has joined #nuvie