Commit graph

114 commits

Author SHA1 Message Date
Sebastian Krzyszkowiak
6758075511
cmake: rework static linking configuration 2019-05-17 17:35:07 +02:00
Sebastian Krzyszkowiak
c6ef4a6199
support static linking the whole game into one binary 2019-05-17 02:31:17 +02:00
Sebastian Krzyszkowiak
c724a490fb
formal Pocket C.H.I.P support 2019-05-13 23:51:07 +02:00
Sebastian Krzyszkowiak
b0bf4f13be
cmake: disable GNU extensions 2019-05-13 23:47:16 +02:00
Sebastian Krzyszkowiak
8c228aa9e0
cmake: set -std=gnu99 when the compiler default is C90
Fixes compilation on the Pocket C.H.I.P
2019-05-12 22:35:51 +02:00
Sebastian Krzyszkowiak
5b8df3c180
cmake: disable stack protector on Maemo
It causes strange segfaults there
2019-05-12 22:33:34 +02:00
Sebastian Krzyszkowiak
a5aed4743d
cmake: disable sanitizers on Maemo 2019-05-12 21:59:03 +02:00
Sebastian Krzyszkowiak
a8f78ea9bb
cmake: use float literal instead of integer to specify image scale as 1 2019-05-10 23:20:10 +02:00
Sebastian Krzyszkowiak
a4147d2e61
character: transparently support ImgToWebp scaling factor 2019-05-06 04:06:58 +02:00
Sebastian Krzyszkowiak
264ef2b86d
cmake: link to allegro-color addon 2019-04-29 13:17:56 +02:00
Sebastian Krzyszkowiak
c480289123
cmake: rework asset compression pipeline a bit 2019-04-29 03:11:55 +02:00
Sebastian Krzyszkowiak
569834bce4
cmake: fix problems with static linking with osxcross 2019-04-06 21:18:17 +02:00
Sebastian Krzyszkowiak
83bd62277f
initial set of timeline unit tests 2019-04-03 02:59:48 +02:00
Sebastian Krzyszkowiak
66e0319691
cmake: make source files of game's shared library configurable 2019-02-28 21:44:02 +01:00
Sebastian Krzyszkowiak
43c830bf99
drop "libsuperderpy-" prefix from game-specific shared libraries 2019-02-26 01:42:16 +01:00
Sebastian Krzyszkowiak
379ba8f629
cmake: make LTO optional 2019-02-13 22:53:43 +01:00
Sebastian Krzyszkowiak
d878a86634
make DCE on emscripten/wasm configurable and disabled by default 2019-02-08 02:12:31 +01:00
Sebastian Krzyszkowiak
b07c9033e9
update emscripten flags 2019-02-06 01:48:35 +01:00
Sebastian Krzyszkowiak
e89f654559
ImgToWebp: add ability to use lossless compression
Good for pixel art
2019-01-24 23:57:23 +01:00
Sebastian Krzyszkowiak
a411819d5a
android: update toolchain for docker images 2019-01-24 04:11:13 +01:00
Sebastian Krzyszkowiak
54a305b3ec
android: migrate from ant to gradle 2019-01-20 03:00:01 +01:00
Sebastian Krzyszkowiak
c5b5d7a7e0
fix macos builds 2019-01-13 21:34:32 +01:00
Sebastian Krzyszkowiak
65807cd369
enable dead code elimination on webassembly builds 2019-01-13 20:02:21 +01:00
Sebastian Krzyszkowiak
a6b6062be4
recompress flac to opus and images to lossy webp for emscripten and android builds, with asset cache 2019-01-13 18:45:17 +01:00
Sebastian Krzyszkowiak
ef77bedeae
clean up 2019-01-11 15:26:12 +01:00
Sebastian Krzyszkowiak
996c7e4d8e
FlacToOgg: fix and make more robust 2019-01-11 13:09:55 +01:00
Sebastian Krzyszkowiak
3da81d4388
cmake: fix Debug builds on Emscripten 2019-01-11 12:38:03 +01:00
Sebastian Krzyszkowiak
f5ce67e6cb
emscripten: export Gamestate_ProgressCount
Turns out there's no other way to export a variable.
Fixes wrong values in the progress bar.
2019-01-11 02:31:43 +01:00
Sebastian Krzyszkowiak
f5604b95fb
emscripten: output wasm submodules to .wasm.so files, so preload plugins can find them 2019-01-10 06:31:28 +01:00
Sebastian Krzyszkowiak
fe9b6f5384
emscripten: use __attribute__(used) in code instead of EXPORTED_FUNCTIONS in cmake 2019-01-10 06:04:29 +01:00
Sebastian Krzyszkowiak
8d4ee68936
emscripten: drop STRICT=1 flag, it breaks when SDL2 is self-built 2019-01-08 03:32:49 +01:00
Sebastian Krzyszkowiak
5fb99a97f8
emscripten: revise compiler settings and add a pre-js file with audio autoplay workaround 2019-01-07 00:37:34 +01:00
Sebastian Krzyszkowiak
f357d75591
emscripten: use emterpreter for displaying loading screen 2019-01-03 23:22:26 +01:00
Sebastian Krzyszkowiak
116d190876
cmake: update emscripten flags 2018-12-22 02:17:57 +01:00
Sebastian Krzyszkowiak
93db442e7b
cmake: disable LTO on MinGW
Crashes the compiler on my machine for some reason.
2018-12-18 14:34:10 +01:00
Sebastian Krzyszkowiak
492aa79a6b
cmake: enable -fstack-protector (all builds) and _FORTIFY_SOURCE=2 (release/relwithdebinfo)
_FORTIFY_SOURCE can't be used together with ASan, so it's not enabled for debug builds
2018-12-18 13:58:37 +01:00
Sebastian Krzyszkowiak
d20363e244
cmake: enable link time optimizations 2018-12-18 13:19:58 +01:00
Sebastian Krzyszkowiak
7cdcb7475a
cmake: set and use LIBSUPERDERPY_DIR variable 2018-12-18 13:18:52 +01:00
Sebastian Krzyszkowiak
23b11b1a5b
cmake: don't set -fsanitize-recover=all, and set other args only when specific sanitizers are requested 2018-12-14 02:26:46 +01:00
Sebastian Krzyszkowiak
edb87bc2fc
cmake: make sanitizer options more streamlined and configurable 2018-12-14 02:17:27 +01:00
Sebastian Krzyszkowiak
48516aa38c
cmake: enable asan and ubsan on GCC
On Clang it doesn't like -Wl,--no-undefined option, which I don't
really want to disable.
2018-12-13 03:55:17 +01:00
Sebastian Krzyszkowiak
66caf96cc8
fix missing gamestates on macOS builds 2018-12-08 14:52:05 +01:00
Sebastian Krzyszkowiak
1e4f0d3256
fix desktop and appdata files installation 2018-12-08 03:52:45 +01:00
Sebastian Krzyszkowiak
d42955789c
clean up cmake files and import include templates into the engine 2018-12-08 03:30:09 +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
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
37994781fd
update codestyle info, move clang-tidy config into a file 2018-11-30 02:45:22 +01:00
Sebastian Krzyszkowiak
440e6c41e6
Dear ImGui integration 2018-11-29 04:37:08 +01:00