00001 /*************************************************************************** 00002 commercialsim.h - description 00003 $Id: commercialsim.h 3 2006-06-11 08:16:14Z neoneurone $ 00004 ------------------- 00005 begin : sam jan 31 2004 00006 copyright : (C) 2004 by Duong-Khang NGUYEN 00007 email : neoneurone @ users sourceforge net 00008 ***************************************************************************/ 00009 00010 /*************************************************************************** 00011 * * 00012 * This program is free software; you can redistribute it and/or modify * 00013 * it under the terms of the GNU General Public License as published by * 00014 * the Free Software Foundation; either version 2 of the License, or * 00015 * any later version. * 00016 * * 00017 ***************************************************************************/ 00018 00019 #ifndef _OPENCITY_COMMERCIALSIM_H_ 00020 #define _OPENCITY_COMMERCIALSIM_H_ 1 00021 00022 #include "main.h" 00023 00024 #include "simulator.h" 00025 00026 //TOKILL: see TrafficSim for more informations 00027 //int funcCSim(void*); 00028 00029 //======================================================================== 00032 class CommercialSim : public Simulator { 00033 public: 00034 CommercialSim( 00035 SDL_mutex* mutex, 00036 BuildingLayer* pblayer, 00037 Map* pmap ); 00038 ~CommercialSim(); 00039 00040 int 00041 Main(); 00042 00043 void 00044 RemoveStructure( 00045 const uint & w1, 00046 const uint & h1, 00047 const uint & w2, 00048 const uint & h2 ); 00049 00050 }; 00051 00052 #endif 00053 00054 00055 00056 00057 00058 00059 00060 00061 00062 00063 00064 00065 00066 00067 00068 00069 00070 00071 00072 00073 00074 00075 00076 00077 00078 00079 00080 00081 00082 00083 00084 00085
1.4.2