Merge remote-tracking branch 'refs/remotes/origin/master' into vulkan

Former-commit-id: 9e6d7ac5c8457d7128e00e6eeae0344ca02d6727
This commit is contained in:
Lynix 2016-04-30 11:45:19 +02:00
commit f4c2254ea2
8 changed files with 238 additions and 252 deletions

View File

@ -85,7 +85,7 @@ function NazaraBuild:Execute()
location(_ACTION .. "/extlibs") location(_ACTION .. "/extlibs")
files(libTable.Files) files(libTable.Files)
excludes(libTable.FilesExclusion) excludes(libTable.FilesExcluded)
defines(libTable.Defines) defines(libTable.Defines)
flags(libTable.Flags) flags(libTable.Flags)
@ -226,7 +226,7 @@ function NazaraBuild:Execute()
configuration({}) configuration({})
files(moduleTable.Files) files(moduleTable.Files)
excludes(moduleTable.FilesExclusion) excludes(moduleTable.FilesExcluded)
defines(moduleTable.Defines) defines(moduleTable.Defines)
flags(moduleTable.Flags) flags(moduleTable.Flags)
@ -354,7 +354,7 @@ function NazaraBuild:Execute()
configuration({}) configuration({})
files(toolTable.Files) files(toolTable.Files)
excludes(toolTable.FilesExclusion) excludes(toolTable.FilesExcluded)
defines(toolTable.Defines) defines(toolTable.Defines)
flags(toolTable.Flags) flags(toolTable.Flags)
@ -389,7 +389,7 @@ function NazaraBuild:Execute()
targetdir("../examples/bin") targetdir("../examples/bin")
files(exampleTable.Files) files(exampleTable.Files)
excludes(exampleTable.FilesExclusion) excludes(exampleTable.FilesExcluded)
defines(exampleTable.Defines) defines(exampleTable.Defines)
flags(exampleTable.Flags) flags(exampleTable.Flags)
@ -709,7 +709,7 @@ function NazaraBuild:RegisterModule(moduleTable)
table.insert(moduleTable.Files, "../src/Nazara/" .. moduleTable.Name .. "/**.cpp") table.insert(moduleTable.Files, "../src/Nazara/" .. moduleTable.Name .. "/**.cpp")
if (_OPTIONS["united"] and lowerCaseName ~= "core") then if (_OPTIONS["united"] and lowerCaseName ~= "core") then
table.insert(moduleTable.FilesExclusion, "../src/Nazara/" .. moduleTable.Name .. "/Debug/NewOverload.cpp") table.insert(moduleTable.FilesExcluded, "../src/Nazara/" .. moduleTable.Name .. "/Debug/NewOverload.cpp")
end end
moduleTable.Type = "Module" moduleTable.Type = "Module"
@ -804,60 +804,36 @@ function NazaraBuild:Process(infoTable)
end end
infoTable.Libraries = libraries infoTable.Libraries = libraries
for platform, defineTable in pairs(infoTable.OsDefines) do for k,v in pairs(infoTable) do
platform = string.lower(platform) local target = k:match("Os(%w+)")
if (platform == "posix") then if (target) then
local osname = os.get() local targetTable = infoTable[target]
if (PosixOSes[osname]) then if (targetTable) then
platform = osname local excludeTargetTable = infoTable[target .. "Excluded"]
end for platform, defineTable in pairs(v) do
end platform = string.lower(platform)
if (platform == "posix") then
local osname = os.get()
if (PosixOSes[osname]) then
platform = osname
end
end
if (os.is(platform)) then if (os.is(platform)) then
for k,v in ipairs(defineTable) do for k,v in ipairs(defineTable) do
table.insert(infoTable.Defines, v) table.insert(targetTable, v)
end
elseif (excludeTargetTable) then
for k,v in ipairs(defineTable) do
table.insert(excludeTargetTable, v)
end
end
end
infoTable[k] = nil
end end
end end
end end
infoTable.OsDefines = nil
for platform, fileTable in pairs(infoTable.OsFiles) do
platform = string.lower(platform)
if (platform == "posix") then
local osname = os.get()
if (PosixOSes[osname]) then
platform = osname
end
end
if (os.is(platform)) then
for k,v in ipairs(fileTable) do
table.insert(infoTable.Files, v)
end
else
for k,v in ipairs(fileTable) do
table.insert(infoTable.FilesExclusion, v)
end
end
end
infoTable.OsFiles = nil
for platform, libraryTable in pairs(infoTable.OsLibraries) do
platform = string.lower(platform)
if (platform == "posix") then
local osname = os.get()
if (PosixOSes[osname]) then
platform = osname
end
end
if (os.is(platform)) then
for k,v in ipairs(libraryTable) do
table.insert(infoTable.Libraries, v)
end
end
end
infoTable.OsLibraries = nil
end end
function NazaraBuild:SetupInfoTable(infoTable) function NazaraBuild:SetupInfoTable(infoTable)
@ -866,13 +842,10 @@ function NazaraBuild:SetupInfoTable(infoTable)
infoTable.ConfigurationLibraries.ReleaseStatic = {} infoTable.ConfigurationLibraries.ReleaseStatic = {}
infoTable.ConfigurationLibraries.DebugDynamic = {} infoTable.ConfigurationLibraries.DebugDynamic = {}
infoTable.ConfigurationLibraries.ReleaseDynamic = {} infoTable.ConfigurationLibraries.ReleaseDynamic = {}
infoTable.Defines = {}
infoTable.Files = {} local infos = {"Defines", "Files", "FilesExcluded", "Flags", "Includes", "Libraries"}
infoTable.FilesExclusion = {} for k,v in ipairs(infos) do
infoTable.Flags = {} infoTable[v] = {}
infoTable.Includes = {} infoTable["Os" .. v] = {}
infoTable.Libraries = {} end
infoTable.OsDefines = {}
infoTable.OsFiles = {}
infoTable.OsLibraries = {}
end end

