spelling fixes

svn-id: r11178
This commit is contained in:
Jonathan Gray 2003-11-07 02:31:44 +00:00
parent f6e1915b77
commit 239aea0ff0
10 changed files with 11 additions and 11 deletions

View file

@ -36,7 +36,7 @@
#include "config.h" #include "config.h"
#endif #endif
// DONT FIXME: DO NOT ORDER ALPHABETICALY, THIS IS ORDERED BY IMPORTANCE/CATEGORY! :) // DONT FIXME: DO NOT ORDER ALPHABETICALLY, THIS IS ORDERED BY IMPORTANCE/CATEGORY! :)
#ifdef __PALM_OS__ #ifdef __PALM_OS__
static const char USAGE_STRING[] = "NoUsageString"; // save more data segment space static const char USAGE_STRING[] = "NoUsageString"; // save more data segment space
#else #else

View file

@ -268,7 +268,7 @@ bool PluginManager::tryLoadPlugin(Plugin *plugin) {
assert(plugin); assert(plugin);
// Try to load the plugin // Try to load the plugin
if (plugin->loadPlugin()) { if (plugin->loadPlugin()) {
// If succesful, add it to the list of known plugins and return. // If successful, add it to the list of known plugins and return.
_plugins.push_back(plugin); _plugins.push_back(plugin);
return true; return true;
} else { } else {

View file

@ -118,7 +118,7 @@ public:
// Factory functions => no need to include the specific classes // Factory functions => no need to include the specific classes
// in this header. This serves two purposes: // in this header. This serves two purposes:
// 1) Clean seperation from the game modules (scumm, simon) and the generic code // 1) Clean separation from the game modules (scumm, simon) and the generic code
// 2) Faster (compiler doesn't have to parse lengthy header files) // 2) Faster (compiler doesn't have to parse lengthy header files)
#ifndef DISABLE_SCUMM #ifndef DISABLE_SCUMM
DECLARE_PLUGIN(SCUMM) DECLARE_PLUGIN(SCUMM)

View file

@ -251,7 +251,7 @@ void PopUpDialog::drawMenuEntry(int entry, bool hilite) {
g_gui.fillRect(x, y, w, kLineHeight, hilite ? g_gui._textcolorhi : g_gui._bgcolor); g_gui.fillRect(x, y, w, kLineHeight, hilite ? g_gui._textcolorhi : g_gui._bgcolor);
if (name.size() == 0) { if (name.size() == 0) {
// Draw a seperator // Draw a separator
g_gui.hLine(x - 1, y + kLineHeight / 2, x + w, g_gui._shadowcolor); g_gui.hLine(x - 1, y + kLineHeight / 2, x + w, g_gui._shadowcolor);
g_gui.hLine(x, y + 1 + kLineHeight / 2, x + w, g_gui._color); g_gui.hLine(x, y + 1 + kLineHeight / 2, x + w, g_gui._color);
} else { } else {

View file

@ -166,7 +166,7 @@ void ScrollBarWidget::handleTickle() {
/* /*
// FIXME/TODO - this code is supposed to allow for "click-repeat" (like key repeat), // FIXME/TODO - this code is supposed to allow for "click-repeat" (like key repeat),
// i.e. if you click on one of the arrows and keep clicked, it will scroll // i.e. if you click on one of the arrows and keep clicked, it will scroll
// continously. However, just like key repeat, this requires two delays: // continuously. However, just like key repeat, this requires two delays:
// First an "initial" delay that has to pass before repeating starts (otherwise // First an "initial" delay that has to pass before repeating starts (otherwise
// it is near to impossible to achieve single clicks). Secondly, a repeat delay // it is near to impossible to achieve single clicks). Secondly, a repeat delay
// that determines how often per second a click is simulated. // that determines how often per second a click is simulated.

View file

@ -205,7 +205,7 @@ void Dialog::handleKeyDown(uint16 ascii, int keycode, int modifiers) {
} }
void Dialog::handleKeyUp(uint16 ascii, int keycode, int modifiers) { void Dialog::handleKeyUp(uint16 ascii, int keycode, int modifiers) {
// Focused widget recieves keyup events // Focused widget receives keyup events
if (_focusedWidget) if (_focusedWidget)
_focusedWidget->handleKeyUp(ascii, keycode, modifiers); _focusedWidget->handleKeyUp(ascii, keycode, modifiers);
} }
@ -250,7 +250,7 @@ void Dialog::handleMouseMoved(int x, int y, int button) {
} }
void Dialog::handleTickle() { void Dialog::handleTickle() {
// Focused widget recieves tickle notifications // Focused widget receives tickle notifications
if (_focusedWidget && _focusedWidget->getFlags() & WIDGET_WANT_TICKLE) { if (_focusedWidget && _focusedWidget->getFlags() & WIDGET_WANT_TICKLE) {
_focusedWidget->handleTickle(); _focusedWidget->handleTickle();
} }

View file

@ -687,7 +687,7 @@ bool SkyLogic::collide(Compact *cpt) {
uint16 x = cpt->xcood & 0xfff8; uint16 x = cpt->xcood & 0xfff8;
uint16 y = cpt->ycood & 0xfff8; uint16 y = cpt->ycood & 0xfff8;
// The collision is direction dependant // The collision is direction dependent
switch (_compact->extCompact->dir) { switch (_compact->extCompact->dir) {
case 0: // looking up case 0: // looking up
x -= m1->colOffset; // compensate for inner x offsets x -= m1->colOffset; // compensate for inner x offsets

View file

@ -161,7 +161,7 @@ uint8 SkyAdlibChannel::process(uint16 aktTime) {
break; break;
default: default:
// these opcodes aren't implemented in original music driver // these opcodes aren't implemented in original music driver
error("SkyChannel: Not existant routine 0x%02X was called",opcode); error("SkyChannel: Not existent routine 0x%02X was called",opcode);
_channelData.channelActive = 0; _channelData.channelActive = 0;
break; break;
} }

View file

@ -115,7 +115,7 @@ uint8 SkyGmChannel::process(uint16 aktTime) {
break; break;
default: default:
// these opcodes aren't implemented in original music driver // these opcodes aren't implemented in original music driver
error("SkyChannel: Not existant routine 0x%02X was called",opcode); error("SkyChannel: Not existent routine 0x%02X was called",opcode);
_channelData.channelActive = 0; _channelData.channelActive = 0;
break; break;
} }

View file

@ -93,7 +93,7 @@ protected:
uint32 _dtLineSize; //size of one line in bytes uint32 _dtLineSize; //size of one line in bytes
uint8 *_dtData; //address of textdata uint8 *_dtData; //address of textdata
char *_dtText; //pointer to text char *_dtText; //pointer to text
uint32 _dtCharSpacing; //character seperation adjustment uint32 _dtCharSpacing; //character separation adjustment
uint32 _dtWidth; //width of chars in last line (for editing (?)) uint32 _dtWidth; //width of chars in last line (for editing (?))
uint32 _dtLastWidth; uint32 _dtLastWidth;
bool _dtCentre; //set for centre text bool _dtCentre; //set for centre text