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

Former-commit-id: d09d354e223654aaa253d680f53609464bae3873
This commit is contained in:
Lynix 2016-04-30 11:45:19 +02:00
commit 1d3d6a4d1a
8 changed files with 108 additions and 122 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,47 +1,44 @@
<!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>
Dernière mise à jour: <div>Dernière mise à jour : <span class="lastupdate">
<span class="lastupdate">
%DATE% %DATE%
</span> </span></div>
<br>
<br> <h2>Important:</h2>
<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.
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> 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>
Gardez donc à l'esprit que le moteur possède plus de fonctionnalités que ce qui est décrit actuellement sur cette page.<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>
<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>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>
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). 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>
<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>
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.</p>
Et bien entendu, un module ou une fonctionnalité ayant atteint les 100% peut toujours évoluer par la suite.
<br> <hr>
<br>
<table> <table>
<caption>Sommaire</caption> <caption>Sommaire</caption>
<thead> <thead>
@ -54,10 +51,9 @@
%MODULELIST% %MODULELIST%
</tbody> </tbody>
</table> </table>
</div>
%MODULEDESCRIPTION% %MODULEDESCRIPTION%
<hr /> <hr>
<div class="centre">
<table> <table>
<caption>Sommaire</caption> <caption>Sommaire</caption>
<thead> <thead>

View File

@ -2,8 +2,26 @@
body body
{ {
background-color: black; font-family: sans-serif;
color: white; text-align: center;
margin: 0;
background-color: #f1f1f1;
}
#englob {
display: block;
margin-left: auto;
margin-right: auto;
background-color: white;
width: 50%;
min-width: 765px;
padding: 0 20px;
}
hr {
height: 0;
border: 0;
border-top: 1px solid #eee;
} }
a a
@ -31,6 +49,10 @@ h4
{ {
text-decoration: underline; text-decoration: underline;
} }
p {
text-align: justify;
}
ol ol
{ {
@ -62,11 +84,6 @@ tbody tr:hover
text-shadow: 0px 0px 4px white; text-shadow: 0px 0px 4px white;
} }
.centre
{
text-align: center;
}
.description .description
{ {
margin-left: 20px; margin-left: 20px;
@ -76,11 +93,7 @@ tbody tr:hover
{ {
font-size: x-large; font-size: x-large;
font-weight: bold; font-weight: bold;
color: yellow; color: #f1c40f;
}
.module
{
} }
.modulename .modulename

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;
} }
```