about summary refs log tree commit diff stats
path: root/tools/assign_ids/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Prevent assigning ap_id==0Star Rauchenberger2025-08-271-1/+1
|
* Added "endings" object typeStar Rauchenberger2025-08-201-0/+13
|
* Store IDs in a yaml fileStar Rauchenberger2025-08-191-9/+8
| | | | This is much more efficient than the txtpb format, and we only need an interface for it in C++ since the IDs will be packed into the binary proto representation.
* Minor changes for compiling on WindowsStar Rauchenberger2025-08-161-1/+1
|
* Converted to proto2Star Rauchenberger2025-08-121-2/+1
| | | | | | | | | | | | | | | | | This will let us use an older version of protobuf in Python, and allows us to use the Godot protobuf implementation at all. Scalar fields with custom defaults in data.proto were changed to not have a default, because Godot doesn't handle it properly. The equivalent fields in human.proto still have the defaults, and datapacker copies the default value in if necessary. The Panel message in data.proto was also renamed to PanelData because otherwise it conflicts with the native Godot class named Panel. The double field in Letter was renamed to level2, because Godot couldn't handle it well. Finally, common.proto was removed and its contents were moved into data.proto, which allows us to generate code for Python without needing to edit it. NOTE: I had to slightly modify the Godot protobuf code generator. I'll need to upload that somewhere.
* Assigned IDs for the_colorfulStar Rauchenberger2025-08-101-0/+12
| | | | | | Also fixed bug where the ID assigner didn't read letter and mastery IDs and would thus reuse them. I reassigned all IDs because of this (since we don't need to worry about ID stability yet).
* Added support for masteriesStar Rauchenberger2025-08-091-0/+30
| | | | | Also assigned IDs for the_butterfly, as well as already configured letters.
* Assigned IDs for the_bearerStar Rauchenberger2025-08-091-0/+4
| | | | | assign_ids now doesn't assign IDs for event doors, since they can't ever be locations or items.
* Added special IDsStar Rauchenberger2025-08-071-0/+8
|
* Assign AP IDs to doors and panels protoStar Rauchenberger2025-08-071-0/+172
/a> 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324