SpaceCadetPinball/SpaceCadetPinball/score.h

33 lines
595 B
C
Raw Normal View History

#pragma once
2020-11-15 15:39:00 +01:00
#include "gdrv.h"
2020-11-07 16:41:14 +01:00
struct scoreStruct
{
int Unknown1;
int Unknown2;
2020-11-15 15:39:00 +01:00
gdrv_bitmap8* BackgroundBmp;
int Short1;
int Short2;
int Short3;
int Short4;
char* Bitmap8Bit1;
char* Bitmap8Bit2;
char* Bitmap8Bit3;
char* Bitmap8Bit4;
char* Bitmap8Bit5;
char* Bitmap8Bit6;
char* Bitmap8Bit7;
char* Bitmap8Bit8;
char* Bitmap8Bit9;
char* Bitmap8Bit10;
};
class score
{
public:
2020-11-07 16:41:14 +01:00
static int init();
2020-11-15 15:39:00 +01:00
static scoreStruct* create(LPCSTR fieldName, gdrv_bitmap8* renderBgBmp);
static scoreStruct* dup(scoreStruct* score, int scoreIndex);
static HRSRC load_msg_font(LPCSTR lpName);
};