ALL: centre -> center
This commit is contained in:
parent
84184aabc0
commit
2e095e25f2
56 changed files with 225 additions and 225 deletions
|
@ -104,16 +104,16 @@ void Logic::locateTalker(int32 *params) {
|
|||
|
||||
uint16 scale = obMega.calcScale();
|
||||
|
||||
// Calc suitable centre point above the head, based on scaled
|
||||
// Calc suitable center point above the head, based on scaled
|
||||
// height
|
||||
|
||||
// just use 'feet_x' as centre
|
||||
// just use 'feet_x' as center
|
||||
_textX = obMega.getFeetX();
|
||||
|
||||
// Add scaled y-offset to feet_y coord to get top of sprite
|
||||
_textY = obMega.getFeetY() + (cdt_entry.y * scale) / 256;
|
||||
} else {
|
||||
// It's a non-scaling anim - calc suitable centre point above
|
||||
// It's a non-scaling anim - calc suitable center point above
|
||||
// the head, based on scaled width
|
||||
|
||||
// x-coord + half of width
|
||||
|
@ -185,7 +185,7 @@ void Logic::formText(int32 *params) {
|
|||
text + 2, _textX, _textY,
|
||||
textWidth, obSpeech.getPen(),
|
||||
RDSPR_TRANS | RDSPR_DISPLAYALIGN,
|
||||
_vm->_speechFontId, POSITION_AT_CENTRE_OF_BASE);
|
||||
_vm->_speechFontId, POSITION_AT_CENTER_OF_BASE);
|
||||
|
||||
_vm->_resman->closeResource(text_res);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue