diff options
author | Torbjörn Andersson | 2005-05-02 05:41:01 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2005-05-02 05:41:01 +0000 |
commit | cd6e22a3b15129a6e474f2752815643a44aff07d (patch) | |
tree | 3c37d25ceaae6fe4594164195a47f17752009c97 /sword2/maketext.cpp | |
parent | b56824d0cf0e559133f1649291cb1e02fc7fc47b (diff) | |
download | scummvm-rg350-cd6e22a3b15129a6e474f2752815643a44aff07d.tar.gz scummvm-rg350-cd6e22a3b15129a6e474f2752815643a44aff07d.tar.bz2 scummvm-rg350-cd6e22a3b15129a6e474f2752815643a44aff07d.zip |
Cleanup. Most of is simply moves the credits code out of Logic and into
Screen. I've also added an unused "splash screen" function that displays
the image that used to be shown by CacheNewCluster() while copying a data
file from CD to hard disk. ScummVM doesn't do that, but it's a nice image
that I wish we could do something useful with, and it's easier to have the
code here for reference than having to dig through old revisions of the
resource manager.
svn-id: r17894
Diffstat (limited to 'sword2/maketext.cpp')
-rw-r--r-- | sword2/maketext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sword2/maketext.cpp b/sword2/maketext.cpp index aefccb4d86..0ca8619687 100644 --- a/sword2/maketext.cpp +++ b/sword2/maketext.cpp @@ -457,7 +457,7 @@ uint32 FontRenderer::buildNewBloc(byte *ascii, int16 x, int16 y, uint16 width, u * Called by buildDisplay() */ -void FontRenderer::printTextBlocs(void) { +void FontRenderer::printTextBlocs() { for (uint i = 0; i < MAX_text_blocs; i++) { if (_blocList[i].text_mem) { FrameHeader *frame = (FrameHeader *) _blocList[i].text_mem; @@ -497,7 +497,7 @@ void FontRenderer::killTextBloc(uint32 bloc_number) { #define SAVE_LINE_NO 1 -void Sword2Engine::initialiseFontResourceFlags(void) { +void Sword2Engine::initialiseFontResourceFlags() { byte *textFile = _resman->openResource(TEXT_RES); // If language is Polish or Finnish it requires alternate fonts. |