diff --git a/th03/math/randring.hpp b/th03/math/randring.hpp index 25c32ae4..6e8ab9f0 100644 --- a/th03/math/randring.hpp +++ b/th03/math/randring.hpp @@ -4,6 +4,11 @@ uint16_t near randring1_next16(void); uint16_t pascal near randring1_next16_and(uint16_t mask); uint16_t pascal near randring2_next16_and(uint16_t mask); uint16_t pascal near randring2_next16_mod(uint16_t mask); +#if (GAME == 3) + uint16_t far randring_far_next16(void); + uint16_t pascal far randring_far_next16_and(uint16_t mask); + uint16_t pascal far randring_far_next16_mod(uint16_t mask); +#endif /// Constrained random numbers /// -------------------------- diff --git a/th03_main.asm b/th03_main.asm index 7feea461..a93787cf 100644 --- a/th03_main.asm +++ b/th03_main.asm @@ -16827,7 +16827,7 @@ main_04_TEXT segment byte public 'CODE' use16 assume es:nothing, ss:nothing, ds:_DATA, fs:nothing, gs:nothing RANDRING_NEXT_DEF 2, near -RANDRING_NEXT_DEF _far, far +RANDRING_NEXT_DEF _FAR, far main_04_TEXT ends COLLMAP_TEXT segment byte public 'CODE' use16