Asdow
ff638a5473
Convert to SoldierID
2024-11-19 01:01:41 +02:00
Asdow
5b4be9bcdb
Convert to SoldierID
2024-11-19 00:55:36 +02:00
Asdow
3f448a62fb
Remove unused functions
2024-11-19 00:08:46 +02:00
Asdow
18673f3a29
Remove compiler warning
2024-11-18 23:58:14 +02:00
Asdow
47824c97a1
Fix UB compilation
2024-11-18 23:58:04 +02:00
Asdow
65c4cdd1d7
Suppress compiler warnings by using SoldierID::i directly
2024-11-18 23:43:13 +02:00
Asdow
191af4da49
Update SoldierID constructors
2024-11-18 23:38:43 +02:00
Asdow
94a5972a85
Perform explicit casts from UINT8 to UINT16 for SoldierID
2024-11-18 23:38:00 +02:00
Asdow
1e16de30d7
Remove wrong cast
2024-11-18 23:22:19 +02:00
Asdow
b718b463c2
Use SoldierID
2024-11-18 23:22:00 +02:00
Asdow
327046925b
Converto to SoldierID
2024-11-18 23:20:42 +02:00
Asdow
df01708ac3
Update Soldier Control.cpp
2024-11-18 23:20:14 +02:00
Asdow
2387667a23
Initialize SOLDIERTYPE SoldierIDs to NOBODY
...
memset in initialize() function sets them all to zero
2024-11-18 23:20:04 +02:00
Asdow
883ceb2f6f
Convert to SoldierID
2024-11-18 23:14:34 +02:00
Asdow
924ccd8815
Use ubID instead of cnt
2024-11-18 23:14:22 +02:00
Asdow
9bbec030d8
Remove unnecessary casts
2024-11-18 23:14:03 +02:00
Asdow
bc01bdb56d
Convert to SoldierID
2024-11-18 23:12:43 +02:00
Asdow
cd83fac928
Update Air Raid.cpp
2024-11-18 23:12:27 +02:00
Asdow
e9e8080077
Update merccompare.cpp
2024-11-18 23:12:17 +02:00
Asdow
9fb29cf444
Remove UINT8 conversions
2024-11-18 23:12:00 +02:00
Asdow
ca1112313a
Increase ubUserData2 from UINT8 to UINT16
2024-11-18 23:11:41 +02:00
Asdow
dd2c6f44b2
Fix incorrect function arguments
2024-11-18 22:38:28 +02:00
Asdow
38b710343a
Fix incorrect function argument
2024-11-18 22:38:09 +02:00
Asdow
3ddc4c2bbd
Change to SoldierID
2024-11-18 22:24:55 +02:00
Asdow
d2388c76b8
Modify SoldierID constructor to prevent invalid valuels
2024-11-18 21:43:30 +02:00
Asdow
07420ce245
Revert "Guard against out of bounds access"
...
This reverts commit c75f57785e .
2024-11-18 21:42:13 +02:00
Asdow
e62684f0e1
Convert GetSoldierIDFromMercID() to SoldierID
2024-11-18 18:50:20 +02:00
Asdow
c75f57785e
Guard against out of bounds access
...
Can't trust a simple != check
2024-11-18 18:49:38 +02:00
Asdow
66bd1e41c2
Correct loops
2024-11-18 18:27:14 +02:00
Asdow
fa56a7ad6d
Update Scheduling.cpp
2024-11-18 17:34:41 +02:00
Asdow
f49013307f
Convert to SoldierID
2024-11-18 01:01:57 +02:00
Asdow
657097aa54
Remove unused global
2024-11-17 23:47:26 +02:00
Asdow
b74ccf3ddc
Convert to SoldierID
2024-11-17 23:45:48 +02:00
Asdow
d149b6ffea
Correct parameter order
2024-11-17 22:39:58 +02:00
Asdow
ef9aa1b027
Convert to SoldierID
2024-11-17 22:29:31 +02:00
Asdow
b6e8b0c5ff
Convert to SoldierID
2024-11-17 21:09:13 +02:00
Asdow
b9641d4c90
Convert to SoldierID
2024-11-17 20:52:12 +02:00
Asdow
f50bdf99cc
Convert to SoldierID
2024-11-17 20:41:09 +02:00
Asdow
9532fbfe2c
Convert to SoldierID
2024-11-17 19:41:34 +02:00
Asdow
74d752d452
More conversions to SoldierID
2024-11-17 18:15:36 +02:00
Asdow
06936b71c9
Convert to SoldierID
...
Rearranged struct to optimize memory layout
2024-11-17 17:22:30 +02:00
Asdow
e9a13e12d8
Convert to SoldierID
2024-11-17 17:11:03 +02:00
Asdow
9acf994952
Convert gusTempDragBuildSoldierID to SoldierID
2024-11-17 16:50:01 +02:00
Asdow
9d62b9a37a
Remove unused function parameters
2024-11-17 16:46:57 +02:00
Asdow
2e92da4e12
Convert to SoldierID
2024-11-17 16:43:39 +02:00
Asdow
f39078357b
Remove unused function parameters
2024-11-17 16:39:13 +02:00
Asdow
2e147d4bd7
Convert to SoldierID
2024-11-17 16:35:26 +02:00
Asdow
274be524e6
More functions converted to SoldierID
2024-11-17 16:25:12 +02:00
Asdow
34f0b40f93
Convert functions and globals to SoldierID
2024-11-17 14:53:52 +02:00
Asdow
f58cf588a6
Mark TacticalStatusType::sSlideReason as _UNUSED
...
Removed from function call parameters at the same time.
It was supplied to SlideTo, SlideToLocation and SoldierLocationRelativeToScreen but was never used.
2024-11-17 14:20:37 +02:00