Commit graph

898 commits

Author SHA1 Message Date
Sebastian Krzyszkowiak
37bf1ca1c6
particle: remove the destructor concept from FaderParticle, it's unnecessary 2018-12-07 07:11:18 +01:00
Sebastian Krzyszkowiak
3faa50165c
update imgui and clean up the allegro5 impl 2018-12-07 07:11:00 +01:00
Sebastian Krzyszkowiak
ad26fe14ad
add a separate flag to indicate that the loading screen is being shown 2018-12-07 06:14:52 +01:00
Sebastian Krzyszkowiak
0ebb85a660
make audio sample rate configurable 2018-12-06 05:37:51 +01:00
Sebastian Krzyszkowiak
f0910b63f7
remove phantom (never implemented) viewport option 2018-12-05 02:40:27 +01:00
Sebastian Krzyszkowiak
bffe816037
don't export functions from imgui integration implementation 2018-12-05 02:31:53 +01:00
Sebastian Krzyszkowiak
3586f49762
ensure that the game operates on UTF-8 on Windows
Should fix issues with Unicode filenames.
2018-12-05 02:09:06 +01:00
Sebastian Krzyszkowiak
9c39090890
update README 2018-12-03 14:56:26 +01:00
Sebastian Krzyszkowiak
178b45968d
utils: fix DrawCentered* function to take float for bitmap position 2018-12-02 03:16:12 +01:00
Sebastian Krzyszkowiak
2e724c4ea5
clang-tidy: remove the hicpp-multiway-paths-covered check 2018-12-02 03:15:52 +01:00
Sebastian Krzyszkowiak
2179d6cdc2
synchronize with the main thread on BSoD 2018-12-02 00:26:33 +01:00
Sebastian Krzyszkowiak
d5d923daa6
don't go into infinite loop when loading a gamestate fails 2018-12-02 00:25:08 +01:00
Sebastian Krzyszkowiak
58cb054a18
add missing al_destroy_mixer 2018-12-02 00:24:31 +01:00
Sebastian Krzyszkowiak
01eabcfe80
add -Wno-return-type-c-linkage to CXX flags for cimgui quirk 2018-11-30 04:44:52 +01:00
Sebastian Krzyszkowiak
a961845698
code model, clang-tidy related tweaks and fixes 2018-11-30 04:20:35 +01:00
Sebastian Krzyszkowiak
c8ee56fc2c
utils: add StrToLower and StrToUpper functions 2018-11-30 02:45:39 +01:00
Sebastian Krzyszkowiak
37994781fd
update codestyle info, move clang-tidy config into a file 2018-11-30 02:45:22 +01:00
Sebastian Krzyszkowiak
2149c11ace
imgui: handle touch input, set style and don't call al_set_mouse_cursor, which isn't implemented on some platforms 2018-11-29 21:09:20 +01:00
Sebastian Krzyszkowiak
71fec20936
clean up 2018-11-29 04:39:51 +01:00
Sebastian Krzyszkowiak
440e6c41e6
Dear ImGui integration 2018-11-29 04:37:08 +01:00
Sebastian Krzyszkowiak
52030b67e3
particle: fix tint preservation in FaderParticle 2018-11-27 04:44:15 +01:00
Sebastian Krzyszkowiak
91180024a1
add CopyCharacter util function 2018-11-27 04:43:58 +01:00
Sebastian Krzyszkowiak
97495fa2aa
require the compositor to clear the screen by itself 2018-11-27 03:08:21 +01:00
Sebastian Krzyszkowiak
48189e7715
make depth buffer creation configurable 2018-11-27 03:06:43 +01:00
Sebastian Krzyszkowiak
9611be3267
add ClearToColor util for clearing whole target bitmap, not just the clipping rectangle
Clearing the clipping rectangle can be very costly, while clearing a whole texture is often free.
2018-11-27 02:50:16 +01:00
Sebastian Krzyszkowiak
d20eb28814
particle: add missing SYMBOL_EXPORTs 2018-11-26 18:32:56 +01:00
Sebastian Krzyszkowiak
e5937537df
initial draft of particle engine 2018-11-26 09:18:28 +01:00
Sebastian Krzyszkowiak
9ecd29a7c3
include allegro_color and platform specific headers already in libsuperderpy.h, clean up 2018-11-26 01:40:19 +01:00
Sebastian Krzyszkowiak
de46cff0a4
character: add an ability to tint subcharacters by their parent's color 2018-11-25 05:00:42 +01:00
Sebastian Krzyszkowiak
63f7ae39b9
character: support custom frame duration 2018-11-25 04:49:26 +01:00
Sebastian Krzyszkowiak
a74aa55409
character: allow creating characters with NULL name
Useful for shared characters that are going to be swapped between
their archetypes.
2018-11-25 04:17:00 +01:00
Sebastian Krzyszkowiak
a7d2ed55c0
character: don't log destroying shared characters
Usually leads to too much noise for no value.
2018-11-25 04:09:41 +01:00
Sebastian Krzyszkowiak
a7d2d72bd6
add .editorconfig file 2018-11-24 03:24:57 +01:00
Sebastian Krzyszkowiak
93f2be37d8
draw compositors, postdraw hooks and consoles on whole screen in full resolution (breaking change) 2018-11-22 21:01:35 +01:00
Sebastian Krzyszkowiak
56eb5a6ef4
loading: fix resetting showLoading var too early 2018-11-22 20:31:13 +01:00
Sebastian Krzyszkowiak
6c59ef1049
add support for routing the loading gamestate through compositor 2018-11-22 04:53:51 +01:00
Sebastian Krzyszkowiak
7f7c522b3c
make SetFramebufferAsTarget work also for the loading gamestate 2018-11-22 03:40:41 +01:00
Sebastian Krzyszkowiak
a6abd01ec2
libsuperderpy_start: load shaders before loading the loading gamestate
Allows the loading gamestate to use shaders created in common resources.
2018-11-22 03:37:32 +01:00
Sebastian Krzyszkowiak
80f59721f2
fix a clang warning 2018-11-20 22:01:39 +01:00
Sebastian Krzyszkowiak
a68e15e274
tween: add ability to store a custom tweening function with the Tween object 2018-11-20 20:30:48 +01:00
Sebastian Krzyszkowiak
9d9d23dfe8
tween: pre/post-delay support, StaticTween helper 2018-11-17 12:06:05 +01:00
Sebastian Krzyszkowiak
4754d8dd4e
shader: don't try to build a shader that already failed to be attached 2018-11-15 17:41:56 +01:00
Sebastian Krzyszkowiak
e04a52ea35
init: set libsuperderpy's default mixer as Allegro's default one 2018-11-02 06:10:15 +01:00
Sebastian Krzyszkowiak
f922ffe997
android: log into logcat 2018-11-02 06:07:49 +01:00
Sebastian Krzyszkowiak
bbba7da52f
AllocateGamestate: fix uninitialized memory
Fixes a segfault when resizing a window in between allocating and
loading the gamestate.
2018-11-01 23:56:37 +01:00
Sebastian Krzyszkowiak
b67d146cdb
maemo: rewrite mouse events into touch ones 2018-10-30 18:05:54 +01:00
Sebastian Krzyszkowiak
a73e780668
Maemo support 2018-10-30 09:04:21 +01:00
Sebastian Krzyszkowiak
2299cacc16
android: use LIBSUPERDERPY_APPID as the package name and net.dosowisko.libsuperderpy.Activity as activity name 2018-10-30 02:17:35 +01:00
Sebastian Krzyszkowiak
de835593c8
set the default window size according to the viewport aspect ratio 2018-10-27 05:18:02 +02:00
Sebastian Krzyszkowiak
e12bc10840
cmake: add an option to build libsuperderpy as a static library
Might be useful when packaging games for distribution repositories.
2018-10-23 03:53:54 +02:00