Ivan Savenko
3dd4fa2528
Reduce usage of pointers to VLC entities
...
Final goal (of multiple PR's) is to remove all remaining pointers from
serializeable game state, and replace them with either identifiers or
with shared/unique pointers.
CGTownInstance::town and CGHeroInstance::type members have been removed.
Now this data is computed dynamically using subID member.
VLC entity of a town can now be accessed via following methods:
- getFactionID() returns ID of a faction
- getFaction() returns pointer to a faction
- getTown() returns pointer to a town
VLC entity of a hero can now be accessed via following methods:
- getHeroTypeID() returns ID of a hero
- getHeroClassID() returns ID of a hero class
- getHeroType() returns pointer to a hero
- getHeroClass() returns pointer to a hero class
2024-10-10 12:28:08 +00:00
..
2024-10-10 12:28:08 +00:00
2024-10-10 12:28:08 +00:00
2024-10-10 12:28:08 +00:00
2024-08-28 13:50:08 +00:00
2024-10-10 12:28:08 +00:00
2024-06-24 03:47:19 +02:00
2024-09-02 22:51:30 +02:00
2024-10-10 12:28:08 +00:00
2024-10-07 17:57:52 +03:00
2024-08-12 18:26:30 +00:00
2024-10-10 12:28:08 +00:00
2024-10-10 12:28:08 +00:00
2024-10-10 12:28:08 +00:00
2024-06-24 03:47:19 +02:00
2024-10-07 17:57:52 +03:00
2024-08-12 18:26:30 +00:00
2024-10-10 12:28:08 +00:00
2024-10-10 12:28:08 +00:00
2024-10-10 12:28:08 +00:00
2024-10-10 12:28:08 +00:00
2024-10-10 12:28:08 +00:00
2024-10-10 12:28:08 +00:00
2024-10-06 19:42:15 +00:00
2024-03-29 07:48:52 +02:00
2023-10-19 16:23:21 +02:00
2024-09-23 23:39:19 +03:00
2024-09-04 21:25:55 +03:00
2024-10-10 12:28:08 +00:00
2024-08-10 16:08:04 +02:00
2024-08-10 16:08:04 +02:00
2024-10-06 19:42:15 +00:00
2024-09-23 23:39:19 +03:00
2024-09-23 23:30:38 +03:00
2024-09-23 23:30:38 +03:00
2024-10-06 19:42:15 +00:00
2024-01-20 20:34:51 +02:00
2024-02-26 12:55:49 +02:00
2024-02-14 13:08:24 +02:00
2024-08-14 10:38:59 +00:00
2024-06-24 03:47:19 +02:00
2024-10-10 12:28:08 +00:00
2024-10-10 12:28:08 +00:00
2024-10-10 12:28:08 +00:00
2024-10-10 12:28:08 +00:00
2024-10-10 12:28:08 +00:00
2024-09-05 15:16:27 +00:00
2024-08-26 19:48:46 +00:00
2024-08-26 19:48:46 +00:00
2024-10-06 19:42:15 +00:00
2024-08-10 16:08:04 +02:00
2024-10-08 20:04:32 +00:00
2024-08-15 00:21:02 +02:00
2024-01-20 20:34:51 +02:00
2024-10-08 20:04:32 +00:00
2024-10-08 20:04:32 +00:00
2024-07-16 15:31:58 +00:00
2024-07-16 13:13:07 +00:00
2023-10-19 16:23:21 +02:00
2024-10-06 19:42:15 +00:00
2024-08-10 16:08:04 +02:00
2024-06-27 08:38:04 +00:00
2024-10-07 14:59:46 +00:00
2024-08-11 20:54:44 +00:00
2024-01-10 00:22:23 +00:00
2024-05-12 15:10:29 +00:00
2024-02-11 17:55:02 +02:00
2024-06-01 11:49:51 +00:00
2024-01-20 17:54:15 +01:00
2024-01-20 20:34:51 +02:00
2024-01-19 13:55:22 +02:00
2023-10-19 16:23:21 +02:00
2024-10-07 12:55:23 +02:00
2024-09-05 15:16:28 +00:00
2023-10-19 16:23:21 +02:00
2024-08-27 14:07:00 +00:00
2024-10-07 14:59:46 +00:00
2024-08-20 18:49:48 +03:00
2024-10-07 12:55:23 +02:00
2024-05-17 15:04:05 +00:00
2024-05-17 15:04:05 +00:00
2024-03-02 14:08:03 +01:00
2024-01-17 20:12:57 +00:00
2024-03-29 12:28:14 +02:00
2024-07-20 12:55:17 +00:00
2024-02-14 13:08:24 +02:00
2024-08-12 13:57:27 +02:00
2024-08-12 13:57:27 +02:00
2024-01-20 20:34:51 +02:00
2023-10-19 16:23:21 +02:00
2024-08-17 15:25:25 +00:00
2024-08-28 12:40:44 +00:00
2024-08-28 12:40:44 +00:00
2024-10-06 19:42:15 +00:00
2024-08-10 16:08:04 +02:00
2024-10-06 19:42:15 +00:00
2024-08-10 16:08:04 +02:00
2024-02-12 12:33:09 +02:00
2024-01-17 12:50:00 +00:00
2024-02-14 13:08:24 +02:00
2024-07-29 22:54:42 +02:00
2024-08-29 18:51:53 +00:00
2024-03-29 07:48:52 +02:00
2024-03-29 07:48:52 +02:00
2024-10-06 19:42:15 +00:00
2024-08-10 16:08:04 +02:00
2024-06-24 03:47:19 +02:00
2024-06-24 03:47:19 +02:00
2023-10-19 16:23:21 +02:00
2023-10-19 16:23:21 +02:00
2024-09-05 15:16:27 +00:00
2024-09-05 15:16:27 +00:00
2024-06-24 03:47:19 +02:00