1 /* 2 * Copyright (C) 2002 Terence M. Welsh 3 * Ported to Linux by Tugrul Galatali <tugrul@galatali.com> 4 * 5 * Skyrocket is free software; you can redistribute it and/or modify 6 * it under the terms of the GNU General Public License version 2 as 7 * published by the Free Software Foundation. 8 * 9 * Skyrocket is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12 * GNU General Public License for more details. 13 * 14 * You should have received a copy of the GNU General Public License 15 * along with this program; if not, write to the Free Software 16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 */ 18 19 #ifndef WORLD_H 20 #define WORLD_H 21 22 #define STARMESH 12 23 #define STARTEXSIZE 512 24 #define MOONGLOWTEXSIZE 128 25 #define CLOUDMESH 48 26 27 // For building mountain sillohettes in sunset 28 void makeHeights (int first, int last, int *h); 29 void initWorld (); 30 void updateWorld (); 31 void drawWorld (); 32 void cleanupWorld (); 33 34 #endif 35