mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-23 16:21:15 +00:00
Implement LegoRaceCar::FUN_10012e00()
This commit is contained in:
parent
4978168749
commit
710cfc8154
@ -180,11 +180,16 @@ void LegoRaceCar::FUN_10012de0()
|
|||||||
g_unk0x100f0b88 = 0;
|
g_unk0x100f0b88 = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x10012e00
|
// FUNCTION: LEGO1 0x10012e00
|
||||||
// STUB: BETA10 0x100cb129
|
// FUNCTION: BETA10 0x100cb129
|
||||||
void LegoRaceCar::FUN_10012e00()
|
void LegoRaceCar::FUN_10012e00()
|
||||||
{
|
{
|
||||||
// TODO
|
// Note the (likely unintentional) order of operations: `%` is executed before `/`,
|
||||||
|
// so the division is performed at runtime.
|
||||||
|
g_srtsl18to29Index = rand() % sizeof(g_srtsl18to29) / sizeof(g_srtsl18to29[0]);
|
||||||
|
g_srtsl6to10Index = rand() % sizeof(g_srtsl6to10) / sizeof(g_srtsl6to10[0]);
|
||||||
|
g_emptySoundKeyListIndex = rand() % sizeof(g_emptySoundKeyList) / sizeof(g_emptySoundKeyList[0]);
|
||||||
|
g_srtrhIndex = rand() % sizeof(g_srtrh) / sizeof(g_srtrh[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x10012e60
|
// FUNCTION: LEGO1 0x10012e60
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user