mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-12-24 01:38:45 +00:00
Changed: #878 Fix typos in comments/code
This commit is contained in:
parent
2f026feb7f
commit
e99faac831
10 changed files with 11 additions and 31 deletions
|
@ -1245,7 +1245,7 @@ void loadFormNoPackedSheet (const std::vector<std::string> &sheetFilters, std::m
|
|||
NLMISC::CSheetId::buildIdVector(sheetIds, filenames, sheetFilters[i]);
|
||||
|
||||
|
||||
// if there s no file, nothing to do
|
||||
// if there's no file, nothing to do
|
||||
if (sheetIds.empty())
|
||||
return;
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ public:
|
|||
|
||||
void display ();
|
||||
|
||||
/// returns true if there s no more . in the path
|
||||
/// returns true if there's no more . in the path
|
||||
bool isFinal ();
|
||||
|
||||
bool empty ()
|
||||
|
|
|
@ -206,6 +206,6 @@ public:
|
|||
|
||||
/*
|
||||
* Declare a service with the class CFrontEndService, the names "FS" (short) and "frontend_service" (long).
|
||||
* The port is dynamically find and there s no callback array.
|
||||
* The port is dynamically find and there's no callback array.
|
||||
*/
|
||||
NLNET_SERVICE_MAIN (CFrontEndService, "FS", "frontend_service", 0, EmptyCallbackArray, NL_LS_CFG, "")
|
||||
|
|
|
@ -185,7 +185,7 @@ void CVertexArrayRangeNVidia::enable()
|
|||
_Driver->_NVCurrentVARSize= _VertexArraySize;
|
||||
_Driver->_NVCurrentVARPtr= _VertexArrayPtr;
|
||||
}
|
||||
// enable VAR. NB: flush is unesufull, so don't flush if extension is OK
|
||||
// enable VAR. NB: flush is useless, so don't flush if extension is OK
|
||||
glEnableClientState(_Driver->_Extensions.NVStateVARWithoutFlush);
|
||||
_Driver->_CurrentVertexArrayRange= this;
|
||||
}
|
||||
|
@ -200,7 +200,7 @@ void CVertexArrayRangeNVidia::disable()
|
|||
if(_Driver->_CurrentVertexArrayRange!=NULL)
|
||||
{
|
||||
// just disable the state, don't change VAR ptr setup.
|
||||
// NB: flush is unesufull, so don't flush if extension is OK
|
||||
// NB: flush is useless, so don't flush if extension is OK
|
||||
glDisableClientState(_Driver->_Extensions.NVStateVARWithoutFlush);
|
||||
_Driver->_CurrentVertexArrayRange= NULL;
|
||||
}
|
||||
|
|
|
@ -356,7 +356,7 @@ uint32 humanReadableToBytes (const string &str)
|
|||
if (str.size()<3)
|
||||
return res;
|
||||
|
||||
// there s no break and it's **normal**
|
||||
// there's no break and it's **normal**
|
||||
switch (str[str.size()-2])
|
||||
{
|
||||
case 'G': res *= 1024;
|
||||
|
|
|
@ -130,7 +130,7 @@ void uNetUnregistrationBroadcast(const string &name, TServiceId sid, const vecto
|
|||
}
|
||||
|
||||
//
|
||||
// It's the first connection that added the _NamedCnx so if there s no connection, no need to
|
||||
// It's the first connection that added the _NamedCnx so if there's no connection, no need to
|
||||
// remove entry in _NamedCnx
|
||||
//
|
||||
|
||||
|
|
|
@ -327,7 +327,7 @@ void scanFiles(const CSString &filespec)
|
|||
|
||||
buildFileVector(filenames, filespec);
|
||||
|
||||
// if there s no file, nothing to do
|
||||
// if there's no file, nothing to do
|
||||
if (filenames.empty())
|
||||
return;
|
||||
|
||||
|
|
|
@ -14,17 +14,6 @@
|
|||
// You should have received a copy of the GNU Affero General Public License
|
||||
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#ifndef RY_BNP_PATCH_H
|
||||
#define RY_BNP_PATCH_H
|
||||
|
||||
/** bnp_patch.h
|
||||
|
||||
$id$
|
||||
|
||||
The set of classes used by patch systems (both generation and application)
|
||||
|
||||
*/
|
||||
|
||||
#ifndef BNP_PATCH_H
|
||||
#define BNP_PATCH_H
|
||||
|
||||
|
@ -469,8 +458,4 @@ private:
|
|||
//
|
||||
//#endif
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -1066,9 +1066,9 @@ void CMirroredDataSet::serialOutMirrorInfo( NLNET::CMessage& msgout )
|
|||
inline bool CMirroredDataSet::entityMatchesFilter ( const NLMISC::CEntityId& entityId, TDataSetIndex entityIndex, uint8 onlyEntityType, uint8 onlyCreatorId, uint8 onlyDynamicId, bool hideUndeclared ) const
|
||||
{
|
||||
return (((onlyEntityType == 0xFF) || (entityId.getType() == onlyEntityType)) &&
|
||||
((onlyCreatorId == 0xFF) || (entityId.getCreatorId() == onlyCreatorId)) &&
|
||||
((onlyDynamicId == 0xFF) || (entityId.getDynamicId() == onlyDynamicId)) &&
|
||||
((!hideUndeclared) || _PropertyContainer.EntityIdArray.isOnline( entityIndex )));
|
||||
((onlyCreatorId == 0xFF) || (entityId.getCreatorId() == onlyCreatorId)) &&
|
||||
((onlyDynamicId == 0xFF) || (entityId.getDynamicId() == onlyDynamicId)) &&
|
||||
((!hideUndeclared) || _PropertyContainer.EntityIdArray.isOnline( entityIndex )));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -16,11 +16,6 @@
|
|||
|
||||
#ifndef SMALL_STRING_MANAGER_H
|
||||
#define SMALL_STRING_MANAGER_H
|
||||
/** \file small_string_manager.h
|
||||
*
|
||||
* $id$
|
||||
*
|
||||
*/
|
||||
|
||||
#include "nel/misc/types_nl.h"
|
||||
|
||||
|
|
Loading…
Reference in a new issue