A procedural city builder
Go to file
Yoann 474ab3e706 Ajout de la fonction de split sur les maison avec la division en block.
Rectification de la division des blocks en mors.
Amélioration des toits.
2012-01-10 15:32:25 +01:00
bugs Bug pour l'offset de quadrilatères non convexes. 2012-01-06 20:37:40 +01:00
geometry Correction sur Triangle::surface() . 2012-01-10 13:25:42 +01:00
rules Ajout de la fonction de split sur les maison avec la division en block. 2012-01-10 15:32:25 +01:00
.gitignore Refactor : utilisation de c[] au lieu de corner, c[] au lieu de v1, v2, v3 pour les triangles, création d'un dossier geometry avec vertex, segment, ..., séparation de Triangle en GPUTriangle et geometry/Triangle. 2012-01-03 18:24:48 +01:00
all_includes.hh Méthode Quad::randomPoint . 2012-01-10 12:13:50 +01:00
gputriangle.cpp On passe -ansi -pedantic -Wconversion -Wformat=2 -Winit-self -Wmissing-include-dirs -Wswitch-default -Wsync-nand -Wunused -Wstrict-overflow=5 -Wfloat-equal -Wundef -Wno-endif-labels -Wshadow -Wunsafe-loop-optimizations -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wlogical-op -Wmissing-declarations -Wnormalized=nfc -Wpacked -Wredundant-decls -Winline -Winvalid-pch -Wdisabled-optimization -Woverlength-strings . 2012-01-10 03:14:21 +01:00
gputriangle.hh Refactor, nettoyage, correction du calcul des normales, … 2012-01-05 19:36:53 +01:00
hash.cpp Méthode Quad::randomPoint . 2012-01-10 12:13:50 +01:00
hash.hh Méthode Quad::randomPoint . 2012-01-10 12:13:50 +01:00
heap.cpp On passe -ansi -pedantic -Wconversion -Wformat=2 -Winit-self -Wmissing-include-dirs -Wswitch-default -Wsync-nand -Wunused -Wstrict-overflow=5 -Wfloat-equal -Wundef -Wno-endif-labels -Wshadow -Wunsafe-loop-optimizations -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wlogical-op -Wmissing-declarations -Wnormalized=nfc -Wpacked -Wredundant-decls -Winline -Winvalid-pch -Wdisabled-optimization -Woverlength-strings . 2012-01-10 03:14:21 +01:00
heap.hh On passe -ansi -pedantic -Wconversion. 2012-01-09 15:28:10 +01:00
lod.cpp On passe -ansi -pedantic -Wconversion -Wformat=2 -Winit-self -Wmissing-include-dirs -Wswitch-default -Wsync-nand -Wunused -Wstrict-overflow=5 -Wfloat-equal -Wundef -Wno-endif-labels -Wshadow -Wunsafe-loop-optimizations -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wlogical-op -Wmissing-declarations -Wnormalized=nfc -Wpacked -Wredundant-decls -Winline -Winvalid-pch -Wdisabled-optimization -Woverlength-strings . 2012-01-10 03:14:21 +01:00
lod.hh Correction des #ifndef/#define/#endif dans les .hh . 2012-01-05 10:11:03 +01:00
main.cpp Correction sur Triangle::surface() . 2012-01-10 13:25:42 +01:00
Makefile On passe -ansi -pedantic -Wconversion -Wformat=2 -Winit-self -Wmissing-include-dirs -Wswitch-default -Wsync-nand -Wunused -Wstrict-overflow=5 -Wfloat-equal -Wundef -Wno-endif-labels -Wshadow -Wunsafe-loop-optimizations -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wlogical-op -Wmissing-declarations -Wnormalized=nfc -Wpacked -Wredundant-decls -Winline -Winvalid-pch -Wdisabled-optimization -Woverlength-strings . 2012-01-10 03:14:21 +01:00
README.markdown Liste des dépendances dans le README. 2011-12-16 10:19:28 +01:00
tiles.md Ajout d'un ou deux types à tiles.md 2011-12-12 21:27:50 +01:00
view.cpp On passe -ansi -pedantic -Wconversion -Wformat=2 -Winit-self -Wmissing-include-dirs -Wswitch-default -Wsync-nand -Wunused -Wstrict-overflow=5 -Wfloat-equal -Wundef -Wno-endif-labels -Wshadow -Wunsafe-loop-optimizations -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wlogical-op -Wmissing-declarations -Wnormalized=nfc -Wpacked -Wredundant-decls -Winline -Winvalid-pch -Wdisabled-optimization -Woverlength-strings . 2012-01-10 03:14:21 +01:00
view.hh On passe -ansi -pedantic -Wconversion -Wformat=2 -Winit-self -Wmissing-include-dirs -Wswitch-default -Wsync-nand -Wunused -Wstrict-overflow=5 -Wfloat-equal -Wundef -Wno-endif-labels -Wshadow -Wunsafe-loop-optimizations -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion -Wlogical-op -Wmissing-declarations -Wnormalized=nfc -Wpacked -Wredundant-decls -Winline -Winvalid-pch -Wdisabled-optimization -Woverlength-strings . 2012-01-10 03:14:21 +01:00

Minimal requirements

  • g++ et GNU make (paquet build-essential)
  • libsdl-dev
  • libglew-dev

The following command should install the required packages on ubuntu.

sudo apt-get install build-essential libsdl-dev libglew-dev

How to run this program ?

make