Commit Graph
4312 Commits
Author SHA1 Message Date
Asdow 0dc2ceabb2 Use SoldierID 2024-11-21 19:48:54 +02:00
Asdow 1ec2867ced Use SoldierID
Fixed if conditions as well
SOLDIERTYPE::ubProfile would never match with values above NOBODY
2024-11-20 23:02:39 +02:00
Asdow a9120ef984 Remove unused function 2024-11-20 22:35:55 +02:00
Asdow a50a6de1b5 Make fewer calls to MercPtrs 2024-11-20 22:34:30 +02:00
Asdow 845d784bff Use SoldierID 2024-11-20 22:33:33 +02:00
Asdow 99703fa8b6 Use SoldierID 2024-11-20 21:52:28 +02:00
Asdow 58bfffff55 Simplify if checks 2024-11-20 21:27:46 +02:00
Asdow 7fffcd295c Simplify function 2024-11-20 21:27:18 +02:00
Asdow 65a8b4fd77 Use SoldierID 2024-11-20 21:19:28 +02:00
Asdow 9d0ec49e88 Use SoldierID 2024-11-20 21:17:19 +02:00
Asdow 29354135dc Use SoldierID 2024-11-20 21:14:10 +02:00
Asdow 63fe0be512 Use SoldierID
Rename function parameter to make it clear it needs to be profileID
Change the parameter type to UINT8
2024-11-20 21:10:44 +02:00
Asdow 3f4c94642e Fix compiler warnings 2024-11-20 21:04:12 +02:00
Asdow 8856813768 Lessen copy & paste 2024-11-20 21:03:54 +02:00
Asdow dbc4135974 Use SoldierID 2024-11-20 21:03:08 +02:00
Asdow d826491c83 Remove unused function parameter 2024-11-20 20:26:50 +02:00
Asdow bb1c63d4e8 Convert to SoldierID 2024-11-20 20:12:05 +02:00
Asdow 8e4307b2fb Use SoldierID 2024-11-20 19:56:38 +02:00
Asdow e4fe066da0 Fix comment 2024-11-20 19:56:30 +02:00
Asdow cabb50a361 Update Game Event Hook.cpp 2024-11-20 00:48:40 +02:00
Asdow cebd20f5d0 Update ShopKeeper Interface.cpp 2024-11-20 00:47:51 +02:00
Asdow aee7c23aa4 Update Air Raid.cpp 2024-11-20 00:35:29 +02:00
Asdow c7e654a1d9 Update Town Militia.cpp 2024-11-20 00:28:38 +02:00
Asdow 235ddfa782 Update Game Event Hook.cpp 2024-11-20 00:23:08 +02:00
Asdow a670aff29c Combine loops to check for medics and patients 2024-11-20 00:13:25 +02:00
Asdow 2a52347198 Update personnel.cpp 2024-11-20 00:04:29 +02:00
Asdow 648a50f1e8 Convert currentTeamList to SoldierID 2024-11-20 00:01:35 +02:00
Asdow 698176e841 Convert DisplayCharPersonality() to SoldierID 2024-11-19 23:33:11 +02:00
Asdow 8b90c84738 Convert DisplayCharStats() to SoldierID
Moved two repeated print calls to their own functions
Removed compiler warning about exceeding stack size
2024-11-19 23:20:45 +02:00
Asdow be5c4b1601 Convert to SoldierID 2024-11-19 21:41:07 +02:00
Asdow 534ce662f3 Convert to SoldierID 2024-11-19 01:08:26 +02:00
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