View File

@ -1,75 +1,71 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8">
<link rel="stylesheet" href="style.css" /> <link rel="stylesheet" type="text/css" href="style.css">
<title>Avancement de Nazara</title> <title>Avancement de Nazara</title>
</head> </head>
<body> <body>
<p class="centre"> <div id="englob">
<img src="https://github.com/DigitalPulseSoftware/NazaraEngine/raw/master/Logo.png" alt="Nazara Engine" /> <img style="display: block;margin-left: auto;margin-right: auto;" src="https://github.com/DigitalPulseSoftware/NazaraEngine/raw/master/Logo.png" alt="Nazara Engine" />
<br>
<br> <hr>
Retrouvez le moteur sur GitHub !
<br> Retrouvez le moteur sur GitHub !<br>
<a href="https://github.com/DigitalPulseSoftware/NazaraEngine">Dépôt Github</a><br><br> <a href="https://github.com/DigitalPulseSoftware/NazaraEngine">Dépôt GitHub</a><br><br>
Ou venez vous renseigner sur les topics dédiés à Nazara présents sur plusieurs site webs: Venez vous renseigner sur les topics dédiés à Nazara présents sur plusieurs sites web :<br>
<br> <a href="https://openclassrooms.com/forum/sujet/moteur-de-jeu-nazara-engine-69732">OpenClassrooms</a>, <a href="http://pdp.microjoe.org/forums/sujet/354/projet-nazara-engine-moteur-de-jeu">Progdupeupl</a> ou <a href="https://zestedesavoir.com/forums/sujet/1039/nazara-engine/">ZesteDeSavoir</a>
<a href="http://openclassrooms.com/forum/sujet/moteur-de-jeu-nazara-engine-69732">OpenClassrooms</a> ou <a href="http://pdp.microjoe.org/forums/sujet/354/projet-nazara-engine-moteur-de-jeu">Progdupeupl</a> ou <a href="http://zestedesavoir.com/forums/sujet/1039/nazara-engine">ZesteDeSavoir</a> <br><br>
<br> ... ou pourquoi ne pas venir faire un tour sur <a href="http://forum.digitalpulsesoftware.net">le forum dédié au moteur</a> ?
<br>
... ou pourquoi ne pas venir faire un tour sur <a href="http://forum.digitalpulsesoftware.com">le forum dédié au moteur</a> ? <hr>
</p>
<div class="centre"> <h1>Fonctionnalités de Nazara</h1>
<h1>Fonctionnalités de Nazara</h1>
<br> <div>Dernière mise à jour : <span class="lastupdate">
Dernière mise à jour: %DATE%
<span class="lastupdate"> </span></div>
%DATE%
</span> <h2>Important:</h2>
<br> <p>Afin de faciliter la mise à jour, la page que vous voyez ici a été générée automatiquement par un <i>script Lua</i>, ce qui m'oblige néanmoins à encoder les fonctionnalités de chaque module dans un premier temps.
<br> C'est un travail assez long (pour vous donner une idée, les données du noyau représentent un fichier de 200 lignes), et il n'est pas encore complet, c'est pourquoi des modules manquent sur cette page.<br>
<h2>Important:</h2><br> Gardez donc à l'esprit que le moteur possède plus de fonctionnalités que ce qui est décrit actuellement sur cette page.</p>
Afin de faciliter la mise à jour, la page que vous voyez ici a été généré automatiquement par un script Lua, ce qui m'oblige néanmoins à encoder les fonctionnalités de chaque module dans un premier temps.<br>
C'est un travail assez long (pour vous donner une idée, les données du noyau représentent un fichier de 200 lignes), et il n'est pas encore complet, c'est pourquoi des modules manquent sur cette page.<br> <p>Oh et bien sûr je ne suis pas concepteur de site web, c'est pourquoi cette page est moche (j'ai <u>essayé</u> de minimiser les dégâts).<br>
Gardez donc à l'esprit que le moteur possède plus de fonctionnalités que ce qui est décrit actuellement sur cette page.<br> Si vous sentez en vous l'irrésistible envie d'améliorer cette page, sachez que votre aide serait grandement appréciée (vous pouvez me contacter via le lien de votre choix plus haut).</p>
<br>
Oh et bien sûr je ne suis pas concepteur de site web, c'est pourquoi cette page est moche (j'ai <u>essayé</u> de minimiser les dégats).<br> <p>Le pourcentage indiqué est calculé automatiquement en fonction des <u>fonctionnalités</u>, cela signifie qu'une fonctionnalité présente sera comptée à 100% à partir du moment où son implémentation de base est considérée fonctionnelle, <u>cela n'est donc pas une assurance qu'aucun bug n'existe concernant cette fonctionnalité</u> (cependant cela signifie que la fonctionnalité est utilisable).<br>
Si vous sentez en vous l'irrésistible envie d'améliorer cette page, sachez que votre aide sera grandement appréciée (vous pouvez me contacter via le lien de votre choix plus haut). Et bien entendu, un module ou une fonctionnalité ayant atteint les 100% peut toujours évoluer par la suite.</p>
<br>
<br> <hr>
Le pourcentage indiqué est calculé automatiquement en fonction des <u>fonctionnalités</u>,<br>cela signifie qu'une fonctionnalité présente sera comptée à 100% à partir du moment où son implémentation de base est considérée fonctionnelle,<br><u>cela n'est donc pas une assurance qu'aucun bug n'existe concernant cette fonctionnalité</u> (cependant cela signifie que la fonctionnalité est utilisable).<br>
Et bien entendu, un module ou une fonctionnalité ayant atteint les 100% peut toujours évoluer par la suite. <table>
<br> <caption>Sommaire</caption>
<br> <thead>
<table> <tr>
<caption>Sommaire</caption> <th>Module</th>
<thead> <th>Avancement</th>
<tr> </tr>
<th>Module</th> </thead>
<th>Avancement</th> <tbody>
</tr> %MODULELIST%
</thead> </tbody>
<tbody> </table>
%MODULELIST%
</tbody> %MODULEDESCRIPTION%
</table> <hr>
</div> <table>
%MODULEDESCRIPTION% <caption>Sommaire</caption>
<hr /> <thead>
<div class="centre"> <tr>
<table> <th>Module</th>
<caption>Sommaire</caption> <th>Pourcentage</th>
<thead> </tr>
<tr> </thead>
<th>Module</th> <tbody>
<th>Pourcentage</th> %MODULELIST%
</tr> </tbody>
</thead> </table>
<tbody> </div>
%MODULELIST% </body>
</tbody>
</table>
</div>
</body>
</html> </html>

