29 lines
676 B
PHP
29 lines
676 B
PHP
|
/*
|
||
|
LES JOUETS DE TONTON TH
|
||
|
Quelque constantes utiles
|
||
|
*/
|
||
|
|
||
|
#ifdef(Jouets_Constantes)
|
||
|
// do nothing
|
||
|
#error "constantes deja definies\n"
|
||
|
#else
|
||
|
#declare Jouets_Constantes=version;
|
||
|
|
||
|
/* ------------------------------------------------------------ */
|
||
|
/* constantes geometriques */
|
||
|
|
||
|
#declare ECARTEMENT = 12;
|
||
|
#declare H_RAIL = 2;
|
||
|
|
||
|
/* generateur de nombres pseudo-aleatoires.
|
||
|
mais comment le 'seeder' de fac,on differente a chaque run ? */
|
||
|
|
||
|
#declare RND = seed(42);
|
||
|
|
||
|
/* ------------------------------------------------------------ */
|
||
|
/* il nous faut quelques textures 'standards' */
|
||
|
|
||
|
/* ------------------------------------------------------------ */
|
||
|
#end // #ifdef
|
||
|
|