| 10132 | } |
| 10133 | |
| 10134 | int16 cFodder::Service_Sprite_OnScreen_Check() { |
| 10135 | int16 ax; |
| 10136 | |
| 10137 | if (mVideo_Draw_PosY < 0x2C) { |
| 10138 | ax = mVideo_Draw_PosY; |
| 10139 | ax += mVideo_Draw_Rows; |
| 10140 | --ax; |
| 10141 | if (ax < 0x2C) |
| 10142 | return -1; |
| 10143 | |
| 10144 | ax -= 0x2C; |
| 10145 | ax -= mVideo_Draw_Rows; |
| 10146 | ++ax; |
| 10147 | ax = -ax; |
| 10148 | mVideo_Draw_PosY += ax; |
| 10149 | mVideo_Draw_Rows -= ax; |
| 10150 | |
| 10151 | ax *= PLATFORM_BASED(160, 40); |
| 10152 | |
| 10153 | mVideo_Draw_FrameDataPtr += ax; |
| 10154 | } |
| 10155 | //loc_184FC |
| 10156 | |
| 10157 | ax = mVideo_Draw_PosY; |
| 10158 | ax += mVideo_Draw_Rows; |
| 10159 | --ax; |
| 10160 | |
| 10161 | if (ax <= 0xE7) |
| 10162 | return 0; |
| 10163 | |
| 10164 | if (mVideo_Draw_PosY > 0xE7) |
| 10165 | return -1; |
| 10166 | |
| 10167 | ax -= 0xE7; |
| 10168 | mVideo_Draw_Rows -= ax; |
| 10169 | return 0; |
| 10170 | } |
| 10171 | |
| 10172 | void cFodder::Service_Mission_Text_Prepare() { |
| 10173 | std::stringstream Mission; |
nothing calls this directly
no outgoing calls
no test coverage detected