Changed all the files encoding to UTF-8
Named modules in licence informations
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
/*#include <Nazara/Core/ByteArray.hpp>
|
||||
/*
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/ByteArray.hpp>
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
#include <Nazara/Core/Debug.hpp>
|
||||
@@ -12,7 +17,7 @@ inline unsigned int nzPow2(unsigned int n)
|
||||
|
||||
return x;
|
||||
}
|
||||
// Cet algorithme est inspiré de la documentation de Qt
|
||||
// Cet algorithme est inspiré de la documentation de Qt
|
||||
inline unsigned int nzGetNewSize(unsigned int newSize)
|
||||
{
|
||||
if (newSize < 20)
|
||||
@@ -146,7 +151,7 @@ NzByteArray& NzByteArray::Insert(int pos, const nzUInt8* buffer, unsigned int bu
|
||||
|
||||
unsigned int start = std::min(static_cast<unsigned int>(pos), m_sharedArray->size);
|
||||
|
||||
// Si le buffer est déjà suffisamment grand
|
||||
// Si le buffer est déjà suffisamment grand
|
||||
if (m_sharedArray->capacity >= m_sharedArray->size + bufferLength)
|
||||
{
|
||||
EnsureOwnership();
|
||||
@@ -195,7 +200,7 @@ NzByteArray& NzByteArray::Insert(int pos, const NzByteArray& byteArray)
|
||||
|
||||
unsigned int start = std::min(static_cast<unsigned int>(pos), m_sharedArray->size);
|
||||
|
||||
// Si le buffer est déjà suffisamment grand
|
||||
// Si le buffer est déjà suffisamment grand
|
||||
if (m_sharedArray->capacity >= m_sharedArray->size + string.m_sharedArray->size)
|
||||
{
|
||||
EnsureOwnership();
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Clock.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Color.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/ConditionVariable.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 AUTHORS
|
||||
// This file is part of the "Nazara Engine".
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Core.hpp>
|
||||
@@ -11,11 +11,11 @@
|
||||
bool NzCore::Initialize()
|
||||
{
|
||||
if (s_moduleReferenceCouter++ != 0)
|
||||
return true; // Déjà initialisé
|
||||
return true; // Déjà initialisé
|
||||
|
||||
// Initialisation du module
|
||||
// Le noyau de Nazara n'a pour l'instant aucun besoin d'initialisation, mais dans le futur il est très probable que ce soit le cas.
|
||||
// Donc en prévision, tous les modules initialisent le noyau
|
||||
// Le noyau de Nazara n'a pour l'instant aucun besoin d'initialisation, mais dans le futur il est très probable que ce soit le cas.
|
||||
// Donc en prévision, tous les modules initialisent le noyau
|
||||
|
||||
NazaraNotice("Initialized: Core");
|
||||
|
||||
@@ -30,9 +30,9 @@ bool NzCore::IsInitialized()
|
||||
void NzCore::Uninitialize()
|
||||
{
|
||||
if (--s_moduleReferenceCouter != 0)
|
||||
return; // Encore utilisé
|
||||
return; // Encore utilisé
|
||||
|
||||
// Libération du module
|
||||
// Libération du module
|
||||
NazaraNotice("Uninitialized: Core");
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Config.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Debug/MemoryLeakTracker.hpp>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Directory.hpp>
|
||||
#include <Nazara/Core/Config.hpp>
|
||||
#include <Nazara/Core/Error.hpp>
|
||||
#include <Nazara/Core/File.hpp>
|
||||
//#include <Nazara/ThreadLocalVar.h>
|
||||
//#include <Nazara/Core/ThreadLocal.hpp>
|
||||
|
||||
#if defined(NAZARA_PLATFORM_WINDOWS)
|
||||
#include <Nazara/Core/Win32/DirectoryImpl.hpp>
|
||||
@@ -21,7 +21,7 @@
|
||||
namespace
|
||||
{
|
||||
NzString currentPath(NzDirectoryImpl::GetCurrent());
|
||||
//static ThreadLocalVar<NzString> currentPath(NzDirectoryImpl::GetCurrent());
|
||||
//static ThreadLocal<NzString> currentPath(NzDirectoryImpl::GetCurrent());
|
||||
}
|
||||
|
||||
NzDirectory::NzDirectory() :
|
||||
@@ -247,7 +247,7 @@ bool NzDirectory::Create(const NzString& dirPath, bool recursive)
|
||||
return false;
|
||||
|
||||
#ifdef NAZARA_PLATFORM_WINDOWS
|
||||
// Contrairement au disque (Ex: "C:"), le chemin réseau n'est pas considéré comme un dossier (Ex: "\\Laptop")
|
||||
// Contrairement au disque (Ex: "C:"), le chemin réseau n'est pas considéré comme un dossier (Ex: "\\Laptop")
|
||||
if (path.Match("\\\\*"))
|
||||
{
|
||||
foundPos = path.Find('\\', 2);
|
||||
@@ -304,7 +304,7 @@ bool NzDirectory::Remove(const NzString& dirPath, bool emptyDirectory)
|
||||
{
|
||||
NzDirectory dir(dirPath);
|
||||
if (!dir.Open())
|
||||
return NzDirectoryImpl::Remove(dirPath); // Si on n'arrive pas à ouvrir le dossier, on tente de le supprimer
|
||||
return NzDirectoryImpl::Remove(dirPath); // Si on n'arrive pas à ouvrir le dossier, on tente de le supprimer
|
||||
|
||||
while (dir.NextResult(true))
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/DynLib.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Error.hpp>
|
||||
@@ -52,7 +52,7 @@ NzString NzGetLastSystemError(unsigned int code)
|
||||
NzString error(NzString::Unicode(buffer));
|
||||
LocalFree(buffer);
|
||||
|
||||
error.Trim(); // Pour une raison inconnue, Windows met deux-trois retours à la ligne après le message
|
||||
error.Trim(); // Pour une raison inconnue, Windows met deux-trois retours à la ligne après le message
|
||||
|
||||
return error;
|
||||
#elif defined(NAZARA_PLATFORM_POSIX)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/File.hpp>
|
||||
@@ -207,7 +207,7 @@ NzString NzFile::GetLine(unsigned int lineSize)
|
||||
#endif
|
||||
|
||||
NzString line;
|
||||
if (lineSize == 0) // Taille maximale indéterminée
|
||||
if (lineSize == 0) // Taille maximale indéterminée
|
||||
{
|
||||
while (!m_impl->EndOfFile())
|
||||
{
|
||||
@@ -293,7 +293,7 @@ std::size_t NzFile::Read(void* buffer, std::size_t size)
|
||||
return m_impl->Read(buffer, size);
|
||||
else
|
||||
{
|
||||
// Si nous ne devons rien lire, nous avançons simplement
|
||||
// Si nous ne devons rien lire, nous avançons simplement
|
||||
nzUInt64 currentPos = m_impl->GetCursorPos();
|
||||
|
||||
m_impl->SetCursorPos(NzFile::AtCurrent, size);
|
||||
@@ -464,7 +464,7 @@ bool NzFile::Write(const NzString& string)
|
||||
#if defined(NAZARA_PLATFORM_WINDOWS)
|
||||
temp.Replace("\n", "\r\n");
|
||||
#elif defined(NAZARA_PLATFORM_LINUX)
|
||||
// Rien à faire
|
||||
// Rien à faire
|
||||
#elif defined(NAZARA_PLATFORM_MACOS)
|
||||
temp.Replace('\n', '\r');
|
||||
#else
|
||||
@@ -554,7 +554,7 @@ NzString NzFile::AbsolutePath(const NzString& filePath)
|
||||
base = "\\\\";
|
||||
start = 2;
|
||||
}
|
||||
else if (path.StartsWith('\\')) // Spécial : '\' fait référence au disque racine
|
||||
else if (path.StartsWith('\\')) // Spécial : '\' fait référence au disque racine
|
||||
{
|
||||
NzString drive = NzDirectory::GetCurrent().SubstrTo('\\');
|
||||
NzString end = path.Substr(1, -1);
|
||||
@@ -594,7 +594,7 @@ NzString NzFile::AbsolutePath(const NzString& filePath)
|
||||
sep.erase(sep.begin() + i--);
|
||||
else if (sep[i] == "..")
|
||||
{
|
||||
if (i > start) // Si nous ne sommes pas dans la partie protégée
|
||||
if (i > start) // Si nous ne sommes pas dans la partie protégée
|
||||
sep.erase(sep.begin() + i--);
|
||||
|
||||
sep.erase(sep.begin() + i--);
|
||||
@@ -605,7 +605,7 @@ NzString NzFile::AbsolutePath(const NzString& filePath)
|
||||
|
||||
pathLen += sep.size()-1;
|
||||
|
||||
///FIXME: Le destructeur de NzStringStream provoque un bug lors de la libération de son vector
|
||||
///FIXME: Le destructeur de NzStringStream provoque un bug lors de la libération de son vector
|
||||
|
||||
//NzStringStream stream(base);
|
||||
NzString stream;
|
||||
@@ -714,7 +714,7 @@ bool NzFile::IsAbsolute(const NzString& path)
|
||||
return true;
|
||||
else if (path.Match("\\\\*"))
|
||||
return true;
|
||||
else if (wpath.StartsWith('\\')) // Spécial : '\' fait référence au disque racine
|
||||
else if (wpath.StartsWith('\\')) // Spécial : '\' fait référence au disque racine
|
||||
return true;
|
||||
else
|
||||
return false;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Hash.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Hash/CRC32.hpp>
|
||||
@@ -70,7 +70,7 @@ NzHashCRC32::NzHashCRC32(nzUInt32 polynomial)
|
||||
m_state = new NzHashCRC32_state;
|
||||
|
||||
if (polynomial == 0x04c11db7)
|
||||
m_state->table = crc32_table; // Table précalculée (Bien plus rapide)
|
||||
m_state->table = crc32_table; // Table précalculée (Bien plus rapide)
|
||||
else
|
||||
{
|
||||
nzUInt32* table = new nzUInt32[256];
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Hash/Fletcher16.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
/*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
/*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
/*
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Hash/SHA1.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Hash/SHA224.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Hash/SHA256.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Hash/SHA384.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Hash/SHA512.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/HashDigest.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Hashable.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/InputStream.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/LockGuard.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Log.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/MemoryStream.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Mutex.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Resource.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Semaphore.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/String.hpp>
|
||||
@@ -19,13 +19,13 @@ inline unsigned int nzPow2(unsigned int n)
|
||||
{
|
||||
unsigned int x = 1;
|
||||
|
||||
// Tant que x est plus petit que n, on décale ses bits vers la gauche, ce qui revient à multiplier par deux
|
||||
// Tant que x est plus petit que n, on décale ses bits vers la gauche, ce qui revient à multiplier par deux
|
||||
while(x <= n)
|
||||
x <<= 1;
|
||||
|
||||
return x;
|
||||
}
|
||||
// Cet algorithme est inspiré de la documentation de Qt
|
||||
// Cet algorithme est inspiré de la documentation de Qt
|
||||
inline unsigned int nzGetNewSize(unsigned int newSize)
|
||||
{
|
||||
if (newSize < 20)
|
||||
@@ -1174,7 +1174,7 @@ unsigned int NzString::FindLast(const char* string, int start, nzUInt32 flags) c
|
||||
if (flags & HandleUtf8)
|
||||
{
|
||||
if (utf8::internal::is_trail(*ptr))
|
||||
utf8::unchecked::prior(ptr); // On s'assure d'avoir un pointeur vers le début d'un caractère
|
||||
utf8::unchecked::prior(ptr); // On s'assure d'avoir un pointeur vers le début d'un caractère
|
||||
|
||||
utf8::unchecked::iterator<const char*> it(ptr);
|
||||
const char* t = string;
|
||||
@@ -1282,9 +1282,9 @@ unsigned int NzString::FindLast(const NzString& string, int start, nzUInt32 flag
|
||||
{
|
||||
if (flags & HandleUtf8)
|
||||
{
|
||||
///Algo 1.FindLast#3 (Itérateur non-adapté)
|
||||
///Algo 1.FindLast#3 (Itérateur non-adapté)
|
||||
if (utf8::internal::is_trail(*ptr))
|
||||
utf8::unchecked::prior(ptr); // On s'assure d'avoir un pointeur vers le début d'un caractère
|
||||
utf8::unchecked::prior(ptr); // On s'assure d'avoir un pointeur vers le début d'un caractère
|
||||
|
||||
utf8::unchecked::iterator<const char*> it(ptr);
|
||||
const char* t = string.m_sharedString->string;
|
||||
@@ -1559,13 +1559,13 @@ unsigned int NzString::FindLastWord(const char* string, int start, nzUInt32 flag
|
||||
if (flags & HandleUtf8)
|
||||
{
|
||||
if (utf8::internal::is_trail(*ptr))
|
||||
utf8::unchecked::prior(ptr); // On s'assure d'avoir un pointeur vers le début d'un caractère
|
||||
utf8::unchecked::prior(ptr); // On s'assure d'avoir un pointeur vers le début d'un caractère
|
||||
|
||||
utf8::unchecked::iterator<const char*> it(ptr);
|
||||
|
||||
if (flags & CaseInsensitive)
|
||||
{
|
||||
const char* t = string; // utf8(::unchecked)::next affecte l'itérateur en argument
|
||||
const char* t = string; // utf8(::unchecked)::next affecte l'itérateur en argument
|
||||
nzUInt32 c = NzUnicode::GetLowercase(utf8::unchecked::next(t));
|
||||
do
|
||||
{
|
||||
@@ -1607,7 +1607,7 @@ unsigned int NzString::FindLastWord(const char* string, int start, nzUInt32 flag
|
||||
}
|
||||
else
|
||||
{
|
||||
const char* t = string; // utf8(::unchecked)::next affecte l'itérateur en argument
|
||||
const char* t = string; // utf8(::unchecked)::next affecte l'itérateur en argument
|
||||
nzUInt32 c = utf8::unchecked::next(t);
|
||||
do
|
||||
{
|
||||
@@ -1742,13 +1742,13 @@ unsigned int NzString::FindLastWord(const NzString& string, int start, nzUInt32
|
||||
if (flags & HandleUtf8)
|
||||
{
|
||||
if (utf8::internal::is_trail(*ptr))
|
||||
utf8::unchecked::prior(ptr); // On s'assure d'avoir un pointeur vers le début d'un caractère
|
||||
utf8::unchecked::prior(ptr); // On s'assure d'avoir un pointeur vers le début d'un caractère
|
||||
|
||||
utf8::unchecked::iterator<const char*> it(ptr);
|
||||
|
||||
if (flags & CaseInsensitive)
|
||||
{
|
||||
const char* t = string.m_sharedString->string; // utf8(::unchecked)::next affecte l'itérateur en argument
|
||||
const char* t = string.m_sharedString->string; // utf8(::unchecked)::next affecte l'itérateur en argument
|
||||
nzUInt32 c = NzUnicode::GetLowercase(utf8::unchecked::next(t));
|
||||
do
|
||||
{
|
||||
@@ -1790,7 +1790,7 @@ unsigned int NzString::FindLastWord(const NzString& string, int start, nzUInt32
|
||||
}
|
||||
else
|
||||
{
|
||||
const char* t = string.m_sharedString->string; // utf8(::unchecked)::next affecte l'itérateur en argument
|
||||
const char* t = string.m_sharedString->string; // utf8(::unchecked)::next affecte l'itérateur en argument
|
||||
nzUInt32 c = utf8::unchecked::next(t);
|
||||
do
|
||||
{
|
||||
@@ -1917,13 +1917,13 @@ unsigned int NzString::FindWord(const char* string, int start, nzUInt32 flags) c
|
||||
if (flags & HandleUtf8)
|
||||
{
|
||||
if (utf8::internal::is_trail(*ptr))
|
||||
utf8::unchecked::prior(ptr); // On s'assure d'avoir un pointeur vers le début d'un caractère
|
||||
utf8::unchecked::prior(ptr); // On s'assure d'avoir un pointeur vers le début d'un caractère
|
||||
|
||||
utf8::unchecked::iterator<const char*> it(ptr);
|
||||
|
||||
if (flags & CaseInsensitive)
|
||||
{
|
||||
const char* t = string; // utf8(::unchecked)::next affecte l'itérateur en argument
|
||||
const char* t = string; // utf8(::unchecked)::next affecte l'itérateur en argument
|
||||
nzUInt32 c = NzUnicode::GetLowercase(utf8::unchecked::next(t));
|
||||
|
||||
do
|
||||
@@ -1963,7 +1963,7 @@ unsigned int NzString::FindWord(const char* string, int start, nzUInt32 flags) c
|
||||
}
|
||||
else
|
||||
{
|
||||
const char* t = string; // utf8(::unchecked)::next affecte l'itérateur en argument
|
||||
const char* t = string; // utf8(::unchecked)::next affecte l'itérateur en argument
|
||||
nzUInt32 c = NzUnicode::GetLowercase(utf8::unchecked::next(t));
|
||||
|
||||
do
|
||||
@@ -2087,15 +2087,15 @@ unsigned int NzString::FindWord(const NzString& string, int start, nzUInt32 flag
|
||||
char* ptr = m_sharedString->string;
|
||||
if (flags & HandleUtf8)
|
||||
{
|
||||
///Algo 3.FindWord#3 (Itérateur trop lent pour #2)
|
||||
///Algo 3.FindWord#3 (Itérateur trop lent pour #2)
|
||||
if (utf8::internal::is_trail(*ptr))
|
||||
utf8::unchecked::prior(ptr); // On s'assure d'avoir un pointeur vers le début d'un caractère
|
||||
utf8::unchecked::prior(ptr); // On s'assure d'avoir un pointeur vers le début d'un caractère
|
||||
|
||||
utf8::unchecked::iterator<const char*> it(ptr);
|
||||
|
||||
if (flags & CaseInsensitive)
|
||||
{
|
||||
const char* t = string.m_sharedString->string; // utf8(::unchecked)::next affecte l'itérateur en argument
|
||||
const char* t = string.m_sharedString->string; // utf8(::unchecked)::next affecte l'itérateur en argument
|
||||
nzUInt32 c = NzUnicode::GetLowercase(utf8::unchecked::next(t));
|
||||
|
||||
do
|
||||
@@ -2135,7 +2135,7 @@ unsigned int NzString::FindWord(const NzString& string, int start, nzUInt32 flag
|
||||
}
|
||||
else
|
||||
{
|
||||
const char* t = string.m_sharedString->string; // utf8(::unchecked)::next affecte l'itérateur en argument
|
||||
const char* t = string.m_sharedString->string; // utf8(::unchecked)::next affecte l'itérateur en argument
|
||||
nzUInt32 c = NzUnicode::GetLowercase(utf8::unchecked::next(t));
|
||||
|
||||
do
|
||||
@@ -2213,7 +2213,7 @@ unsigned int NzString::FindWord(const NzString& string, int start, nzUInt32 flag
|
||||
{
|
||||
while ((ptr = std::strstr(ptr, string.m_sharedString->string)))
|
||||
{
|
||||
// Si le mot est bien isolé
|
||||
// Si le mot est bien isolé
|
||||
if ((ptr == m_sharedString->string || std::isspace(*(ptr-1))) && (*(ptr+m_sharedString->size) == '\0' || std::isspace(*(ptr+m_sharedString->size))))
|
||||
return ptr - m_sharedString->string;
|
||||
|
||||
@@ -2396,11 +2396,11 @@ NzString NzString::GetWord(unsigned int index, nzUInt32 flags) const
|
||||
if (m_sharedString->size == 0)
|
||||
return NzString();
|
||||
|
||||
NzString temp = Simplified(flags); // Évitons les mauvaises surprises
|
||||
NzString temp = Simplified(flags); // Évitons les mauvaises surprises
|
||||
if (temp.IsEmpty())
|
||||
return NzString();
|
||||
|
||||
unsigned int foundPos = temp.Find(' '); // Simplified nous assure que nous n'avons plus que des espaces comme séparation
|
||||
unsigned int foundPos = temp.Find(' '); // Simplified nous assure que nous n'avons plus que des espaces comme séparation
|
||||
unsigned int lastPos = 0;
|
||||
for (; index > 0; --index)
|
||||
{
|
||||
@@ -2475,7 +2475,7 @@ NzString& NzString::Insert(int pos, char character)
|
||||
|
||||
unsigned int start = std::min(static_cast<unsigned int>(pos), m_sharedString->size);
|
||||
|
||||
// Si le buffer est déjà suffisamment grand
|
||||
// Si le buffer est déjà suffisamment grand
|
||||
if (m_sharedString->capacity >= m_sharedString->size+1)
|
||||
{
|
||||
EnsureOwnership();
|
||||
@@ -2520,7 +2520,7 @@ NzString& NzString::Insert(int pos, const char* string)
|
||||
|
||||
unsigned int start = std::min(static_cast<unsigned int>(pos), m_sharedString->size);
|
||||
|
||||
// Si le buffer est déjà suffisamment grand
|
||||
// Si le buffer est déjà suffisamment grand
|
||||
unsigned int len = std::strlen(string);
|
||||
if (m_sharedString->capacity >= m_sharedString->size+len)
|
||||
{
|
||||
@@ -2571,7 +2571,7 @@ NzString& NzString::Insert(int pos, const NzString& string)
|
||||
|
||||
unsigned int start = std::min(static_cast<unsigned int>(pos), m_sharedString->size);
|
||||
|
||||
// Si le buffer est déjà suffisamment grand
|
||||
// Si le buffer est déjà suffisamment grand
|
||||
if (m_sharedString->capacity >= m_sharedString->size + string.m_sharedString->size)
|
||||
{
|
||||
EnsureOwnership();
|
||||
@@ -2828,7 +2828,7 @@ unsigned int NzString::Replace(const char* oldString, const char* replaceString,
|
||||
{
|
||||
bool found = false;
|
||||
|
||||
// Si aucun changement de taille n'est nécessaire, nous pouvons alors utiliser un algorithme bien plus rapide
|
||||
// Si aucun changement de taille n'est nécessaire, nous pouvons alors utiliser un algorithme bien plus rapide
|
||||
while ((pos = Find(oldString, pos, flags)) != npos)
|
||||
{
|
||||
if (!found)
|
||||
@@ -2869,7 +2869,7 @@ unsigned int NzString::Replace(const char* oldString, const char* replaceString,
|
||||
count++;
|
||||
}
|
||||
|
||||
std::strcpy(ptr, p); // Ajoute le caractère de fin par la même occasion
|
||||
std::strcpy(ptr, p); // Ajoute le caractère de fin par la même occasion
|
||||
|
||||
ReleaseString();
|
||||
m_sharedString = new SharedString;
|
||||
@@ -2898,7 +2898,7 @@ unsigned int NzString::Replace(const NzString& oldString, const NzString& replac
|
||||
{
|
||||
bool found = false;
|
||||
|
||||
// Si aucun changement de taille n'est nécessaire, nous pouvons alors utiliser un algorithme bien plus rapide
|
||||
// Si aucun changement de taille n'est nécessaire, nous pouvons alors utiliser un algorithme bien plus rapide
|
||||
while ((pos = Find(oldString, pos, flags)) != npos)
|
||||
{
|
||||
if (!found)
|
||||
@@ -2939,7 +2939,7 @@ unsigned int NzString::Replace(const NzString& oldString, const NzString& replac
|
||||
count++;
|
||||
}
|
||||
|
||||
std::strcpy(ptr, p); // Ajoute le caractère de fin par la même occasion
|
||||
std::strcpy(ptr, p); // Ajoute le caractère de fin par la même occasion
|
||||
|
||||
ReleaseString();
|
||||
m_sharedString = new SharedString;
|
||||
@@ -2953,7 +2953,7 @@ unsigned int NzString::Replace(const NzString& oldString, const NzString& replac
|
||||
|
||||
unsigned int NzString::ReplaceAny(const char* oldCharacters, char replaceCharacter, int start, nzUInt32 flags)
|
||||
{
|
||||
///FIXME: Ne gère pas l'UTF-8
|
||||
///FIXME: Ne gère pas l'UTF-8
|
||||
if (!oldCharacters || !oldCharacters[0])
|
||||
return 0;
|
||||
|
||||
@@ -3040,7 +3040,7 @@ unsigned int NzString::ReplaceAny(const char* oldCharacters, char replaceCharact
|
||||
|
||||
unsigned int count = 0;
|
||||
|
||||
if (rSize == 1) // On utilise un algorithme optimisé
|
||||
if (rSize == 1) // On utilise un algorithme optimisé
|
||||
{
|
||||
EnsureOwnership();
|
||||
|
||||
@@ -3070,7 +3070,7 @@ unsigned int NzString::ReplaceAny(const char* oldCharacters, char replaceCharact
|
||||
unsigned int j = 0;
|
||||
for (unsigned int i = 0; i < m_sharedString->size; ++i)
|
||||
{
|
||||
if (i < pos) // Avant la position où on est censé commencer à remplacer, on ne fait que recopier
|
||||
if (i < pos) // Avant la position où on est censé commencer à remplacer, on ne fait que recopier
|
||||
newString[j++] = m_sharedString->string[i];
|
||||
else
|
||||
{
|
||||
@@ -3084,7 +3084,7 @@ unsigned int NzString::ReplaceAny(const char* oldCharacters, char replaceCharact
|
||||
|
||||
++count;
|
||||
found = true;
|
||||
break; // Simple façon d'éviter la ligne après la boucle
|
||||
break; // Simple façon d'éviter la ligne après la boucle
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3119,7 +3119,7 @@ unsigned int NzString::ReplaceAny(const char* oldCharacters, char replaceCharact
|
||||
|
||||
unsigned int count = 0;
|
||||
|
||||
if (replaceString.m_sharedString->size == 1) // On utilise un algorithme optimisé
|
||||
if (replaceString.m_sharedString->size == 1) // On utilise un algorithme optimisé
|
||||
{
|
||||
EnsureOwnership();
|
||||
|
||||
@@ -3149,7 +3149,7 @@ unsigned int NzString::ReplaceAny(const char* oldCharacters, char replaceCharact
|
||||
unsigned int j = 0;
|
||||
for (unsigned int i = 0; i < m_sharedString->size; ++i)
|
||||
{
|
||||
if (i < pos) // Avant la position où on est censé commencer à remplacer, on ne fait que recopier
|
||||
if (i < pos) // Avant la position où on est censé commencer à remplacer, on ne fait que recopier
|
||||
newString[j++] = m_sharedString->string[i];
|
||||
else
|
||||
{
|
||||
@@ -3163,7 +3163,7 @@ unsigned int NzString::ReplaceAny(const char* oldCharacters, char replaceCharact
|
||||
|
||||
++count;
|
||||
found = true;
|
||||
break; // Simple façon d'éviter la ligne après la boucle
|
||||
break; // Simple façon d'éviter la ligne après la boucle
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3217,7 +3217,7 @@ NzString& NzString::Resize(int size, char character)
|
||||
{
|
||||
EnsureOwnership();
|
||||
|
||||
// Nous avons déjà la place requise, contentons-nous de remplir le buffer
|
||||
// Nous avons déjà la place requise, contentons-nous de remplir le buffer
|
||||
if (character != '\0' && newSize > m_sharedString->size)
|
||||
{
|
||||
char* ptr = &m_sharedString->string[m_sharedString->size];
|
||||
@@ -3229,7 +3229,7 @@ NzString& NzString::Resize(int size, char character)
|
||||
m_sharedString->size = newSize;
|
||||
m_sharedString->string[newSize] = '\0';
|
||||
}
|
||||
else // On veut forcément agrandir la chaine
|
||||
else // On veut forcément agrandir la chaine
|
||||
{
|
||||
char* newString = new char[newSize+1];
|
||||
if (m_sharedString->size != 0)
|
||||
@@ -3832,7 +3832,7 @@ bool NzString::ToBool(bool* value, nzUInt32 flags) const
|
||||
else
|
||||
{
|
||||
if (flags & CaseInsensitive)
|
||||
word = word.ToLower(); // Les mots identifiés sont en ASCII, inutile de passer le flag unicode
|
||||
word = word.ToLower(); // Les mots identifiés sont en ASCII, inutile de passer le flag unicode
|
||||
|
||||
if (word == "true")
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/StringStream.hpp>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
// Inspiré du code de la SFML par Laurent Gomila
|
||||
// Inspiré du code de la SFML par Laurent Gomila
|
||||
|
||||
#include <Nazara/Core/Thread.hpp>
|
||||
#include <Nazara/Core/Config.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Unicode.hpp>
|
||||
@@ -9,16 +9,16 @@
|
||||
#if NAZARA_CORE_INCLUDE_UNICODEDATA
|
||||
struct Character
|
||||
{
|
||||
nzUInt16 category; // Le type du caractère
|
||||
nzUInt8 direction; // Le sens de lecure du caractère
|
||||
nzUInt32 lowerCase; // Le caractère correspondant en minuscule
|
||||
nzUInt32 titleCase; // Le caractère correspondant en titre
|
||||
nzUInt32 upperCase; // Le caractère correspondant en majuscule
|
||||
nzUInt16 category; // Le type du caractère
|
||||
nzUInt8 direction; // Le sens de lecure du caractère
|
||||
nzUInt32 lowerCase; // Le caractère correspondant en minuscule
|
||||
nzUInt32 titleCase; // Le caractère correspondant en titre
|
||||
nzUInt32 upperCase; // Le caractère correspondant en majuscule
|
||||
};
|
||||
|
||||
#include <Nazara/Core/UnicodeData.hpp>
|
||||
|
||||
#else // Implémentation bidon
|
||||
#else // Implémentation bidon
|
||||
|
||||
NzUnicode::Category NzUnicode::GetCategory(char32_t character)
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Win32/ClockImpl.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
// Source: http://www.cs.wustl.edu/~schmidt/win32-cv-1.html
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
// http://www.cs.wustl.edu/~schmidt/win32-cv-1.html
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Win32/DirectoryImpl.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Win32/DynLibImpl.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Win32/FileImpl.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Win32/MutexImpl.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Win32/SemaphoreImpl.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
// Inspiré du code de la SFML par Laurent Gomila
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
// Inspiré du code de la SFML par Laurent Gomila
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#include <Nazara/Core/Win32/Time.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine".
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#pragma once
|
||||
|
||||
Reference in New Issue
Block a user