19dc6759df
Don't use -std=c++11 explicitly and update cmake version requirement.
2016-10-31 20:47:47 +01:00
09b41f6d0c
Update tree to 3.1
...
see http://tree.phi-sci.com/download.html
2016-10-31 19:41:50 +01:00
04690b947c
Add target architecture detection in cmake and pass -msse3 to the compiler for x86_64 targets.
...
See: https://github.com/petroules/solar-cmake/blob/master/TargetArch.cmake
Also added some C flags, though likely they were implicitly passed to the compiler already.
2014-08-25 17:32:48 +02:00
105020b5c1
Added a DrawableLine class for debug builds.
2014-08-19 21:49:08 +02:00
c59a4573f4
Rename PlatformSystem to PlatformSpawner.
2014-08-13 22:51:08 +02:00
896b368cbe
Refactoring to split the PlatformSystem into a PlatformSet subpart.
...
Also introduces the same concept for Drawables, with DrawableSet.
Single drawables can't be registered anymore.
2014-08-13 22:45:37 +02:00
3c0e460a23
Fixes for the Raspberry Pi build.
...
The slowness problem is still there.
2014-08-07 11:29:04 +02:00
6cf749c82c
Add the call to bcm_host_init/deinit() on raspberry pi.
2014-08-06 21:04:57 +02:00
5941e0af56
Chose the renderer driver instead of passing -1 (default).
2014-08-06 17:44:28 +02:00
f142367a8a
Use the system's PhysFS if present.
...
Also add an option to allow the user to override this and force the use of the supplied library.
Pass -DWITH_BUILTIN_PHYSFS=on to cmake to force using the supplied library.
2014-08-04 18:57:14 +02:00
cdd37fead7
Add code to register objects to the collider.
...
The character and the platforms can register now, but
collision is not triggered for some reason.
2014-08-01 00:50:49 +02:00
4166983809
Generate random platforms nicely.
...
This also fixes the build.
2014-07-30 13:46:50 +02:00
54e8a27709
Working on the collision classes.
2014-07-28 11:00:55 +02:00
250600d8b2
Make the verbosity of the observers manager switchable from the cmake file.
2014-07-17 16:53:14 +02:00
06e3bfdeb7
New Line class and related algorithms and functions.
2014-07-16 23:42:37 +02:00
ad613dc3fd
Import of the tree library.
...
See: http://tree.phi-sci.com/index.html
2014-07-10 21:56:05 +02:00
32d141e877
Look for Boost.
2014-07-05 20:49:18 +02:00
4a3a0a4782
Add some (badly) generated platforms that will scroll
...
down whenever the player's top side depasses the middle
of the screen.
WiP.
2014-07-05 20:33:16 +02:00
976d34f17e
Movers moved into a separate directory.
2014-07-05 18:48:04 +02:00
6fe884cd5a
Platform and PlatformSystem added to the game. WiP.
2014-03-26 10:44:01 +01:00
f0a38a2f8a
Adding new files to register objects that require to be notified when resolution changes.
...
Also added a structure that holds the resolution and the current scaling ratio.
2014-03-20 12:39:39 +01:00
0c6275f41c
Draw in abstract units and scale to pixels at the end.
2014-03-20 12:39:39 +01:00
8d2ddaa9ff
New TiledWallpaper class for the background.
2014-03-20 12:39:09 +01:00
ab31e94bf0
Movement with left/right arrow keys.
...
Movement is hardcoded but it works.
Also fixed some typos that gave me a hard time figuring out why
movement was giving all sort of crazy problems. Very bad typos,
see gameplaysceneclassic.cpp, inputbag.cpp, inputbag.hpp and key.hpp
if you want to get goosebumps.
2014-02-25 00:36:33 +01:00
383ea0c17b
New InputBag, not used yet.
2014-02-23 19:32:47 +01:00
85c65b3e68
Refactoring in Movers.
...
The displayed texture now bounces vertically.
2014-02-22 13:13:49 +01:00
d0893cba3a
Added some structuring.
...
The game runs but only a black window is shown.
2014-02-21 21:28:34 +01:00
93634da6fa
Stop using the do-nothing Path class.
...
Instead use the newly imported PhysicsFS through a wrapper.
2014-02-13 00:01:29 +01:00
bcc0937726
New code, WiP.
...
New Path, Character and other simple classes, but a renderer is missing so now nothing gets displayed anymore.
2014-02-12 00:27:55 +01:00
19ad7a77ea
More warnings.
2014-02-11 23:36:43 +01:00
091b498ff7
Enable all warnings.
2014-02-10 01:19:05 +01:00
a8f8d50129
New code and data to get something on screen.
...
WiP.
2014-02-09 00:32:11 +01:00
2429229a95
Code refactored into different files.
2014-02-08 23:11:26 +01:00
ef3a4c1ef6
First commit
2014-01-10 00:04:39 +01:00