mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
HUGO: Modify or suppress some obsolete comments and warnings
svn-id: r54530
This commit is contained in:
parent
5e0a441add
commit
54b756e1ba
@ -42,15 +42,11 @@ class SeekableReadStream;
|
||||
|
||||
namespace Hugo {
|
||||
|
||||
// WARNING!! Run the program at least once before release to
|
||||
// generate the initial save file! (Using the -i cmd switch)
|
||||
// Set EPISODE_NUM & build. Build pictures.mak and run "Tools/Hugo N".
|
||||
// Copy helpedit\hugow_?.hlp to .\hugowin?.hlp
|
||||
// WARNING!!
|
||||
// Type "PPG" in the game to enter cheat mode.
|
||||
|
||||
#define COPYRIGHT "Copyright 1989-1997 David P Gray, All Rights Reserved."
|
||||
// Started code on 04/01/95
|
||||
// Don't forget to update Hugowin.rc2 with version info
|
||||
//#define VER "1.0" // 10/01/95 Initial Release
|
||||
//#define VER "1.1" // 10/06/95 Restore system volume levels on exit
|
||||
//#define VER "v1.2"// 10/12/95 Added "background music" checkbox in volume dlg
|
||||
@ -97,7 +93,7 @@ namespace Hugo {
|
||||
#define NAME_LEN 12 // Max length of a DOS file name
|
||||
|
||||
// Definitions of 'generic' commands: Max # depends on size of gencmd in
|
||||
// the object_t record since each requires 1 bit. Currently up to 16
|
||||
// the object_t record since each requires 1 bit. Currently up to 16
|
||||
#define LOOK 1
|
||||
#define TAKE 2
|
||||
#define DROP 4
|
||||
|
@ -111,7 +111,7 @@ void Parser::keyHandler(uint16 nChar, uint16 nFlags) {
|
||||
gameStatus.viewState = V_PLAY;
|
||||
break;
|
||||
case Common::KEYCODE_F9: // Boss button
|
||||
warning("STUB: KeyHandler() - F4-F5-F9 (DOS)");
|
||||
warning("STUB: F9 (DOS) - BossKey");
|
||||
break;
|
||||
default: // Any other key
|
||||
if (!gameStatus.storyModeFl) { // Keyboard disabled
|
||||
@ -167,7 +167,7 @@ void Parser::charHandler() {
|
||||
default: // Normal text key, add to line
|
||||
if (lineIndex >= MAX_CHARS) {
|
||||
//MessageBeep(MB_ICONASTERISK);
|
||||
warning("STUB: MessageBeep(MB_ICONASTERISK);");
|
||||
warning("STUB: MessageBeep() - Command line too long");
|
||||
} else if (isprint(c)) {
|
||||
cmdLine[lineIndex++] = c;
|
||||
cmdLine[lineIndex] = '\0';
|
||||
|
@ -120,7 +120,6 @@ bool Parser_v1w::isGenericVerb(object_t *obj, char *comment) {
|
||||
// Test state-dependent look before general look
|
||||
if ((obj->genericCmd & LOOK_S) == LOOK_S) {
|
||||
Utils::Box(BOX_ANY, "%s", _vm->_textData[obj->stateDataIndex[obj->state]]);
|
||||
warning("isGenericVerb: use of state dependant look - To be validated");
|
||||
} else {
|
||||
if ((LOOK & obj->genericCmd) == LOOK) {
|
||||
if (_vm->_textData[obj->dataIndex])
|
||||
|
@ -343,7 +343,6 @@ event_t *Scheduler_v2d::doAction(event_t *curEvent) {
|
||||
Utils::Box(BOX_ANY, TAKE_TEXT, _vm->_arrayNouns[_vm->_object->_objects[action->a42.objNumb].nounIndex][TAKE_NAME]);
|
||||
break;
|
||||
case YESNO: // act43: Prompt user for Yes or No
|
||||
warning("doAction(act43) - Yes/No Box");
|
||||
if (Utils::Box(BOX_YESNO, "%s", _vm->_file->fetchString(action->a43.promptIndex)) != 0)
|
||||
insertActionList(action->a43.actYesIndex);
|
||||
else
|
||||
|
@ -98,7 +98,7 @@ char *Utils::Box(box_t dismiss, const char *s, ...) {
|
||||
return 0;
|
||||
|
||||
if (strlen(s) > MAX_STRLEN - 100) { // Test length
|
||||
warning("String too big: '%s'", s);
|
||||
warning("String too long: '%s'", s);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -139,8 +139,7 @@ char *Utils::Box(box_t dismiss, const char *s, ...) {
|
||||
* Print options for user when dead
|
||||
*/
|
||||
void Utils::gameOverMsg(void) {
|
||||
//MessageBox(hwnd, gameoverstring, "Be more careful next time!", MB_OK | MB_ICONINFORMATION);
|
||||
warning("STUB: Gameover_msg(): %s", HugoEngine::get()._textUtil[kGameOver]);
|
||||
Utils::Box(BOX_OK, "%s", HugoEngine::get()._textUtil[kGameOver]);
|
||||
}
|
||||
|
||||
char *Utils::strlwr(char *buffer) {
|
||||
|
Loading…
Reference in New Issue
Block a user