234 |
|
}; |
235 |
|
DDrPatch_Const(0x0051BB64, regen_patch); |
236 |
|
} |
237 |
+ |
|
238 |
+ |
//Fix crappy ai2_shownames |
239 |
+ |
if(1) |
240 |
+ |
{ |
241 |
+ |
//Set distance above head to 4.0 |
242 |
+ |
DDrPatch_Int32(0x0048C998, 0x005296C8); |
243 |
+ |
//texture height |
244 |
+ |
DDrPatch_Byte( 0x0048C9DF, 0x3F ); |
245 |
+ |
//texture width |
246 |
+ |
DDrPatch_NOOP( (char*)0x0048C9CA, 6 ); |
247 |
+ |
//Set the text color to whatever we like ;) |
248 |
+ |
DDrPatch_NOOP( 0x0048C898, 6 ); |
249 |
+ |
DDrPatch_Byte( 0x0048C898, 0x8B ); |
250 |
+ |
DDrPatch_Byte( 0x0048C899, 0xCE ); |
251 |
+ |
DDrPatch_MakeCall( 0x0048C8A3, FLrHook_DebugNameShadeHack); |
252 |
+ |
|
253 |
+ |
//Make the background black for additive blending |
254 |
+ |
DDrPatch_MakeCall( 0x0048C802, FLrHook_DebugNameTextureInit ); |
255 |
+ |
} |
256 |
+ |
|
257 |
+ |
if(1) |
258 |
+ |
{ |
259 |
+ |
//DDrPatch_NOOP( 0x004E1957, 6 ); |
260 |
+ |
//DDrPatch_MakeCall( 0x004E17F6, FLrHook_Lasers ); |
261 |
+ |
} |
262 |
+ |
|
263 |
|
//Flatline related stuff |
264 |
|
DDrPatch_MakeCall(0x004FBCEA, DDrText_Hook); |
265 |
|
|
266 |
< |
DDrPatch_Int32( 0x004B24D2, FLrSpawnHack); |
266 |
> |
DDrPatch_Int32( 0x004B24D2, FLrSpawnHack); |
267 |
|
|
268 |
|
DDrPatch_NOOP(0x004C26CB, 6); |
269 |
|
DDrPatch_MakeCall( 0x004C26CB, FLrHook_DoorOpen); |