code logs -> 2008 -> Wed, 16 Jan 2008< code.20080115.log - code.20080117.log >
--- Log opened Wed Jan 16 00:00:41 2008
00:11 Reiver is now known as Clank
00:24 Vornicus-Latens [~vorn@Admin.Nightstar.Net] has quit [Ping Timeout]
00:31 You're now known as TheWatcher[T-2]
00:36 You're now known as TheWatcher[zZzZ]
01:00 Derakon[AFK] is now known as Derakon
01:15 Doctor_Nick [~nick@68.35.203.ns-3367] has joined #code
01:42 gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has quit [Quit: Z?]
02:21 Derakon is now known as Derakon[AFK]
02:31 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has quit [Operation timed out]
03:07 ToxicFrog [~ToxicFrog@Admin.Nightstar.Net] has joined #code
03:07 mode/#code [+o ToxicFrog] by ChanServ
03:08 Clank is now known as Reiver
03:22 Chalcy [~Chalcedon@203.211.126.ns-3357] has joined #code
03:22 mode/#code [+o Chalcy] by ChanServ
03:23 Chalcedon [~Chalcedon@Nightstar-2443.ue.woosh.co.nz] has quit [Ping Timeout]
04:38 Derakon[AFK] is now known as Derakon
06:31 Derakon is now known as Derakon[AFK]
07:11 C_tiger [~c_wyz@Nightstar-5325.nycmny.east.verizon.net] has quit [Quit: And away she goes!]
07:20 C_tiger [~c_wyz@Nightstar-5325.nycmny.east.verizon.net] has joined #code
08:02 gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has joined #Code
08:02 mode/#code [+o gnolam] by ChanServ
08:26 Otto_Flick [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has joined #Code
08:27 gnolam [lenin@Nightstar-10613.8.5.253.static.se.wasadata.net] has quit [Ping Timeout]
08:29 Otto_Flick is now known as gnolam
08:49 You're now known as TheWatcher
08:59 Vornotron [~vorn@Admin.Nightstar.Net] has joined #code
08:59 Chalcy [~Chalcedon@203.211.126.ns-3357] has quit [Quit: Gone]
09:02 * TheWatcher eyes xkcd, so needs to make one of his configure scripts output the alt text...
09:17
< McMartin>
Heh
09:17
< McMartin>
Idly, TW, I tested out that code for you on my lab laptop, and it rendered flawlessly
09:17
< McMartin>
After I get some sleep, I'll try to dig up the Sable OpenGL initialization code for comparison purposes.
09:18
< McMartin>
(Though it occurs to me that Sable uses DrawElements, not DrawArrays.)
09:19
< McMartin>
Oh, wait, n/m. It's on SF.net
09:19 Vornotron is now known as Vornicus
09:20
< McMartin>
And now, some much-deserved sleep
09:22 * TheWatcher nods
09:22
<@TheWatcher>
Thanks McM.
09:24
<@TheWatcher>
Chances are I'm going to try and rewrite it all to use vertex buffer objects, but I think I have a copy of the sable code somewhere - I'll have a look to make sure I'm not doing Something Dumb
09:27
<@TheWatcher>
(which I probably am)
09:41 * Vornicus plays MoO, figures out how much you pay in ship maintenance: 1 BC for every 50 BC worth of ships you have.
09:44 * Vornicus now need only figure out how much bases cost, and how techs are chosen, and he has the entire game engine.
09:58
< gnolam>
Ooh!
10:01
< Vornicus>
oh, and how tech capture works.
10:02
< Vornicus>
(specifically: the number of factories on a planet affects the chance of getting a tech. How does this work?)
10:03
< Vornicus>
(getting a tech when capturing the planet, that is)
10:15
< EvilDarkLord>
I am about to learn C at uni, in a course that actually looks interesting unlike 'Java 101'. Course book is K&R, the C Programming Language 2nd edition. Has anyone used it previously around here?
10:15
< gnolam>
Gah. K&R C.
10:15
< Vornicus>
EDL: I've used it. I'm not sure of its merit as a textbook.
10:16
< gnolam>
It does a pretty good job of teaching you C... except that the code style is /horrible/. And rather outdated.
10:16
< Vornicus>
gnolam: the second edition of that book uses ansi C, not K&R
10:16
< gnolam>
The second edition still did horrible things like implicitly typed functions and the like, IIRC.
10:16
< Vornicus>
ah, true
10:30
< gnolam>
So in short, EvilDarkLord: trust what the book tells you about how the language works, but for all that is good and holy: don't copy the style.
10:30
< EvilDarkLord>
Right. Thanks.
10:40
<@TheWatcher>
And get a second textbook, at least. I've generally had few complaints, beyond groans about the hideous pun, about Deitel & Deitel 'C How To Program', but you'd probably be best served spending a few hours in a good bookshop looking through the c textbooks, as each teaches it in a slightly different way, and one may be more suited to your learning style than another.
10:42
< Vornicus>
I also endorse Deitel & Deitel
10:48 * Vornicus has their C++ book.
10:54
<@TheWatcher>
The C one is well written, and has a ~300 page C++ section too (it skims the STL, hence why it isn't 3 times the size ¬¬)
10:58
< Vornicus>
(heh)
11:06 * EvilDarkLord sees, shall try to find a good bookshop. The course does not seem to require a particular book, thankfully, K&R was just the only one they advertised.
11:08
<@TheWatcher>
In the UK, I'd recommend Waterstones, but... *shrug*
13:11 * TheWatcher has to try *very hard indeed* not to create a Submit::SUBMIT() function, or even a Submit::damnit() function, in his submissions handler module code...
13:13
< Vornicus>
heh
14:33 C_tiger [~c_wyz@Nightstar-5325.nycmny.east.verizon.net] has quit [Ping Timeout]
15:06
< Doctor_Nick>
Whats' the specification of C that gcc normally compiles in compliance with?
15:12
<@TheWatcher>
gcc ¬¬
15:14
<@TheWatcher>
seriously, though, c99
15:15
<@TheWatcher>
well, mostly. http://gcc.gnu.org/c99status.html
15:27
< Doctor_Nick>
ok
15:29 Doctor_Nick [~nick@68.35.203.ns-3367] has quit [Quit: Konversation terminated!]
15:29 C_tiger [~c_wyz@96.232.26.ns-4600] has joined #code
15:41
< Vornicus>
Oh, also apparently my MoO engine needs to learn about Disasters.
15:41
< Vornicus>
like Space Amoebas.
15:46
<@TheWatcher>
Space Amoebas.
15:47
< MyCatVerbs>
Space Amoeba?
15:47
< Vornicus>
Space Amoeba. It's a kind of space monster. It wanders the galaxy, eating planetary populations by osmosis.
15:59
<@TheWatcher>
I.. see
16:00
< Vornicus>
Or something.
16:00
< Vornicus>
It's from MoO
16:06 Doctor_Nick [~nick@128.186.122.ns-3172] has joined #code
16:16
< Doctor_Nick>
:D
16:16
< Doctor_Nick>
computers!
16:19
<@TheWatcher>
don't trust them, they're eevil
16:20
< jerith>
Comment of the day: # humble apologies for this hack...
16:42
< gnolam>
Huh. Sun is buying MySQL AB.
16:43
< jerith>
ALL YOUR DATABASE ARE BELONG TO SUN
16:43 * jerith runs.
16:43
< Doctor_Nick>
hey guys check this website out: goatse.cx
16:44
< jerith>
It's broken these days.
16:44
< jerith>
Someone's parked there.
16:44
< Doctor_Nick>
i know
16:44
< jerith>
Registrar: Variomedia AG
16:45 * jerith goes to get some supper before heading to a rehearsal.
16:45
< gnolam>
Nowadays you have to send people to Two Girls, One Cup instead. But it's just not the same when it requires media players.
16:45
< jerith>
What about lemonparty?
16:46
< Doctor_Nick>
THANKS LEMON PARTY!!
16:49
< gnolam>
Is tubgirl still up?
17:06 You're now known as TheWatcher[afk]
17:37 Chalcedon [~Chalcedon@203.211.126.ns-3357] has joined #code
17:37 mode/#code [+o Chalcedon] by ChanServ
17:50 Chalcedon [~Chalcedon@203.211.126.ns-3357] has quit [Quit: Gone]
18:17 * ToxicFrog eyes the fuck out of you all
18:18 * Vornicus agrees with TF.
18:20
<@ToxicFrog>
Vornicus: http://www.harveycartel.org/metanet/tutorials/tutorialA.html - collision detection in N. Includes some interesting stuff which I believe is relevent to stuff you were fiddling with much earlier.
18:22
< Vornicus>
TF: I saw that over in #lua
18:22
<@ToxicFrog>
Also tutorialB, which covers coarse detection.
18:22
<@ToxicFrog>
Aah.
18:22
< Vornicus>
I even commented that if people had never played N, they were missing out.
18:22
< Vornicus>
Also I'd seen those things before, some years ago.
18:23
< Vornicus>
But it's something that, in the end, I am very interested in actually implementing for VornBall
18:25
<@ToxicFrog>
Aha. That's what I remember you talking about it from.
18:27
< Vornicus>
I don't remember having a physics project before.
18:44 Attilla [~The.Attil@194.72.70.ns-11849] has quit [Quit: <Insert Humorous and/or serious exit message here>]
18:48
< Vornicus>
I know other people have looked at it with considerable seriousness.
18:53
< Vornicus>
gah. Okay, smaller bits.
18:53 Attilla [~The.Attil@194.72.70.ns-11849] has joined #code
19:00 AnnoDomini is now known as Pete
19:02
<@ToxicFrog>
Hmm. Maybe I'm getting you mixed up with someone else.
19:02
<@ToxicFrog>
There was discussion about the way the
19:02
<@ToxicFrog>
Sonic games handle slops.
19:02
<@ToxicFrog>
Slopes, even.
19:04
< EvilDarkLord>
Vornicus: Err, VornBall?
19:07
< Vornicus>
VornBall: Take Metroid.
19:07
< Vornicus>
remove the legs.
19:08
< Vornicus>
the Morph Ball Game I've talked about a couple of times over the past few months.
19:08 You're now known as TheWatcher
19:09
< EvilDarkLord>
I think I've kept missing that talk.
19:17
< Vornicus>
In the end: an explorey game, with powerups.
19:17
< Vornicus>
I had a list of potential powerups floating around, rather extensive.
19:18
< EvilDarkLord>
Is this entirely in your mind at the moment or is there some code floating around?
19:18
< Vornicus>
Entirely in my mind.
19:18 Doctor_Nick [~nick@128.186.122.ns-3172] has quit [Quit: Konversation terminated!]
19:18
< Vornicus>
I want to get an actual completed game or two under my belt before trying something that ambitious.
19:22 * TheWatcher eyes vorn
19:22
< Vornicus>
Yes?
19:23
<@TheWatcher>
Something you might want to look at: Kula World - http://www.youtube.com/watch?v=sDDTN5UTv2M
19:24
< Vornicus>
Hm.
19:25
< Vornicus>
that's hard to watch.
19:25
<@TheWatcher>
It's even trickier to play ;)
19:26
<@TheWatcher>
But, it's not to hard to implement the core engine - I wrote a very, very rough version some time back (no jumping or puzzles - just map loading and movement)
19:26
< Vornicus>
It's not nearly the kind of thing I'm going for.
19:26
<@TheWatcher>
Ah, okies
19:26
< Vornicus>
if you've played Metroid Prime 2, the Spider Guardian is an example.
19:27
< Vornicus>
or, Super Monkey Ball, sorta, I guess, in 2d.
19:27
< McMartin>
MONKEY MONKEY MONKEY
19:28 * EvilDarkLord tranquilizes McMartin.
19:28 * McMartin flips through the collision detection in N stuff
19:28
< McMartin>
Fun times
19:28
< McMartin>
He's missing OBBs, though, which are what I used for Sable.
19:28
< Vornicus>
the slideshow has OBBs
19:29
< McMartin>
Aha
19:29
< Vornicus>
Also apparently you can extend SAT to arbitrary convex polys
19:29
< McMartin>
That's work, though.
19:29
< McMartin>
OBBs are not significantly more expensive than polys.
19:34
< Vornicus>
in the slideshow, he does oriented bounding boxes starting on page 59
19:35
< Vornicus>
there's code on 69 and 70.
19:37
< Vornicus>
The slideshow also comes with speaker's notes.
19:38 * McMartin nods
19:38
< McMartin>
Good times
19:55 * TheWatcher eyes tutorialB
19:55
<@TheWatcher>
... y'know, that might help solve a big problem I have
19:57 * Vornicus fiddles. Once the shuffling is done, place the regions and tokens, creating actual region objects as it goes. ...but should probably figure the adjacency graph, add in the Nones to the token list, and do the swapping, before creating the actual regions.
20:07
< Vornicus>
...too do the adjacency graph, I need a thing that finds loosely.
20:09
< Vornicus>
...I can make a function that finds an item in a list based on whether a function on it returns true; from there I can make a function that finds the one I want in the collection.
20:10 * McMartin sets up a checkout of VegaStrike's download, goes to lunch.
20:27
< Vornicus>
Okay, yes. As I iterate to get terrains and tokens (for possible randomization) I can also get adjacency; once I have adjacency and the tokens list I can check and swap.
20:30 * TheWatcher hrrrms, ponders how to do a platform neutral assert dialog, may end up just using gtk+ ¬¬
20:32
< McMartin>
If you're going GPL with this, UQM has code you can steal
20:32
< McMartin>
... Hmm, no.
20:32
< McMartin>
It's just three ifdefs, and there isn't one for X.
20:33
< McMartin>
If you're going GPL with this and using GTK, (a) use GTK2, and (b) let us steal it, zomg~
20:36
<@TheWatcher>
(a) naturally, and (b) you coudl have it under whatever license you wanted, really.
21:11 * TheWatcher fiddles
21:56 Pete [AnnoDomini@Nightstar-29607.neoplus.adsl.tpnet.pl] has quit [Ping Timeout]
21:56 AnnoDomini [AnnoDomini@Nightstar-29597.neoplus.adsl.tpnet.pl] has joined #Code
21:56 mode/#code [+o AnnoDomini] by ChanServ
21:57 AnnoDomini is now known as Pete
--- Log closed Thu Jan 17 00:00:47 2008
code logs -> 2008 -> Wed, 16 Jan 2008< code.20080115.log - code.20080117.log >