Config
Log for #openttd on 22nd November 2021:
Times are UTC Toggle Colours
00:20:58  *** _aD has joined #openttd
00:24:31  *** HerzogDeXtEr has quit IRC
00:42:57  *** WormnestAndroid has joined #openttd
01:11:35  *** tokai has joined #openttd
01:11:35  *** ChanServ sets mode: +v tokai
01:18:36  *** tokai|noir has quit IRC
01:23:09  <while> can an AI only been written in Squirrel, I'd like to write one in C if at all possible
01:51:13  <glx> squirrel only
01:57:14  <DorpsGek> [OpenTTD/team] glx22 commented on issue #267: [zh_CN] Translator access request https://git.io/J11Pw
02:10:22  *** andythenorth has joined #openttd
02:35:35  *** andythenorth has quit IRC
02:39:26  *** Wormnest has quit IRC
02:45:04  *** andythenorth has joined #openttd
02:48:07  *** Flygon has joined #openttd
02:57:45  <Eddi|zuHause> while: writing AI in C is not maintainable, as you can't distribute it to other people
03:02:07  *** Eddi|zuHause has quit IRC
03:08:29  *** Eddi|zuHause has joined #openttd
03:10:16  *** andythenorth has quit IRC
03:19:45  *** andythenorth has joined #openttd
03:33:46  *** andythenorth has quit IRC
03:58:35  *** glx has quit IRC
04:01:46  *** D-HUND has joined #openttd
04:05:10  *** debdog has quit IRC
04:11:26  *** andythenorth has joined #openttd
04:20:39  <while> <Eddi|zuHause>: I would like to do it primarily as a proof-of-concept and basic optimization testing, I'm not planning on writing an AI of significance in C
04:21:29  <Eddi|zuHause> well... you have all the source code... what's stopping you?
04:21:39  <Eddi|zuHause> you just can't expect anyone to help you
04:23:21  <while> I know for squrrel AI's there is a main.nut and info.nut, where do I get the header files and what is the format spec for the tar file
04:23:28  <while> for a C ai
04:25:30  *** _aD has quit IRC
04:48:40  *** andythenorth has quit IRC
05:03:17  <Eddi|zuHause> there is no spec for a C ai... that idea got dropped very very early in the NoAI development process
05:03:55  <Eddi|zuHause> and much of the squirrel export stuff is autogenerated
05:32:06  *** andythenorth has joined #openttd
05:54:02  *** andythenorth has quit IRC
06:27:00  *** andythenorth has quit IRC
06:29:29  *** andythenorth has joined #openttd
06:47:00  *** sla_ro|master has joined #openttd
07:35:36  <while> I see
07:43:09  <andythenorth> hmm why is my mac connecting to irc at 04.28 UK time?
07:43:15  <andythenorth> I was asleep :P
07:51:00  <andythenorth> hmm it's waking up every few hours for DHCP lease renewal
07:51:32  * andythenorth files this under "can't be arsed"
08:26:17  *** supermop_work has quit IRC
08:46:51  *** andythenorth has quit IRC
09:24:04  *** tokai|noir has joined #openttd
09:24:04  *** ChanServ sets mode: +v tokai|noir
09:30:23  *** gregdek has quit IRC
09:30:37  *** twpol has quit IRC
09:30:48  *** mindlesstux has quit IRC
09:30:56  *** tokai has quit IRC
09:31:00  *** innocenat_ has quit IRC
09:39:12  *** gregdek has joined #openttd
09:40:29  *** innocenat_ has joined #openttd
09:41:47  *** twpol has joined #openttd
10:10:55  <peter1138> Hurr, laptop has been PATted... while I was using it :p
11:28:00  *** tokai has joined #openttd
11:28:00  *** ChanServ sets mode: +v tokai
11:34:55  *** tokai|noir has quit IRC
12:07:36  *** WormnestAndroid has quit IRC
12:07:50  *** WormnestAndroid has joined #openttd
12:57:02  *** virtualrandomnumber has joined #openttd
12:57:54  *** virtualrandomnumber has quit IRC
13:20:46  *** glx has joined #openttd
13:20:46  *** ChanServ sets mode: +v glx
14:05:57  <FLHerne> while: The game itself is written in C, and the Squirrel API is implemented in C
14:06:44  <FLHerne> while: so you can modify the game's source code to add an AI, there just isn't an existing plugin interface
14:52:39  *** roadt has joined #openttd
14:52:41  *** nielsm has joined #openttd
15:56:53  *** supermop_work has joined #openttd
15:57:06  <supermop_work> yo
16:19:24  *** roadt has quit IRC
16:23:52  *** roadt has joined #openttd
16:37:16  *** roadt has quit IRC
16:38:05  <TrueBrain> FLHerne: some ++ fell of that sentence ;)
16:59:48  <Timberwolf> A savegame-compatible Transport Tycoon Deluxe engine has so far been implemented in x86 assembler, C, C++ and Java. (Did I miss any?)
17:00:59  *** Wormnest has joined #openttd
17:03:00  *** gelignite has joined #openttd
17:09:07  <peter1138> Woo, upgraded my server to a whopping 16GB...
17:09:55  <dP> is there any particular reason some headers use h and some hpp?
17:10:14  <LordAro> dP: in general, hpp is for templated things
17:10:26  <LordAro> but it's extremely arbitrary
17:11:29  *** Flygon has quit IRC
17:17:17  <dP> yeah, at least there are more than twice as many occurrences of the word "template" in .h files
17:30:19  <peter1138> It's "some people used .hpp and some didn't"
17:46:24  <Eddi|zuHause> probably hysteric
18:21:03  *** HerzogDeXtEr has joined #openttd
18:44:17  *** tokai|noir has joined #openttd
18:44:17  *** ChanServ sets mode: +v tokai|noir
18:48:55  <DorpsGek> [OpenTTD/OpenTTD] DorpsGek pushed 1 commits to master https://git.io/J1bVK
18:48:56  <DorpsGek>   - Update: Translations from eints (by translators)
18:51:20  *** tokai has quit IRC
18:55:22  *** _aD has joined #openttd
19:45:23  <dP> how doable is it to add a company color blot to string codes?
19:50:13  <nielsm> if it's a solid color box, should be reasonably easy, if you want it to have some texture (like those used in window title bars in TTO) it might need some bigger hackery of the text rendering
19:50:39  <nielsm> I don't remember if all company colors are represented as text colors though, that might be a limiting factor
19:50:46  <dP> well, it's technically a cc sprite
19:51:25  <dP> text colours match company colors iirc
19:54:29  *** Wolf01 has joined #openttd
20:02:30  *** andythenorth has joined #openttd
20:08:31  *** nielsm has quit IRC
20:15:33  <supermop_work> got a cheap tilt adapter
20:16:22  <supermop_work> unfortunately noone drives a toy colored car around downtown
20:17:00  <supermop_work> so looks like the world's drabbest model railroad
20:17:39  <supermop_work> with no trains
20:21:14  <Rubidium> dP: probably not that difficult if you have a blob font sprite laying around; probably needs a simple string control code, so excluding the sprite maybe 10-20 lines?
20:27:24  <dP> Rubidium, does it need to be some special sprite? there is already SPR_COMPANY_ICON
20:28:43  <dP> I could draw a dedicated sprite ofc but the idea was to make company icon to work as a part of text
20:28:53  <dP> so it looks the same with original graphics and stuff
20:32:39  <Rubidium> it needs an extra sprite for the alignment of it alone I fear, though I'm not sure
20:35:05  <dP> there are are bunch of icons added to the text already so I know it's not hard
20:35:15  <dP> it cc recolour and reusing the sprite I'm worried about
20:44:09  *** jottyfan has joined #openttd
20:44:26  <dP> on a somewhat unrelated note, were there any attempts at making scriptable ui for gamescrips?
2021-11-22T

Powered by YARRSTE version: svn-trunk