diff options
| author | Strangerke | 2012-08-29 22:47:33 +0200 | 
|---|---|---|
| committer | Strangerke | 2012-08-29 22:47:33 +0200 | 
| commit | 766eadeef98e6adcd52e5fb5325a1f7586572402 (patch) | |
| tree | dbd094bc3f3f6733e4342d5f18a54dba29371e5c | |
| parent | 985151fe13d878739287be7827e9b6168010e3ea (diff) | |
| download | scummvm-rg350-766eadeef98e6adcd52e5fb5325a1f7586572402.tar.gz scummvm-rg350-766eadeef98e6adcd52e5fb5325a1f7586572402.tar.bz2 scummvm-rg350-766eadeef98e6adcd52e5fb5325a1f7586572402.zip | |
TONY: Translate some remaining Italian comments
| -rw-r--r-- | engines/tony/loc.cpp | 12 | ||||
| -rw-r--r-- | engines/tony/mpal/loadmpc.cpp | 13 | ||||
| -rw-r--r-- | engines/tony/mpal/mpal.cpp | 3 | ||||
| -rw-r--r-- | engines/tony/mpal/mpal.h | 2 | 
4 files changed, 13 insertions, 17 deletions
| diff --git a/engines/tony/loc.cpp b/engines/tony/loc.cpp index 6401e1337f..5d11672e34 100644 --- a/engines/tony/loc.cpp +++ b/engines/tony/loc.cpp @@ -57,19 +57,19 @@ void RMPattern::RMSlot::readFromStream(Common::ReadStream &ds, bool bLOX) {  	type = ds.readByte();  	_type = (RMPattern::RMSlotType)type; -	// Dati +	// Data  	_data = ds.readSint32LE(); -	// Posizione +	// Position  	_pos.readFromStream(ds); -	// Flag generica +	// Generic flag  	_flag = ds.readByte();  }  /****************************************************************************\ -*       Metodi di RMPattern +*       RMPattern Methods  \****************************************************************************/  void RMPattern::readFromStream(Common::ReadStream &ds, bool bLOX) { @@ -547,7 +547,7 @@ void RMItem::readFromStream(Common::SeekableReadStream &ds, bool bLOX) {  	if (_bInitCurPattern)  		setPattern(mpalQueryItemPattern(_mpalCode)); -	// Initailise the current activation state +	// Initialize the current activation state  	_bIsActive = mpalQueryItemIsActive(_mpalCode);  } @@ -883,7 +883,7 @@ short RMCharacter::findPath(short source, short destination) {  	static RMBox BOX[MAXBOXES];         // Matrix of adjacent boxes  	static short COSTO[MAXBOXES];       // Cost per node  	static short VALIDO[MAXBOXES];      // 0:Invalid 1:Valid 2:Saturated -	static short NEXT[MAXBOXES];        // Prossimo Nodo +	static short NEXT[MAXBOXES];        // Next node  	short i, j, k, costominimo, fine, errore = 0;  	RMBoxLoc *cur; diff --git a/engines/tony/mpal/loadmpc.cpp b/engines/tony/mpal/loadmpc.cpp index 790d8d4903..e23197144b 100644 --- a/engines/tony/mpal/loadmpc.cpp +++ b/engines/tony/mpal/loadmpc.cpp @@ -26,9 +26,6 @@   * Copyright (c) 1997-2003 Nayma Software   */ -/* -#include "lzo1x.h" -*/  #include "mpal.h"  #include "mpaldll.h"  #include "memory.h" @@ -148,7 +145,7 @@ static const byte *parseDialog(const byte *lpBuf, LPMPALDIALOG lpmdDialog) {  	lpmdDialog->nObj = READ_LE_UINT32(lpBuf);  	lpBuf += 4; -	/* Periodi */ +	/* Periods */  	uint32 num = READ_LE_UINT16(lpBuf);  	lpBuf += 2; @@ -169,7 +166,7 @@ static const byte *parseDialog(const byte *lpBuf, LPMPALDIALOG lpmdDialog) {  	lpmdDialog->_periodNums[i] = 0;  	lpmdDialog->_periods[i] = NULL; -	/* Gruppi */ +	/* Groups */  	num = READ_LE_UINT16(lpBuf);  	lpBuf += 2;  	uint32 curCmd = 0; @@ -347,7 +344,7 @@ static const byte *parseItem(const byte *lpBuf, LPMPALITEM lpmiItem) {  	lpmiItem->nActions=*lpBuf;  	lpBuf++; -	/* Alloca le azioni */ +	/* Allocation action */  	if (lpmiItem->nActions > 0)  		lpmiItem->Action = (ItemAction *)globalAlloc(GMEM_FIXED | GMEM_ZEROINIT, sizeof(struct ItemAction) * (int)lpmiItem->nActions); @@ -544,7 +541,7 @@ bool ParseMpc(const byte *lpBuf) {  		GLOBALS._lpmvVars->dwVal = READ_LE_UINT32(lpBuf);  		lpBuf += 4; -		lpBuf++;             // Salta 'ext' +		lpBuf++;             // Skip 'ext'  		GLOBALS._lpmvVars++;  	} @@ -688,7 +685,7 @@ bool ParseMpc(const byte *lpBuf) {  		for (uint16 i = 0; i < GLOBALS._nScripts; i++) {  			if ((lpBuf = ParseScript(lpBuf + 7, &GLOBALS._lpmsScripts[i])) == NULL) -			return false; +				return false;  			// Sort the various moments of the script  			//qsort( diff --git a/engines/tony/mpal/mpal.cpp b/engines/tony/mpal/mpal.cpp index 862ea53824..b4b18749ef 100644 --- a/engines/tony/mpal/mpal.cpp +++ b/engines/tony/mpal/mpal.cpp @@ -920,8 +920,7 @@ void LocationPollThread(CORO_PARAM, const void *param) {  	/* Here's the main loop */  	while (1) { -		/* Cerchiamo tra tutte le idle actions quella a cui manca meno tempo per -			l'esecuzione */ +		// Searching for idle actions requiring time to execute  		_ctx->curTime = g_vm->getTime();  		_ctx->dwSleepTime = (uint32)-1L; diff --git a/engines/tony/mpal/mpal.h b/engines/tony/mpal/mpal.h index 20f2b0b170..4c8ca481b0 100644 --- a/engines/tony/mpal/mpal.h +++ b/engines/tony/mpal/mpal.h @@ -200,7 +200,7 @@ typedef LPITEMIRQFUNCTION* LPLPITEMIRQFUNCTION;  /**   * Gets the numerical value of a global variable   * - * @param lpszVarName		Nome della variabile (ASCIIZ) + * @param lpszVarName		Variable name (ASCIIZ)   * @returns		Global variable value   * @remarks		This query was implemented for debugging. The program,   *				if well designed, should not need to access variables from | 
