#gemrb@irc.freenode.net logs for 1 Mar 2013 (GMT)

Archive Today Yesterday Tomorrow
GemRB homepage


[00:12:29] <-- brada has left IRC (Quit: brada)
[00:33:16] --> brada has joined #gemrb
[00:41:53] <-- brada has left IRC (Quit: brada)
[01:17:07] --> brada has joined #gemrb
[04:04:03] <-- brada has left IRC (Quit: brada)
[04:18:23] --> brada has joined #gemrb
[06:37:46] <-- brada has left IRC (Quit: brada)
[07:01:29] --> lynxlynxlynx has joined #gemrb
[07:01:29] --- ChanServ gives channel operator status to lynxlynxlynx
[07:58:43] --> edheldil has joined #gemrb
[07:58:43] --- ChanServ gives channel operator status to edheldil
[08:04:08] <-- WingedHussar1 has left IRC (Ping timeout: 251 seconds)
[08:05:01] --> WingedHussar has joined #gemrb
[09:10:37] --> rocket_hamster has joined #gemrb
[10:00:55] --> vampi-the-frog has joined #gemrb
[10:40:51] <rocket_hamster> guys can i set a class atribute in c++ similiar to __doc__ in python somehow?
[10:41:51] <edheldil> Hi, you should use Doxygen-parsable comments for that
[10:43:02] <edheldil> I.e. a comment block immediately before the class declaration starting with /**
[10:43:09] <rocket_hamster> will that be avaible during debugging with gdb?
[10:43:12] <edheldil> but there are more rules than that
[10:43:30] <edheldil> nope, only in listing
[10:43:51] <edheldil> (unless gdb is smarter than I remember)
[10:44:01] <rocket_hamster> shame this is really missing in c++
[10:44:12] <rocket_hamster> maybe new standard fixes this
[10:44:42] <edheldil> what do you need it for?
[10:45:02] <rocket_hamster> well for documentation, when you are debugging in gdb you have no idea what the function/class is for
[10:45:41] <rocket_hamster> i call always make static malloc for class but i thought there is something more elegant
[10:46:06] <edheldil> ?
[10:46:20] <rocket_hamster> i mean like static member in function with docstring
[10:46:29] <rocket_hamster> it will be shared on all instances
[10:46:39] <rocket_hamster> and will have a documentation inside
[10:46:48] <rocket_hamster> make it class not function
[10:58:18] <vampi-the-frog> rocket_hamster: if you add a Doxygen comment, you can generate html documentation and look your function up in the html index. it also has a search function
[10:58:52] <vampi-the-frog> you just have to do it by hand
[10:59:19] <vampi-the-frog> besides, you can just use "list" in gdb to view the code and the comment
[11:07:45] <-- vampi-the-frog has left IRC (Remote host closed the connection)
[11:15:07] <rocket_hamster> what good is that if you have multiple source files and you dont know where to look
[12:06:35] <-- rocket_hamster has left IRC (Remote host closed the connection)
[12:22:02] --> rocket_hamster has joined #gemrb
[12:48:35] <-- |Cable| has left IRC (Read error: Operation timed out)
[12:55:17] <-- rocket_hamster has left IRC (Remote host closed the connection)
[13:02:19] --> |Cable| has joined #gemrb
[15:00:45] --> Maighstir has joined #gemrb
[15:12:38] --> kida has joined #gemrb
[15:45:17] <-- fuzzie has left IRC (*.net *.split)
[15:45:17] <-- Coriander has left IRC (*.net *.split)
[15:45:18] <-- |Blaze|_ has left IRC (*.net *.split)
[15:45:20] <-- psch has left IRC (*.net *.split)
[15:45:22] <-- edheldil has left IRC (*.net *.split)
[15:45:22] <-- ermo^ has left IRC (*.net *.split)
[15:45:24] <-- Seniorita has left IRC (*.net *.split)
[15:45:24] <-- WingedHussar has left IRC (*.net *.split)
[15:45:25] <-- fireglow has left IRC (*.net *.split)
[15:45:25] <-- nutron has left IRC (*.net *.split)
[15:45:26] <-- xrogaan has left IRC (*.net *.split)
[15:45:27] <-- tomprince has left IRC (*.net *.split)
[15:45:28] <-- Gekz has left IRC (*.net *.split)
[15:45:29] <-- PixelScum has left IRC (*.net *.split)
[15:45:31] <-- DrMcCoy has left IRC (*.net *.split)
[15:45:31] <-- gembot has left IRC (*.net *.split)
[15:45:31] <-- |Cable| has left IRC (*.net *.split)
[15:45:32] <-- lynxlynxlynx has left IRC (*.net *.split)
[15:45:33] <-- kida has left IRC (*.net *.split)
[15:45:34] <-- wjp has left IRC (*.net *.split)
[15:45:50] --> fuzzie has joined #gemrb
[15:45:50] --> kida has joined #gemrb
[15:45:50] --> |Cable| has joined #gemrb
[15:45:50] --> edheldil has joined #gemrb
[15:45:50] --> lynxlynxlynx has joined #gemrb
[15:45:50] --> wjp has joined #gemrb
[15:45:50] --> Coriander has joined #gemrb
[15:45:50] --> |Blaze|_ has joined #gemrb
[15:45:50] --> DrMcCoy has joined #gemrb
[15:45:50] --> Gekz has joined #gemrb
[15:45:50] --> PixelScum has joined #gemrb
[15:45:50] --> tomprince has joined #gemrb
[15:45:50] --> nutron has joined #gemrb
[15:45:50] --> fireglow has joined #gemrb
[15:45:50] --> psch has joined #gemrb
[15:45:50] --> gembot has joined #gemrb
[15:45:50] --> ermo^ has joined #gemrb
[15:45:50] --> Seniorita has joined #gemrb
[15:45:50] --> xrogaan has joined #gemrb
[15:45:57] --> WingedHussar has joined #gemrb
[16:18:29] <-- WingedHussar has left IRC (Quit: WingedHussar)
[16:32:29] --> brada has joined #gemrb
[16:43:45] --> i30817 has joined #gemrb
[17:35:17] --> fizzle has joined #gemrb
[17:39:33] <brada> fizzle did you fix the button flags yet?
[17:44:34] <fizzle> nope
[17:45:01] <fizzle> I need fuzzie to explain to me what the problem is
[17:45:09] <fizzle> and what kind of insanity links id to flags
[17:50:48] <fuzzie> basically you have 24 flag bits and you're trying to use another one
[17:51:00] <fuzzie> which means you pushed the caps flag beyond 24 bits
[17:52:01] --> thomcom has joined #gemrb
[17:53:06] <fizzle> we have a dword, don't we?
[17:55:06] --> rocket_hamster has joined #gemrb
[17:58:24] <fuzzie> yes, but the top 8 bits of it are for the type.
[17:58:42] <fuzzie> to stop invalid flags being set, I assume.
[18:07:15] <fizzle> where do those top bytes ever get used?
[18:07:25] <fizzle> I'm still missing where it goes wrong
[18:07:42] <fizzle> *bits
[18:13:23] <fizzle> (it doesn't help that I don't even know what the symptoms are; things look fine here)
[18:16:32] <-- rocket_hamster has left IRC (Quit: bye!)
[18:18:42] <fuzzie> the text on the buttons is the wrong size
[18:19:05] <fuzzie> because there's a sanity check in SetFlags which makes sure you're not passing an incorrect value in the top 8 bits
[18:19:48] <fizzle> ah, so why don't we just remove that check?
[18:20:03] <fizzle> we don't seem to use those bits in any way, do we?
[18:20:17] <fuzzie> because it's a sanity check
[18:20:40] <fuzzie> so if you remove it then you might end up with random invalid flags being set
[18:20:50] <fuzzie> if you make sure that doesn't happen then it seems fine to *me*
[18:20:56] <fuzzie> but that would involve testing it quite a lot
[18:22:32] <fizzle> what's the alternative? adding a second flags field?
[18:24:58] <fuzzie> you could shift the type over a few bits
[18:25:02] <fuzzie> or add another flags field
[18:25:05] <fuzzie> or despair
[18:25:07] <fuzzie> i'm honestly not sure which
[18:29:51] <-- brada has left IRC (Quit: brada)
[18:30:19] <fizzle> how about removing an unimplemented flag?
[18:30:48] <fuzzie> are there any?
[18:31:00] <fuzzie> (that aren't hardcoded)
[18:31:07] <fizzle> I don't see any users of _ALT_SOUND
[18:31:56] <fizzle> or any code actually checking it
[18:34:28] <fuzzie> yeah, that's a good one :)
[18:35:16] <fuzzie> disabled in 6abbcd21f3a1a49e0d9f114432b915e69f2e0ecb (2004)
[18:37:21] --> kingron has joined #gemrb
[18:46:01] <fizzle> okay, so hopefully this glues your battleship back together
[19:06:34] --> Yoshimo has joined #gemrb
[19:22:57] --> brada has joined #gemrb
[19:41:08] <-- brada has left IRC (Quit: brada)
[19:42:07] --> brada has joined #gemrb
[19:42:37] <-- Yoshimo has left IRC (Read error: Connection reset by peer)
[19:43:44] <-- thomcom has left IRC (Quit: Page closed)
[20:23:05] --> Yoshimo has joined #gemrb
[20:49:33] --> edheldil_ has joined #gemrb
[21:23:20] <i30817> I suppose saying 'pretty please' wont make consider making a ToEE engine reimplementation?
[21:23:21] <i30817>
[21:23:23] <i30817> How about grovelling?
[21:29:22] <lynxlynxlynx> not here
[21:30:08] <psch> ToEE isn't infinity, is it?
[21:30:56] <psch> for what it's worth, there has been a project to reimplement the engine it runs on in C#, but it seems to have died about 3 or so years ago
[21:31:04] <psch> at least that's what google tells me
[21:33:47] <lynxlynxlynx> he knows
[21:35:17] <psch> oh
[21:55:26] <-- Yoshimo has left IRC (Read error: Connection reset by peer)
[21:56:03] <-- kingron has left IRC (Quit: Leaving)
[22:24:25] <-- fizzle has left #gemrb
[23:05:54] <-- i30817 has left IRC (Remote host closed the connection)
[23:40:11] <-- lynxlynxlynx has left IRC (Remote host closed the connection)
[23:52:58] <-- brada has left IRC (Quit: brada)