diff options
author | Torbjörn Andersson | 2003-09-26 10:07:18 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-09-26 10:07:18 +0000 |
commit | b21208e6a92b4e8082d04994b0c99709e2712472 (patch) | |
tree | 0357b0847efb8a714e2d8f57493be53ec852bd25 /sword2/maketext.cpp | |
parent | b7a5024dafefab136c9fc9d5af67588349178681 (diff) | |
download | scummvm-rg350-b21208e6a92b4e8082d04994b0c99709e2712472.tar.gz scummvm-rg350-b21208e6a92b4e8082d04994b0c99709e2712472.tar.bz2 scummvm-rg350-b21208e6a92b4e8082d04994b0c99709e2712472.zip |
Some more reformatting / cleanup, and removal of comments that did nothing
but say who added what when. (No disrespect intended, but this information
means very little to us.)
svn-id: r10413
Diffstat (limited to 'sword2/maketext.cpp')
-rw-r--r-- | sword2/maketext.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/sword2/maketext.cpp b/sword2/maketext.cpp index c5046ad89b..1e721dfa2d 100644 --- a/sword2/maketext.cpp +++ b/sword2/maketext.cpp @@ -466,7 +466,7 @@ void Init_text_bloc_system(void) { //Tony16Oct96 // blocs are read and blitted at render time choose alignment type // RDSPR_DISPLAYALIGN or 0 -uint32 Build_new_block(uint8 *ascii, int16 x, int16 y, uint16 width, uint8 pen, uint32 type, uint32 fontRes, uint8 justification) { // Tony31Oct96 +uint32 Build_new_block(uint8 *ascii, int16 x, int16 y, uint16 width, uint8 pen, uint32 type, uint32 fontRes, uint8 justification) { uint32 j = 0; _frameHeader *frame_head; int16 text_left_margin; @@ -564,9 +564,7 @@ uint32 Build_new_block(uint8 *ascii, int16 x, int16 y, uint16 width, uint8 pen, return j + 1; } -// PC Version of Print_text_blocs - -void Print_text_blocs(void) { // Tony16Oct96 +void Print_text_blocs(void) { //called by build_display _frameHeader *frame; @@ -597,7 +595,7 @@ void Print_text_blocs(void) { // Tony16Oct96 } } -void Kill_text_bloc(uint32 bloc_number) { // Tony18Oct96 +void Kill_text_bloc(uint32 bloc_number) { //back to real bloc_number--; @@ -622,7 +620,7 @@ void Kill_text_bloc(uint32 bloc_number) { // Tony18Oct96 #define SAVE_LINE_NO 1 -void InitialiseFontResourceFlags(void) { // (James31july97) +void InitialiseFontResourceFlags(void) { uint8 *textFile, *textLine; uint8 language; @@ -669,7 +667,7 @@ void InitialiseFontResourceFlags(void) { // (James31july97) // called from the above function, and also from console.cpp -void InitialiseFontResourceFlags(uint8 language) { // (James31july97) +void InitialiseFontResourceFlags(uint8 language) { switch (language) { case FINNISH_TEXT: // special Finnish fonts speech_font_id = FINNISH_SPEECH_FONT_ID; |