Мелкие баги, файл проекта
This commit is contained in:
parent
372ad4445d
commit
bb522fa9ba
2 changed files with 51 additions and 5 deletions
43
FallSimulation.cbp
Normal file
43
FallSimulation.cbp
Normal file
|
@ -0,0 +1,43 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6" />
|
||||
<Project>
|
||||
<Option title="FallSimulation" />
|
||||
<Option pch_mode="2" />
|
||||
<Option compiler="gnu_gcc_compiler__strict__fast_single_files_only" />
|
||||
<Build>
|
||||
<Target title="Debug">
|
||||
<Option output="bin/Debug/FallSimulation" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="Q:/Users/student.ATIAM/Downloads/FallSimulator-master/.objs" />
|
||||
<Option type="0" />
|
||||
<Option compiler="gnu_gcc_compiler__strict__fast_single_files_only" />
|
||||
<Compiler>
|
||||
<Add option="-g" />
|
||||
</Compiler>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
<Option output="bin/Release/FallSimulation" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="0" />
|
||||
<Option compiler="gnu_gcc_compiler__strict__fast_single_files_only" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
</Linker>
|
||||
</Target>
|
||||
</Build>
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-fexceptions" />
|
||||
</Compiler>
|
||||
<Unit filename="FallSimulation.cpp" />
|
||||
<Extensions>
|
||||
<code_completion />
|
||||
<envvars />
|
||||
<debugger />
|
||||
<lib_finder disable_auto="1" />
|
||||
</Extensions>
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
|
@ -51,10 +51,10 @@ int main()
|
|||
|
||||
block = txLoadImage("pictures\\block.bmp");
|
||||
quest = txLoadImage("pictures\\question.bmp");
|
||||
orange_but = txLoadImage("pictures\\orange_but.bmp");
|
||||
green_but = txLoadImage("pictures\\green_but.bmp");
|
||||
blue_but = txLoadImage("pictures\\blue_but.bmp");
|
||||
purple_but = txLoadImage("pictures\\purple_but.bmp");
|
||||
//orange_but = txLoadImage("pictures\\orange-but.bmp");
|
||||
//green_but = txLoadImage("pictures\\green-but.bmp");
|
||||
//blue_but = txLoadImage("pictures\\blue-but.bmp");
|
||||
//purple_but = txLoadImage("pictures\\purple-but.bmp");
|
||||
|
||||
middleX = txGetExtentX() / 2;
|
||||
middleY = txGetExtentY() / 2;
|
||||
|
@ -226,6 +226,9 @@ void mainFunc()
|
|||
};
|
||||
|
||||
MapPart mapParts[12];
|
||||
for (int elem = 0; elem < 12; elem++) {
|
||||
mapParts[elem].visible = false;
|
||||
}
|
||||
|
||||
bool clickedBlock = false;
|
||||
bool clickedQuest = false;
|
||||
|
@ -300,7 +303,7 @@ void mainFunc()
|
|||
switch(mapParts[elem].blocktype)
|
||||
{
|
||||
case BLOCK_TYPE:
|
||||
lvlfile << "Block"
|
||||
lvlfile << "Block";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue