Brues
fac3be3a0b
refactor(lua): take integer enum and constants entries as arrays
...
RegisterIntegerEnum and RegisterConstants took their entries with a
count beside them, written as sizeof(t) / sizeof(t[0]), std::size, or
a literal. They now take Game::ArrayRef<EnumIntegerEntry>, as
RegisterFrameMethods does, so the count comes from the array's type.
The documentation recorders RecordEnum and RecordConstants take the
same view.
All 34 call sites pass only the array. The six literal counts were
checked against their arrays first: each was the full length, so every
Enum.* and Constants.* table gets the same entries as before. Five
files that included <iterator> only for std::size drop it.
2026-11-06 11:34:27 -06:00
..
2026-08-19 11:01:19 -05:00
2026-11-04 10:16:07 -06:00
2026-11-04 10:16:07 -06:00
2026-10-20 16:25:19 -05:00
2026-07-20 16:38:42 -05:00
2026-07-20 16:38:42 -05:00
2026-08-08 15:08:34 -05:00
2026-10-28 20:56:52 -05:00
2026-10-28 20:56:52 -05:00
2026-08-08 15:08:34 -05:00
2026-10-21 23:21:06 -05:00
2026-10-28 13:06:48 -05:00
2026-08-12 01:58:54 -05:00
2026-06-29 16:38:16 -05:00
2026-10-28 13:06:48 -05:00
2026-10-21 23:21:06 -05:00
2026-10-28 13:06:48 -05:00
2026-08-19 11:01:19 -05:00
2026-07-15 17:27:36 -05:00
2026-11-02 21:03:01 -06:00
2026-10-20 16:12:40 -05:00
2026-10-28 13:12:47 -05:00
2026-10-28 13:12:47 -05:00
2026-08-08 15:08:34 -05:00
2026-06-29 16:38:16 -05:00
2026-08-19 11:01:19 -05:00
2026-10-28 13:06:48 -05:00
2026-10-30 21:12:07 -05:00
2026-11-02 21:03:01 -06:00
2026-06-29 16:38:16 -05:00
2026-08-08 15:08:34 -05:00
2026-09-10 18:43:06 -05:00
2026-09-10 18:43:06 -05:00
2026-08-08 15:08:34 -05:00
2026-06-29 16:38:16 -05:00
2026-10-30 21:12:22 -05:00
2026-10-28 16:20:00 -05:00
2026-08-30 16:57:04 -05:00
2026-08-08 15:35:07 -05:00
2026-10-28 10:25:29 -05:00
2026-08-08 15:35:07 -05:00
2026-08-08 15:35:07 -05:00
2026-08-08 15:35:07 -05:00
2026-07-28 16:33:50 -05:00
2026-11-02 21:03:01 -06:00
2026-11-02 21:03:01 -06:00
2026-08-19 11:01:19 -05:00
2026-08-08 15:35:07 -05:00
2026-08-08 15:35:07 -05:00
2026-11-02 21:03:01 -06:00
2026-10-22 17:29:16 -05:00
2026-06-29 16:38:16 -05:00
2026-07-15 17:27:36 -05:00
2026-08-08 15:35:07 -05:00
2026-06-29 16:38:16 -05:00
2026-08-08 15:35:07 -05:00
2026-08-08 15:35:07 -05:00
2026-06-29 16:38:16 -05:00
2026-06-29 16:38:16 -05:00
2026-08-08 15:35:07 -05:00
2026-08-08 15:35:07 -05:00
2026-10-28 13:06:48 -05:00
2026-07-11 14:55:20 -05:00
2026-08-08 15:08:34 -05:00
2026-10-21 21:44:16 -05:00
2026-10-21 21:44:16 -05:00
2026-10-21 21:44:16 -05:00
2026-10-21 21:12:28 -05:00
2026-09-07 17:47:05 -05:00
2026-11-06 11:27:22 -06:00
2026-08-19 11:01:19 -05:00
2026-07-02 19:09:03 -05:00
2026-11-06 11:34:27 -06:00
2026-10-28 20:56:52 -05:00
2026-08-08 15:35:07 -05:00
2026-10-21 23:21:06 -05:00
2026-10-22 17:59:11 -05:00
2026-10-22 17:59:11 -05:00
2026-10-22 17:59:11 -05:00
2026-10-22 17:59:11 -05:00
2026-10-30 21:20:05 -05:00