code logs -> 2007 -> Thu, 18 Jan 2007< code.20070117.log - code.20070119.log >
--- Log opened Thu Jan 18 00:00:50 2007
00:28 MyCatVerbs [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has quit [Quit: Gotta sleep.]
00:38 Derakon[AFK] [~Derakon@Nightstar-23641.sea2.cablespeed.com] has quit [Client exited]
01:00 Clairvoire [~Cerulean@Nightstar-10302.columbus.res.rr.com] has joined #Code
01:02 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Ping Timeout]
01:20 Clairvoire is now known as Janus
01:21 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
01:21 mode/#code [+o Chalcy] by ChanServ
01:22 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
01:25 ChalcyGone [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
01:26 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
01:28 ChalcyGone is now known as Chalcedon
01:45 Clairvoire [~Cerulean@Nightstar-10302.columbus.res.rr.com] has joined #Code
01:47 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Ping Timeout]
02:00 Zerach [~Cerulean@Nightstar-10302.columbus.res.rr.com] has joined #Code
02:01 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has joined #Code
02:03 Clairvoire [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Ping Timeout]
02:04 Zerach [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Ping Timeout]
02:15 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
02:15 mode/#code [+o Chalcy] by ChanServ
02:17 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
02:21 Chalcy is now known as Chalcedon
02:26 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
02:26 mode/#code [+o Chalcy] by ChanServ
02:26 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
03:20 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has quit [Quit: Jouets de Dieu, jouets de jouets, les jouets de me, naĆ®tre Clair enfant voire.]
03:25 Netsplit DeepThought.NY.US.Nightstar.Net <-> Blargh.CA.US.Nightstar.Net quits: EvilDarkLord, Mahal
03:27 Netsplit over, joins: Mahal
03:27 Netsplit over, joins: EvilDarkLord
03:34 ChalcyGone [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
03:35 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
04:18 timelady [~romana@Nightstar-13970.lns3.adl2.internode.on.net] has joined #Code
04:35 Derakon [~Derakon@Nightstar-23641.sea2.cablespeed.com] has joined #code
04:46 timelady [~romana@Nightstar-13970.lns3.adl2.internode.on.net] has quit [Ping Timeout]
04:48 timelady [~romana@Nightstar-13970.lns3.adl2.internode.on.net] has joined #Code
04:49 timelady [~romana@Nightstar-13970.lns3.adl2.internode.on.net] has quit [Quit: run away! run away!]
05:02
< Derakon>
Heh.
05:02
< Derakon>
I've completely forgotten how to manipulate strings in C++. >.<
05:02 ReivWork is now known as Reiver
05:04
<@ToxicFrog>
First, pick a different language~
05:04
<@ToxicFrog>
(in practice, the answer is generally "with <cstring>, the same as in C")
05:04
< Derakon>
Yeah, see, I'm going to keep using C++ because all of the groundwork I laid with Niobium is in C++.
05:05
<@ToxicFrog>
I was being facetious.
05:05
< Derakon>
And I really don't feel like reimplementing that stuff or re-learning it in a different language, for that matter.
05:05
< Derakon>
:p
05:05
<@ToxicFrog>
I think there is actually a String class somewhere in the STL, but generally people just use <cstring>, because it's not made entirely of pain.
05:06 * Derakon eyes this compiler error (unrelated to strings).
05:06
< Derakon>
component.cpp:23: error: no match for call to '(Coord) (Component*&, Coord&, Coord&)'
05:06
< Derakon>
The line in question is "attach(parent, attachLoc, onBox);"
05:06
<@ToxicFrog>
..."Component*&"?
05:06
< Derakon>
Yeah, I dunno either.
05:07
< Derakon>
The function prototype is "void Component::attach(Component* parent, Coord attachLoc, Coord onBox)"
05:07
< Derakon>
What I really don't understand is the "(Coord)" bit at the beginning of the compiler error.
05:07 AnnoDomini [~farkoff@Nightstar-29794.neoplus.adsl.tpnet.pl] has joined #Code
05:08
<@ToxicFrog>
Nor do I.
05:09
< Derakon>
Hmm...may've been a naming conflict; "attachLoc" had actually been "attach" at the time. Renaming it appears to have fixed the problem.
05:16
< Derakon>
Rrr...I hate it when this happens. I'm missing the vtable for my Component class. How the hell does that happen?
05:29 McMartin [~mcmartin@Nightstar-10013.dsl.pltn13.pacbell.net] has joined #code
05:30 mode/#code [+o McMartin] by ChanServ
05:30
<@McMartin>
Was gibt?
05:30
< Derakon>
I have no vtable!
05:30
< Derakon>
Or typeinfo.
05:30
< Derakon>
This is for my Component class, which has a couple of child classes, but all of its virtuals are implemented.
05:30
<@McMartin>
What are you compiling on?
05:31
<@McMartin>
Anything with any virtual methods at all, including the destructor, should allow RTTI.
05:31
< Derakon>
I was able to compile successfully earlier; I've added one constructor and one utility function to Component since then.
05:31
< Derakon>
Neither are virtual.
05:33
< Derakon>
Hang on...I will paste.
05:33
<@McMartin>
What compiler are you using?
05:34
< Derakon>
g++
05:34
<@McMartin>
If you cut the constructor and utility function, does it work again?
05:35
< Derakon>
I'll check...in the meantime, here's component.hh and component.cpp: http://pastie.caboo.se/33924
05:35
< Derakon>
Hm. No.
05:36
< Derakon>
The new functions, incidentally, are the short constructor and the attach function.
05:36
<@McMartin>
No idea
05:37
<@McMartin>
What's the error you're getting?
05:37
< Derakon>
g++ -Llib -o game main.o world.o sprite.o box.o coord.o line.o generic.o component.o hardpoint.o module.o transform.o -framework Cocoa -framework OpenGL -lSDLmain -lSDL -lSDL_image -lSDL_gfx -lSDL_ttf
05:37
< Derakon>
vtable for Component
05:37
< Derakon>
typeinfo for Component
05:37
< Derakon>
collect2: ld returned 1 exit status
05:37
< Derakon>
make: *** [game] Error 1
05:37
< Derakon>
Er, before vtable, there's "/usr/bin/ld: Undefined symbols:".
05:37
< Derakon>
But IRC doesn't like it when I start lines with '/'s like that.
05:38
<@McMartin>
Right
05:38
<@McMartin>
Hum.
05:38
<@McMartin>
Make clean, remake?
05:38
< Derakon>
Tried it.
05:39
<@McMartin>
No idea
05:39
< Derakon>
Buggrem. Millenium hand and shrimp!
05:40
< Derakon>
Presumably the vtable for Component is dependant upon the classes that implement its virtual functions, yes?
05:42
<@McMartin>
...no. That affects only the vtables of those other classes.
05:43
< Derakon>
Ah, okay.
05:43
< Derakon>
It's been a while since I had to know this stuff for classes, and Niobium didn't really muck about with inheritance much.
06:13 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
06:13 mode/#code [+o Chalcy] by ChanServ
06:14 ChalcyGone [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
06:51 You're now known as TheWatcher
07:16 Chalcy is now known as Chalcedon
07:29 Derakon is now known as Derakon[AFK]
08:04 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Quit: ]
08:54 You're now known as TheWatcher[afk]
10:05 You're now known as TheWatcher[wr0k]
10:37 Netsplit DeepThought.NY.US.Nightstar.Net <-> Blargh.CA.US.Nightstar.Net quits: EvilDarkLord, Mahal
10:37 Netsplit over, joins: Mahal, EvilDarkLord
10:41 Netsplit DeepThought.NY.US.Nightstar.Net <-> Blargh.CA.US.Nightstar.Net quits: EvilDarkLord, Mahal
10:49 Mahal [~Mahal@Nightstar-12986.worldnet.co.nz] has joined #Code
10:49 mode/#code [+o Mahal] by ChanServ
11:16 Derakon[AFK] [~Derakon@Nightstar-23641.sea2.cablespeed.com] has quit [Ping Timeout]
12:01 lazkocyali [~nlnet@88.231.13.ns-11823] has joined #Code
12:01 lazkocyali [~nlnet@88.231.13.ns-11823] has quit [Quit: Leaving]
12:02 Reiver is now known as ReivSLEP
--- Log closed Thu Jan 18 12:16:17 2007
--- Log opened Thu Jan 18 12:16:22 2007
12:16 TheWatcher[wr0k] [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code
12:16 Irssi: #code: Total of 12 nicks [5 ops, 0 halfops, 0 voices, 7 normal]
12:16 mode/#code [+o TheWatcher[wr0k]] by ChanServ
12:16 Irssi: Join to #code was synced in 28 secs
--- Log closed Thu Jan 18 13:02:23 2007
--- Log opened Thu Jan 18 13:02:28 2007
13:02 TheWatcher[wr0k] [~chris@Nightstar-29731.dsl.in-addr.zen.co.uk] has joined #code
13:02 Irssi: #code: Total of 12 nicks [5 ops, 0 halfops, 0 voices, 7 normal]
13:02 mode/#code [+o TheWatcher[wr0k]] by ChanServ
13:02 Irssi: Join to #code was synced in 25 secs
13:29 MyCatVerbs [~rb6822@Nightstar-1196.cs.bris.ac.uk] has joined #code
15:10 EvilDarkLord [althalas@Nightstar-15301.a88-115-211-62.elisa-laajakaista.fi] has joined #code
15:23 You're now known as TheWatcher
15:52 MyCatVerbs [~rb6822@Nightstar-1196.cs.bris.ac.uk] has quit [Operation timed out]
15:55 MyCatVerbs [~rb6822@Nightstar-1196.cs.bris.ac.uk] has joined #code
16:01 MyCatVerbs [~rb6822@Nightstar-1196.cs.bris.ac.uk] has quit [Quit: Swim, swim, hungry!]
16:07 You're now known as TheWatcher[afk]
16:26 You're now known as TheWatcher
17:17 You're now known as TheWatcher[afk]
17:19 GSoldier-chow [IceChat7@Nightstar-5188.pools.arcor-ip.net] has joined #code
17:20 GSoldier-chow is now known as GeekSoldier
17:26 AnnoDomini [~farkoff@Nightstar-29794.neoplus.adsl.tpnet.pl] has quit [Killed (NickServ (GHOST command used by AbuDhabi))]
17:26 AnnoDomini [~farkoff@Nightstar-29243.neoplus.adsl.tpnet.pl] has joined #Code
17:41 ReivSLEP is now known as Reiver
17:49 Reiver is now known as ReivWork
17:54 MyCatVerbs [~mycatownz@Nightstar-379.dsl.in-addr.zen.co.uk] has joined #code
18:36 GeekSoldier [IceChat7@Nightstar-5188.pools.arcor-ip.net] has left #code []
18:44 You're now known as TheWatcher
19:31 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
19:31 mode/#code [+o Chalcedon] by ChanServ
19:55
< AnnoDomini>
Does anyone know how one can set a component visible/invisible from the code?
19:55
< AnnoDomini>
As always, this is Microsoft Visual C++.
19:56
< AnnoDomini>
I have, say, a button. I want it so that when I do something, like clicking a different button, for that button's visible quality to be negated.
20:17
< AnnoDomini>
Okay, scratch that.
20:17
< AnnoDomini>
But there's another thing. What are the VC++ equivalent to Borland's TMemo and TLabel?
20:17
< AnnoDomini>
*+s
20:18 * Vornicus actually has no fucking idea at all about Windows windowing libraries.
20:19 * AnnoDomini sighs.
20:19
< AnnoDomini>
If only the TA would teach us about these things. Or at least give some hints how to look.
21:18 You're now known as TheWatcherpT-2]
21:18 You're now known as TheWatcher[T-2]
21:21 You're now known as TheWatcher[zZzZ]
21:46 Janus [~Cerulean@Nightstar-10302.columbus.res.rr.com] has joined #Code
21:49
< Janus>
May I ask a non-honouable hardware question?
21:55
< ToxicFrog>
Go ahead.
21:55
< ToxicFrog>
AnnoDomini: you can't use some other UI library?
21:56 * Janus ponders if he copies a PSX game's .bins, .cues, and .mp3s over to a blank disc, if it will play in a genuine playstation?
21:56
< ToxicFrog>
Like, say, FXTK or FLTK, both of which have well-documented windows ports?
21:56
< ToxicFrog>
Or GTK+, which not only has a well-documented windows port, but also lets you use the Glade UI designer/loader?
21:57
< ToxicFrog>
Janus: no. In order to play burned copies, you need an emulator or a modchip.
21:57
< Janus>
Rats...
21:58
< ToxicFrog>
Also, I'm assuming that by "copying the .bins and .cues", you mean "ripping an image from the disc and burning a new disc from the image"
21:58
< ToxicFrog>
Copying the disc contents might work, but probably not. And even if it does work, it'll still need a modchip; see (1)
21:59
< Janus>
Um... actually, I aquired these files from the internet's back alley.
21:59
< Vornicus>
tisk tisk tisk.
22:00
< Vornicus>
Go get epsxe
22:00
< ToxicFrog>
Use ePSXe, then.
22:00
< ToxicFrog>
It is the playstation emulator.
22:00
< Vornicus>
istr that that has a linux version.
22:00 * Vornicus wishes it came in Mac flavor.
22:00 * Janus already has it, actually~
22:00
< ToxicFrog>
It does, although I've only used the windows version.
22:00 * Vornicus never saw a mac version...
22:01
< Vornicus>
oh, you meant it does have a linux version.
22:01
< Vornicus>
arg I have the hicburps
22:02
< Janus>
What spicy menace did you eat?
22:03
< Vornicus>
Nothing.
22:03
< Vornicus>
I've had the hiccups for like 9 hours though.
22:05 * Janus suggests taking a drink of water, sticking one's fingers in their ears and nose, and swallowing. While balancing a broom on your nose, of course.
22:06 EvilDarkLord [althalas@Nightstar-15301.a88-115-211-62.elisa-laajakaista.fi] has quit [Ping Timeout]
22:07 EvilDarkLord [althalas@Nightstar-15301.a88-115-211-62.elisa-laajakaista.fi] has joined #code
22:09
<@Chalcedon>
Vorn: have you tried sugar under the tongue?
22:09
<@Chalcedon>
it works, oddly enough.
22:09
<@Chalcedon>
(a teaspoonful)
22:11
< Vornicus>
I've tried it in the past.
22:11
<@Chalcedon>
no luck?
22:11
< Vornicus>
To say that it was unsuccessful would completely undersell the hilarity of the moment.
22:13 Vornicus is now known as Vornicus-Latens
22:13
<@Chalcedon>
hehe
22:14
< Vornicus-Latens>
(it involved ballistics)
22:14 shengii [~shg369@Nightstar-28420.washdc.east.verizon.net] has joined #code
22:16 shengii [~shg369@Nightstar-28420.washdc.east.verizon.net] has left #code []
22:20
<@Chalcedon>
o.O
22:32 Chalcy [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has joined #code
22:32 mode/#code [+o Chalcy] by ChanServ
22:32 Chalcedon [~Chalceon@Nightstar-869.bitstream.orcon.net.nz] has quit [Ping Timeout]
22:35 Chalcy is now known as Chalcedon
23:13 AnnoDomini [~farkoff@Nightstar-29243.neoplus.adsl.tpnet.pl] has quit [Quit: No fighting in the War Room!]
--- Log closed Fri Jan 19 00:00:23 2007
code logs -> 2007 -> Thu, 18 Jan 2007< code.20070117.log - code.20070119.log >