22 #ifndef WATCHMAKER_LL_UTIL_H 23 #define WATCHMAKER_LL_UTIL_H 25 #include "watchmaker/game.h" 26 #include "watchmaker/globvar.h" 27 #include "watchmaker/t3d.h" 28 #include "watchmaker/work_dirs.h" 29 #include "watchmaker/renderer.h" 33 int32 LoadDDBitmap(WGame &game,
const char *n, uint8 flags);
34 void LoadFont(WGame &game,
struct SFont *f,
const char *n);
35 void UpdateRoomVisibility(WGame &game);
38 void ChangeRoom(WGame &game,
Common::String n, uint8 pos, int32 an);
39 bool SetBndLevel(WGame &game,
const char *roomname, int32 lev);
40 int32 GetBndLevel(
char *roomname);
41 void GetDDBitmapExtends(Renderer &renderer,
struct SRect *r,
struct SDDBitmap *b);
42 void DisplayDDBitmap(Renderer &, int32 tnum, int32 px, int32 py, int32 ox, int32 oy, int32 dx, int32 dy);
43 void DisplayDDBitmap_NoFit(Renderer &renderer, int32 tnum, int32 px, int32 py, int32 ox, int32 oy, int32 dx, int32 dy);
44 void UpdateRoomInfo(WGame &game);
45 bool CheckRect(Renderer &renderer,
struct SRect p, int32 cmx, int32 cmy);
46 void DisplayD3DTriangle(Renderer &, int32 x1, int32 y1, int32 x2, int32 y2, int32 x3, int32 y3, uint8 r, uint8 g, uint8 b, uint8 al);
47 void DisplayD3DRect(Renderer &, int32 px, int32 py, int32 dx, int32 dy, uint8 r, uint8 g, uint8 b, uint8 al);
48 int32 CreateTooltipBitmap(Renderer &renderer,
char *tooltip, FontColor color, uint8 r, uint8 g, uint8 b);
49 int32 WhatObj(WGame &game, int32 mx, int32 my, uint8 op);
50 void DebugVideo(Renderer &renderer, int32 px, int32 py,
const char *format, ...);
54 #endif // WATCHMAKER_LL_UTIL_H Definition: 2d_stuff.h:30