Search found 8 matches

by repne-scasb
Mon Jan 10, 2022 5:59 pm
Forum: Resolved Problems and Bugs
Topic: [1.1.50] New API docs lack enum values
Replies: 16
Views: 1021

Re: [1.1.50] New API docs lack enum values

robot256 wrote: ↑
Mon Jan 10, 2022 1:45 pm
Oh wow, I never even knew that page had a table of contents with types in the list, since links always jump to the definition. Guess putting the type at the definitions would be another helpful change!
Well you're in luck because they did just that in the new version ;)
enum.png
enum.png (8.43 KiB) Viewed 720 times
by repne-scasb
Mon Jan 10, 2022 10:42 am
Forum: Resolved Problems and Bugs
Topic: [1.1.50] New API docs lack enum values
Replies: 16
Views: 1021

Re: [1.1.50] New API docs lack enum values

And once again, you also wouldn't find it because it's not an "enum", it's a set of valid string literals. Factorio is written in C++, where an enum is a C type mapping symbol names to numbers, not a list of strings. Other actual enums are exposed in Lua, differently than this one. Ah oka...
by repne-scasb
Mon Jan 10, 2022 10:37 am
Forum: Resolved Problems and Bugs
Topic: [1.1.50] New API docs lack enum values
Replies: 16
Views: 1021

Re: [1.1.50] New API docs lack enum values

I'm sorry, what do you mean? Is this a known problem? I searched for 'enum' but can't find anything. It is known now. Posting about it once is enough. Ok sure, but go easy on me okay, comments like "With great reluctance I give you this link, but beg you: stop reposting this issue everywhere.&...
by repne-scasb
Sun Jan 09, 2022 11:21 pm
Forum: Resolved Problems and Bugs
Topic: [1.1.50] New API docs lack enum values
Replies: 16
Views: 1021

Re: [1.1.50] New API docs lack enum values

Thanks for that link! Although, it seems that it is mostly intended for suggestions on clarification, and less about bugs, so maybe this thread would not really fit, but I can post a link anyway. With great reluctance I give you this link , but beg you: stop reposting this issue everywhere. I'm sor...
by repne-scasb
Sun Jan 09, 2022 10:09 pm
Forum: Modding interface requests
Topic: Small documentation improvement requests
Replies: 223
Views: 24715

Re: Small documentation improvement requests

Bug: The new API docs lack enum value lists: viewtopic.php?f=7&t=101185
-> This was fixed.
by repne-scasb
Sun Jan 09, 2022 10:08 pm
Forum: Resolved Problems and Bugs
Topic: [1.1.50] New API docs lack enum values
Replies: 16
Views: 1021

Re: [1.1.50] New API docs lack enum values

You are right, I misunderstood. There is a thread for small documentation bugs where you could also post this: https://forums.factorio.com/viewtopic.php?f=28&t=97880 Thanks for that link! Although, it seems that it is mostly intended for suggestions on clarification, and less about bugs, so may...
by repne-scasb
Sun Jan 09, 2022 5:16 pm
Forum: Resolved Problems and Bugs
Topic: [1.1.50] New API docs lack enum values
Replies: 16
Views: 1021

Re: [1.1.50] New API docs lack enum values

This was probably intentional. The numeric values of the enums are theoretically subject to change without notice. It's much better to structure your code so the numeric values don't matter. I'm not talking about those, it's the value list that is missing in its entirety, compare the linked definit...
by repne-scasb
Sun Jan 09, 2022 1:32 pm
Forum: Resolved Problems and Bugs
Topic: [1.1.50] New API docs lack enum values
Replies: 16
Views: 1021

[1.1.50] New API docs lack enum values

Not sure where to report this as there does not seem to be a bug report section for the API docs. The new Lua API docs page looks awesome but I noticed that values for enums on the Concepts page are missing. Compare 1.1.48 vs 1.1.49 : from version 1.1.49 onwards the enum values are missing from the...

Go to advanced search