mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-27 20:28:27 +00:00
DREAMWEB: Ported 'getNumber' to C++
This commit is contained in:
parent
2b2f4a90a6
commit
65b2bfe8a1
@ -171,12 +171,6 @@ uint8 DreamGenContext::printDirect(const uint8** string, uint16 x, uint16 *y, ui
|
||||
}
|
||||
}
|
||||
|
||||
void DreamGenContext::getNumber() {
|
||||
uint16 offset = di;
|
||||
cl = getNumber((Frame *)ds.ptr(0, 0), es.ptr(si, 0), dl, (bool)(dl & 1), &offset);
|
||||
di = offset;
|
||||
}
|
||||
|
||||
uint8 DreamGenContext::getNumber(const Frame *charSet, const uint8 *string, uint16 maxWidth, bool centered, uint16* offset) {
|
||||
uint8 totalWidth = 0;
|
||||
uint8 charCount = 0;
|
||||
|
@ -88,7 +88,6 @@
|
||||
uint8 printSlow(const uint8 *string, uint16 x, uint16 y, uint8 maxWidth, bool centered);
|
||||
void printSlow();
|
||||
void dumpTextLine();
|
||||
void getNumber();
|
||||
uint8 getNumber(const Frame *charSet, const uint8 *string, uint16 maxWidth, bool centered, uint16 *offset);
|
||||
uint8 kernChars(uint8 firstChar, uint8 secondChar, uint8 width);
|
||||
void oldToNames();
|
||||
|
Loading…
Reference in New Issue
Block a user