fallout2-ce/src/text_object.h

24 lines
642 B
C
Raw Normal View History

2022-05-19 01:51:26 -07:00
#ifndef TEXT_OBJECT_H
#define TEXT_OBJECT_H
#include "geometry.h"
#include "obj_types.h"
2022-09-23 05:43:44 -07:00
namespace fallout {
2022-05-19 01:51:26 -07:00
int textObjectsInit(unsigned char* windowBuffer, int width, int height);
int textObjectsReset();
void textObjectsFree();
void textObjectsDisable();
void textObjectsEnable();
void textObjectsSetBaseDelay(double value);
void textObjectsSetLineDelay(double value);
2023-01-04 17:06:18 -08:00
int textObjectAdd(Object* object, char* string, int font, int color, int outlineColor, Rect* rect);
2022-05-19 01:51:26 -07:00
void textObjectsRenderInRect(Rect* rect);
int textObjectsGetCount();
void textObjectsRemoveByOwner(Object* object);
2022-09-23 05:43:44 -07:00
} // namespace fallout
2022-05-19 01:51:26 -07:00
#endif /* TEXT_OBJECT_H */