View File

@ -1,108 +1,121 @@
/* Je ne suis pas développeur HTML/CSS, je dois y toucher une fois l'an, désolé pour les quelques atrocités que vous pourrez trouver ici */ /* Je ne suis pas développeur HTML/CSS, je dois y toucher une fois l'an, désolé pour les quelques atrocités que vous pourrez trouver ici */
body body
{ {
background-color: black; font-family: sans-serif;
color: white; text-align: center;
} margin: 0;
background-color: #f1f1f1;
a }
{
color: #007ACC; #englob {
} display: block;
margin-left: auto;
a:hover margin-right: auto;
{ background-color: white;
color: lightblue; width: 50%;
} min-width: 765px;
padding: 0 20px;
h1 }
{
display: inline; hr {
} height: 0;
border: 0;
h2 border-top: 1px solid #eee;
{ }
display: inline;
text-decoration: underline; a
} {
color: #007ACC;
h4 }
{
text-decoration: underline; a:hover
} {
color: lightblue;
ol }
{
list-style-type: none; h1
} {
display: inline;
table }
{
border-collapse: collapse; h2
text-align: center; {
display: inline-block; display: inline;
border: white groove; text-decoration: underline;
border-radius: 10px; }
box-shadow: 0px 0px 10px lightblue;
} h4
{
th text-decoration: underline;
{ }
text-shadow: 2px 2px 4px black;
} p {
text-align: justify;
tr }
{
border: 1px solid white; ol
} {
list-style-type: none;
tbody tr:hover }
{
text-shadow: 0px 0px 4px white; table
} {
border-collapse: collapse;
.centre text-align: center;
{ display: inline-block;
text-align: center; border: white groove;
} border-radius: 10px;
box-shadow: 0px 0px 10px lightblue;
.description }
{
margin-left: 20px; th
} {
text-shadow: 2px 2px 4px black;
.lastupdate }
{
font-size: x-large; tr
font-weight: bold; {
color: yellow; border: 1px solid white;
} }
.module tbody tr:hover
{ {
} text-shadow: 0px 0px 4px white;
}
.modulename
{ .description
font-size: x-large; {
font-weight: bold; margin-left: 20px;
text-shadow: 2px 2px 10px #007ACC; }
}
.lastupdate
.note {
{ font-size: x-large;
margin-left: 20px; font-weight: bold;
color: #007ACC; color: #f1c40f;
} }
.notedesc .modulename
{ {
color: rgb(200, 200, 255); font-size: x-large;
} font-weight: bold;
text-shadow: 2px 2px 10px #007ACC;
.portability }
{
margin-left: 20px; .note
color: red; {
margin-left: 20px;
color: #007ACC;
}
.notedesc
{
color: rgb(200, 200, 255);
}
.portability
{
margin-left: 20px;
color: red;
} }

View File

@ -22,7 +22,7 @@ TOOL.Files = {
} }
-- Exlude client-only files -- Exlude client-only files
TOOL.FilesExclusion = { TOOL.FilesExcluded = {
"../SDK/**/CameraComponent.*", "../SDK/**/CameraComponent.*",
"../SDK/**/Console.*", "../SDK/**/Console.*",
"../SDK/**/GraphicsComponent.*", "../SDK/**/GraphicsComponent.*",

View File

@ -9,6 +9,7 @@ EXAMPLE.Files = {
EXAMPLE.Libraries = { EXAMPLE.Libraries = {
"NazaraCore", "NazaraCore",
"NazaraGraphics", "NazaraGraphics",
"NazaraRenderer",
"NazaraUtility", "NazaraUtility",
"NazaraSDK" "NazaraSDK"
} }

View File

@ -1 +0,0 @@
39bff2c83fdd3015b1910c5a7bf643f93d08a31f

View File

@ -1 +1 @@
068469f21bf220566e059e55998455deffec23f8 ca02549e21a494540751b65126dcee5fddfb84db

View File

@ -3,7 +3,7 @@ Examples writing-style:
Alphabetical order for everything and try to regroup each methods beginning with the same letter in the header Alphabetical order for everything and try to regroup each methods beginning with the same letter in the header
Class header: Class header:
```cpp
// Copyright (C) YEAR AUTHOR // Copyright (C) YEAR AUTHOR
// This file is part of the "Nazara Engine - MODULE module" // This file is part of the "Nazara Engine - MODULE module"
// For conditions of distribution and use, see copyright notice in Config.hpp // For conditions of distribution and use, see copyright notice in Config.hpp
@ -40,9 +40,10 @@ class NAZARA_API NzClassName
}; };
#endif // NAZARA_FILENAME_HPP #endif // NAZARA_FILENAME_HPP
```
Class source: Class source:
```cpp
// Copyright (C) YEAR AUTHOR // Copyright (C) YEAR AUTHOR
// This file is part of the "Nazara Engine - MODULE module" // This file is part of the "Nazara Engine - MODULE module"
// For conditions of distribution and use, see copyright notice in Config.hpp // For conditions of distribution and use, see copyright notice in Config.hpp
@ -63,9 +64,10 @@ m_variableName(init)
NzClassName::PublicFunctions() NzClassName::PublicFunctions()
NzClassName::ProtectedFunctions() NzClassName::ProtectedFunctions()
NzClassName::PrivateFunctions() NzClassName::PrivateFunctions()
```
Structure: Structure:
```cpp
/!\ enum in Enums.hpp /!\ enum in Enums.hpp
enum nzEnum enum nzEnum
@ -75,10 +77,12 @@ enum nzEnum
nzEnum_Max = nzEnum_2 nzEnum_Max = nzEnum_2
}; };
```
Function: Function:
```cpp
FunctionName() FunctionName()
{ {
variableName = init; variableName = init;
} }
```