Compare commits
107 Commits
f57d7a8d8a
...
ultimate
| Author | SHA1 | Date | |
|---|---|---|---|
| bafab8d75a | |||
| 92d5f66a91 | |||
| 622e814d1c | |||
| 0834460e82 | |||
| ff562d4d92 | |||
| c332b7e729 | |||
| 44f56e2035 | |||
| 898671a72a | |||
| 0ea80559e5 | |||
| 6a833f5698 | |||
| 2539892b71 | |||
| 17a1d3689b | |||
| 8b8bfc9aed | |||
| b833a21dbb | |||
| 2e02b17cc7 | |||
| f2426f5930 | |||
| 7d2b8bd9a2 | |||
| baced5f971 | |||
| 629b1279a9 | |||
| 7a808d46a6 | |||
| 67f396ae84 | |||
| 62808a9fbf | |||
| 5ad7cc9d1e | |||
| 4d2283d15e | |||
| 236ddd828d | |||
| b1b5858fb6 | |||
| 3d83a3a767 | |||
| 6b45443c75 | |||
| 3e2d37cf72 | |||
| c4c83382c3 | |||
| 0a5a26208a | |||
| 76203a8b29 | |||
| 36984b859f | |||
| 15a8d82176 | |||
| 5459b97e74 | |||
| 94eddb457f | |||
| 9432cd94fe | |||
| 34424da9d6 | |||
| 80a4b1b397 | |||
| fdf67f4bc2 | |||
| 8b4b25747e | |||
| 3f4a937257 | |||
| d87143d98b | |||
| 1298bab79a | |||
| 9929a5dd40 | |||
| 87399213b3 | |||
| f1dc19e795 | |||
| 168ba2e477 | |||
| 38fd71b8e6 | |||
| 1c0e5d0293 | |||
| c898aa0d81 | |||
| b257837d18 | |||
| 17c372fad9 | |||
| 0c706625d2 | |||
| c1a24a701b | |||
| 41945b3d88 | |||
| 2234e4d973 | |||
| da33fcc718 | |||
| 74c739a09e | |||
| 81b04bae0f | |||
| 77eb83c2c3 | |||
| a81cf284d0 | |||
| 13066709a7 | |||
| 44f4556fda | |||
| c655409596 | |||
| e2e44ff1ba | |||
| 71f8ebe285 | |||
| 2f9e0ba236 | |||
| 3b637508e1 | |||
| b6830c305b | |||
| 087a8d7672 | |||
| 9d4af21d4d | |||
| 5eda245ccc | |||
| 72e2116dc7 | |||
| 7ecb90af1f | |||
| 29d3c11fd1 | |||
| 5ccb29f27b | |||
| 2341c2fa6d | |||
| 2f6c98f4be | |||
| d20fb3043b | |||
| fec3de86d3 | |||
| 0e1b53fc9b | |||
| c7dbca9eb3 | |||
| 559d946cab | |||
| 6996490f3c | |||
| 1e76a7ca95 | |||
| 61544365b2 | |||
| dd3a4a464e | |||
| 0b55c2aa76 | |||
| b273358107 | |||
| 1a2d2074b8 | |||
| 86ad380275 | |||
| d0e29b36b8 | |||
| c4a3203153 | |||
| ec3d4e78ce | |||
| 1a228bdfc2 | |||
| b3956956d7 | |||
| ace2976b38 | |||
| 0c4cdf35b1 | |||
| 94a6d081a1 | |||
| 343b312227 | |||
| 2bdfbb193c | |||
| b16fd9fad5 | |||
| c113cc55e3 | |||
| f1a3449d47 | |||
| 1cd9f9b950 | |||
| cf10a042c0 |
@@ -16,24 +16,56 @@ add_executable(LotoStatek main.cpp
|
||||
sources/Background.cpp
|
||||
headers/AudioManager.h
|
||||
sources/AudioManager.cpp
|
||||
sources/Bullet.cpp
|
||||
headers/Meteor.h
|
||||
sources/Meteor.cpp
|
||||
headers/RandomNumberGenerator.h
|
||||
headers/Projectile.h
|
||||
sources/Projectile.cpp
|
||||
headers/Rocket.h
|
||||
sources/Rocket.cpp
|
||||
headers/Size.h
|
||||
headers/Position.h
|
||||
headers/ObjectItem.hpp
|
||||
sources/ObjectItem.cpp
|
||||
sources/Enemy.cpp
|
||||
headers/Enemy.h
|
||||
headers/AdvancedEnemy.h
|
||||
sources/AdvancedEnemy.cpp
|
||||
headers/Bomber.h
|
||||
sources/Bomber.cpp
|
||||
headers/Kamikadze.h
|
||||
sources/Kamikadze.cpp
|
||||
headers/wiazkowiec.h
|
||||
sources/Wiazkowiec.cpp
|
||||
headers/Beam.h
|
||||
sources/Beam.cpp
|
||||
headers/Heart.hpp
|
||||
sources/Heart.cpp
|
||||
headers/PowerUp.h
|
||||
sources/PowerUp.cpp
|
||||
headers/Debuff.h
|
||||
sources/Debuff.cpp
|
||||
sources/Boss.cpp
|
||||
headers/Boss.h
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
set(SFML_ROOT "${CMAKE_SOURCE_DIR}/SFML")
|
||||
set(SFML_ROOT "${CMAKE_SOURCE_DIR}/lib/SFML")
|
||||
# set(SFML_INCLUDE_DIR "${CMAKE_SOURCE_DIR}/SFML/include")
|
||||
file(GLOB BINARY_DEP_DLLS "${SFML_INCLUDE_DIR}/../bin/*.dll")
|
||||
file(COPY ${BINARY_DEP_DLLS} DESTINATION ${CMAKE_BINARY_DIR})
|
||||
include_directories("${CMAKE_SOURCE_DIR}/SFML/bin" "${CMAKE_SOURCE_DIR}/SFML/include" "${CMAKE_SOURCE_DIR}/SFML/lib/cmake/SFML") # dodane
|
||||
include_directories("${CMAKE_SOURCE_DIR}/lib/SFML/bin" "${CMAKE_SOURCE_DIR}/lib/SFML/include" "${CMAKE_SOURCE_DIR}/lib/SFML/lib/cmake/SFML") # dodane
|
||||
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake_modules") # dodane
|
||||
find_package(SFML 2.5.1 COMPONENTS graphics window system audio REQUIRED)
|
||||
find_package(SFML 2.6.2 COMPONENTS graphics window system audio REQUIRED)
|
||||
if(SFML_FOUND)
|
||||
include_directories(${SFML_INCLUDE_DIR})
|
||||
target_link_libraries(LotoStatek ${SFML_LIBRARIES})
|
||||
endif()
|
||||
elseif(APPLE)
|
||||
find_package(SFML 2.5.1 COMPONENTS graphics window system REQUIRED)
|
||||
find_package(SFML 2.6.2 COMPONENTS graphics window system REQUIRED)
|
||||
target_link_libraries(LotoStatek sfml-graphics sfml-window sfml-audio sfml-system)
|
||||
elseif(LINUX)
|
||||
find_package(SFML 2.5.1 COMPONENTS graphics window system REQUIRED)
|
||||
find_package(SFML 2.6.2 COMPONENTS graphics window system REQUIRED)
|
||||
target_link_libraries(LotoStatek sfml-graphics sfml-window sfml-audio sfml-system)
|
||||
endif()
|
||||
12
README.md
12
README.md
@@ -1 +1,11 @@
|
||||
Tu będzie lotoł statek
|
||||
The space-invaders type game created for university project.
|
||||
The main character is a "Ship", with which you are fighting enemies that have different abilities, for example laser beams or "Kamikaze" that will try to explode at you.
|
||||
Your character has only 3 HP that are showed in right upper corner.
|
||||
|
||||
|
||||
There are 5 different types of enemies:
|
||||
1. The simpliest one - just shoots you with one bullet
|
||||
2. The advanced enemy - shoots you with the same bullet, but shooted 3 at the one piece of time
|
||||
3. The "Kamikaze" will explode at you once reaches you, dealing 2 hp damage.
|
||||
4. The Laser enemy will shoot you with laser beam both sideways and up and down direction, dealing 1 hp damage.
|
||||
5. The bomber - will leave bombs all around map which will deal 1 hp damage once exploded.
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,98 +0,0 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>SFML - Simple and Fast Multimedia Library</title>
|
||||
<meta http-equiv="Content-Type" content="text/html;"/>
|
||||
<meta charset="utf-8"/>
|
||||
<!--<link rel='stylesheet' type='text/css' href="https://fonts.googleapis.com/css?family=Ubuntu:400,700,400italic"/>-->
|
||||
<link rel="stylesheet" type="text/css" href="doxygen.css" title="default" media="screen,print" />
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="banner-container">
|
||||
<div id="banner">
|
||||
<span id="sfml">SFML 2.5.1</span>
|
||||
</div>
|
||||
</div>
|
||||
<div id="content">
|
||||
<!-- Generated by Doxygen 1.8.14 -->
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="pages.html"><span>Related Pages</span></a></li>
|
||||
<li><a href="modules.html"><span>Modules</span></a></li>
|
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
||||
<li><a href="annotated.html"><span>Classes</span></a></li>
|
||||
<li class="current"><a href="files.html"><span>Files</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="navrow2" class="tabs2">
|
||||
<ul class="tablist">
|
||||
<li><a href="files.html"><span>File List</span></a></li>
|
||||
<li><a href="globals.html"><span>File Members</span></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div id="nav-path" class="navpath">
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_c0a853e81d6f1c1f0a3eb7a27dc24256.html">SFML</a></li> </ul>
|
||||
</div>
|
||||
</div><!-- top -->
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#define-members">Macros</a> </div>
|
||||
<div class="headertitle">
|
||||
<div class="title">GpuPreference.hpp File Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Headers.
|
||||
<a href="#details">More...</a></p>
|
||||
<div class="textblock"><code>#include <SFML/Config.hpp></code><br />
|
||||
</div>
|
||||
<p><a href="GpuPreference_8hpp_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:ab0233c2d867cbd561036ed2440a4fec0"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="GpuPreference_8hpp.html#ab0233c2d867cbd561036ed2440a4fec0">SFML_DEFINE_DISCRETE_GPU_PREFERENCE</a></td></tr>
|
||||
<tr class="memdesc:ab0233c2d867cbd561036ed2440a4fec0"><td class="mdescLeft"> </td><td class="mdescRight">A macro to encourage usage of the discrete GPU. <a href="#ab0233c2d867cbd561036ed2440a4fec0">More...</a><br /></td></tr>
|
||||
<tr class="separator:ab0233c2d867cbd561036ed2440a4fec0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>Headers. </p>
|
||||
<p>File containing SFML_DEFINE_DISCRETE_GPU_PREFERENCE </p>
|
||||
|
||||
<p class="definition">Definition in file <a class="el" href="GpuPreference_8hpp_source.html">GpuPreference.hpp</a>.</p>
|
||||
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a id="ab0233c2d867cbd561036ed2440a4fec0"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ab0233c2d867cbd561036ed2440a4fec0">◆ </a></span>SFML_DEFINE_DISCRETE_GPU_PREFERENCE</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define SFML_DEFINE_DISCRETE_GPU_PREFERENCE</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>A macro to encourage usage of the discrete GPU. </p>
|
||||
<p>In order to inform the Nvidia/AMD driver that an SFML application could benefit from using the more powerful discrete GPU, special symbols have to be publicly exported from the final executable.</p>
|
||||
<p>SFML defines a helper macro to easily do this.</p>
|
||||
<p>Place SFML_DEFINE_DISCRETE_GPU_PREFERENCE in the global scope of a source file that will be linked into the final executable. Typically it is best to place it where the main function is also defined. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="GpuPreference_8hpp_source.html#l00069">69</a> of file <a class="el" href="GpuPreference_8hpp_source.html">GpuPreference.hpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
</div>
|
||||
<div id="footer-container">
|
||||
<div id="footer">
|
||||
SFML is licensed under the terms and conditions of the <a href="https://www.sfml-dev.org/license.php">zlib/png license</a>.<br>
|
||||
Copyright © Laurent Gomila ::
|
||||
Documentation generated by <a href="http://www.doxygen.org/" title="doxygen website">doxygen</a> ::
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user