IRC logs for #openttd.dev on OFTC at 2012-12-22
            
00:08:31 *** frosch123 has quit IRC
00:42:20 *** Zuu has quit IRC
01:00:01 *** FLHerne has quit IRC
07:24:14 *** andythenorth has joined #openttd.dev
07:24:14 *** ChanServ sets mode: +v andythenorth
07:28:40 *** andythenorth_ has joined #openttd.dev
07:28:40 *** ChanServ sets mode: +v andythenorth_
07:28:40 *** andythenorth is now known as Guest2312
07:28:40 *** andythenorth_ is now known as andythenorth
07:28:44 *** Guest2312 has quit IRC
08:36:51 *** andythenorth has quit IRC
09:00:29 *** andythenorth has joined #openttd.dev
09:00:29 *** ChanServ sets mode: +v andythenorth
09:10:01 *** andythenorth is now known as Guest2318
09:10:01 *** andythenorth has joined #openttd.dev
09:10:01 *** ChanServ sets mode: +v andythenorth
09:11:29 *** andythenorth is now known as Guest2319
09:11:29 *** andythenorth has joined #openttd.dev
09:11:29 *** ChanServ sets mode: +v andythenorth
09:18:24 *** Alberth has joined #openttd.dev
09:18:24 *** ChanServ sets mode: +v Alberth
09:27:29 *** FLHerne has joined #openttd.dev
09:59:58 *** andythenorth is now known as Guest2325
09:59:58 *** andythenorth has joined #openttd.dev
09:59:58 *** ChanServ sets mode: +v andythenorth
10:16:31 *** FLHerne has quit IRC
10:23:27 *** ntoskrnl has joined #openttd.dev
10:25:00 *** andythenorth is now known as Guest2327
10:25:00 *** andythenorth has joined #openttd.dev
10:25:00 *** ChanServ sets mode: +v andythenorth
10:25:01 *** Guest2327 has quit IRC
10:48:22 *** andythenorth is now known as Guest2330
10:48:23 *** andythenorth has joined #openttd.dev
10:48:23 *** ChanServ sets mode: +v andythenorth
10:49:08 *** andythenorth is now known as Guest2331
10:49:08 *** andythenorth has joined #openttd.dev
10:49:08 *** ChanServ sets mode: +v andythenorth
10:49:08 *** Guest2331 has quit IRC
11:01:51 *** Zuu has joined #openttd.dev
11:01:51 *** ChanServ sets mode: +v Zuu
11:15:37 *** Supercheese has quit IRC
11:21:21 *** ntoskrnl has quit IRC
11:31:15 *** andythenorth has quit IRC
11:35:11 *** andythenorth has joined #openttd.dev
11:35:11 *** ChanServ sets mode: +v andythenorth
11:35:58 *** andythenorth has quit IRC
11:36:02 *** andythenorth has joined #openttd.dev
11:36:02 *** ChanServ sets mode: +v andythenorth
11:38:11 *** andythenorth is now known as Guest2332
11:38:11 *** andythenorth has joined #openttd.dev
11:38:12 *** ChanServ sets mode: +v andythenorth
11:38:40 *** andythenorth has quit IRC
11:39:00 *** andythenorth has joined #openttd.dev
11:39:01 *** ChanServ sets mode: +v andythenorth
12:03:29 *** andythenorth is now known as Guest2334
12:03:30 *** andythenorth has joined #openttd.dev
12:03:30 *** Guest2334 has quit IRC
12:03:30 *** ChanServ sets mode: +v andythenorth
12:27:12 *** andythenorth is now known as Guest2335
12:27:13 *** andythenorth has joined #openttd.dev
12:27:13 *** Guest2335 has quit IRC
12:27:13 *** ChanServ sets mode: +v andythenorth
13:01:38 *** FLHerne has joined #openttd.dev
14:06:35 *** andythenorth has quit IRC
14:06:43 *** andythenorth has joined #openttd.dev
14:06:43 *** ChanServ sets mode: +v andythenorth
14:17:24 <Zuu> If I have a object (class) called "StoryPage", but the gui is a Story window, can all story files use the "story" base still? eg. story_type.h, story_base.h, story_gui.cpp etc. Or should the source files working with StoryPage have "story_page" as their initial file name?
14:18:14 <Zuu> Basically my idea is that there will be a Story window which show one or more story pages. I do not so far see the need for a Story class to bind the pages togeather.
14:18:18 *** frosch123 has joined #openttd.dev
14:18:18 *** ChanServ sets mode: +v frosch123
14:19:20 <Alberth> usually, we merge related classes into one file; it's C++ rather than Java ;)
14:19:26 <andythenorth> Zuu: story pages -> \o/
14:19:58 <Zuu> Alberth: so story_*
14:20:10 <Alberth> indeed
14:21:10 <Alberth> and defining classes in a .cpp file is fine too, if you don't need them elsewhere
14:21:29 <Alberth> eg most windows are defined in a *_gui.cpp
14:22:51 * frosch123 also prefers "story_*" over "story_page_*"
14:23:27 <Zuu> That is what I was going to do, but wasn't 100% sure if it was correct.
14:34:40 <frosch123> aww, michi was faster than me with closing 5403 :/
14:39:15 <michi_cc> frosch123: We have enough bugs left for you ;)
14:47:45 <Zuu> GSStory::CreatePage(..) or GSStoryPage::Create(..) ? (it will also get ::SetTitle to set a title/label to show in the page selector drop down, and ::SetQuestion(page_id, ..) to add a question to the end of the story page. I also plan to allow a page to set one or more goals which must be completed for the story to continue.
14:48:36 <Zuu> All/most of the APIs will operate aon StoryPages as there is so far not any need for a Story object.
14:49:05 <Zuu> So perhaps it should use GSStoryPage so that GSStory can be added later if it is needed.
14:49:33 <Zuu> To avoid the GSAiprot mess that we have with AirportType and Airport being on the same class.
14:51:58 <frosch123> what's the exact difference between a Story and a StoryPage?
14:52:02 <frosch123> i think i missed the deinition
14:52:37 <frosch123> do you have some draft? or are you just creating one? :)
14:52:40 <Zuu> A StoryPage is a page of text. The story window shows a a collection of StoryPages
14:52:49 <Zuu> So Story doesn't even exist yet.
14:53:20 <Zuu> I have a draft on an envelope here. :-)
14:53:43 <Zuu> Draft code is what I'm creating
14:58:07 <Zuu> The draft idea allows StoryPages to refer to goals. The goal window could refer back to the first/last page that refer to it, but the main direction is to refer from a story page to a goal rather than the reverse direction.
14:58:34 <frosch123> you can also call the api class StoryBook
14:58:40 <frosch123> with a CreatePage method :)
14:59:06 <Zuu> Yep that would be about the same as calling it Story I think.
15:03:08 <Zuu> I'm not yet sure if pages can be global/company specific. But at least a global page will not be able to refer to a company specific goal.
15:21:11 *** andythenorth is now known as Guest2344
15:21:11 *** andythenorth has joined #openttd.dev
15:21:11 *** ChanServ sets mode: +v andythenorth
17:24:18 *** andythenorth is now known as Guest2349
17:24:18 *** andythenorth has joined #openttd.dev
17:24:18 *** ChanServ sets mode: +v andythenorth
17:25:18 *** andythenorth is now known as Guest2350
17:25:18 *** andythenorth has joined #openttd.dev
17:25:18 *** ChanServ sets mode: +v andythenorth
18:00:04 *** ntoskrnl has joined #openttd.dev
18:14:22 *** andythenorth is now known as Guest2359
18:14:22 *** andythenorth has joined #openttd.dev
18:14:22 *** ChanServ sets mode: +v andythenorth
18:14:23 *** Guest2359 has quit IRC
18:31:09 *** andythenorth has quit IRC
18:37:59 *** FLHerne has quit IRC
18:45:43 *** DorpsGek changes topic to "OpenTTD Dev Channel || Latest SVN: r24838 || Logs: http://webster.openttdcoop.org/?channel=openttd.dev || Voice (talk-right) upon request via #openttd; make sure you are registered to NickServ before asking"
18:53:28 *** andythenorth has joined #openttd.dev
18:53:28 *** ChanServ sets mode: +v andythenorth
20:19:06 *** Supercheese has joined #openttd.dev
20:49:02 *** Alberth has left #openttd.dev
21:07:54 *** ntoskrnl has quit IRC
21:24:37 *** andythenorth has left #openttd.dev
23:40:29 <frosch123> http://devs.openttd.org/~frosch/diffs/newsandsound/
23:40:39 <frosch123> removes news setting window, and adds them to the adv settings
23:40:58 <frosch123> also keeps the current news settings menu entry to open the adv. settings with a preset filter string
23:41:11 <frosch123> finally it adds various settings to enable/disable sound effects
23:42:31 <frosch123> the TODO in 10 is solved in 30
23:43:16 <frosch123> the settings are currently all under "advanced"
23:43:27 <frosch123> not sure whether to move some to expert or basic
23:44:18 <frosch123> oh, about the config file: the news_display settings are compatible and kept, the news_ticker setting is reset to the default since it is no longer in "misc"
23:46:35 <frosch123> 60 is a bit tricky as in that the client settings may not skip calls to Random etc
23:46:55 <frosch123> which would desync otherwise
23:52:22 *** FLHerne has joined #openttd.dev