Ticket #48790

specenum generator: auto-generate generic (user flag) values

오픈 날짜: 2023-10-02 19:11 마지막 업데이트: 2023-10-05 18:15

Reporter:
소유자:
Type:
Status:
Closed
Component:
MileStone:
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
Fixed
File:
1

Details

Add an option to generate_enums.py to generate a specified number of enum values with no names (e.g. for ruleset-defined user flags) using a specified prefix (e.g. USER_FLAG_)

Ticket History (3/8 Histories)

2023-10-02 19:11 Updated by: alienvalkyrie
  • New Ticket "specenum generator: auto-generate generic (user flag) values" created
2023-10-02 19:31 Updated by: alienvalkyrie
댓글 올리기

Just noticed that we can't even showcase this with the current def (terrain enums) because the terrain type user flags are followed by an extra TER_USER_LAST (which seems to be used much like a TER_COUNT would?).

2023-10-02 19:50 Updated by: alienvalkyrie
  • File 0003-generate_enums.py-generic-option-to-generate-user-fl.patch (File ID: 13436) is attached
2023-10-02 19:50 Updated by: alienvalkyrie
  • File 0003-generate_enums.py-generic-option-to-generate-user-fl.patch (File ID: 13436) is deleted
2023-10-02 19:52 Updated by: alienvalkyrie
  • Resolution Update from None to Accepted
댓글 올리기

Attached patch has textual dependency on #48789.

2023-10-03 03:18 Updated by: cazfi
댓글 올리기

Follow-up idea: #48792

2023-10-05 18:15 Updated by: alienvalkyrie
  • Status Update from Open to Closed
  • Resolution Update from Accepted to Fixed

Edit

Please login to add comment to this ticket » Login