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
|
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 |
|
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
|
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 |
|
Sebastian Krzyszkowiak
|
ca02e4ed2a
|
Re-disable randomness-related diagnostics in clang-tidy
MinGW does not contain srandom/random by default.
|
2018-10-10 22:30:27 +02:00 |
|
Sebastian Krzyszkowiak
|
d20b81d104
|
update clang-tidy diagnostics
|
2018-10-10 21:37:54 +02:00 |
|
Sebastian Krzyszkowiak
|
3e7d9812a3
|
Refactor the engine's main loop.
|
2018-09-10 03:22:45 +02:00 |
|
Sebastian Krzyszkowiak
|
9580873b16
|
emscripten: adjust to support proper builds with all dependencies
|
2018-09-06 04:29:16 +02:00 |
|
Sebastian Krzyszkowiak
|
1f71f03ef8
|
add LIBSUPERDERPY_GAME_GIT_REV define for game's git revision
|
2018-08-05 00:50:54 +02:00 |
|
Sebastian Krzyszkowiak
|
51d9fad1d6
|
export libsuperderpy's git revision and print on initializing
|
2018-08-04 18:25:30 +02:00 |
|
Sebastian Krzyszkowiak
|
c7fbf08e12
|
android: update default target per recent google play requirements and add explicit supports-screens tag
|
2018-08-01 20:21:47 +02:00 |
|
Sebastian Krzyszkowiak
|
74e2d863b9
|
android: don't install unneccesary files into assets directory
|
2018-07-19 01:28:53 +02:00 |
|
Sebastian Krzyszkowiak
|
4a60bfdcf9
|
enable -ffast-math
|
2018-07-18 19:45:30 +02:00 |
|
Sebastian Krzyszkowiak
|
dba2ef80da
|
add correct file extension for wasm gamestates
|
2018-07-06 23:17:09 +02:00 |
|
Sebastian Krzyszkowiak
|
4f64b83e01
|
cmake: add an ability to make a WebAssembly build with emscripten
|
2018-07-06 22:07:13 +02:00 |
|
Sebastian Krzyszkowiak
|
314588640e
|
cmake: add option to link dependencies statically
|
2018-07-06 15:43:56 +02:00 |
|
Sebastian Krzyszkowiak
|
a4bd7fbb0f
|
cmake: add ability to use WebGL 2 with Emscripten
|
2018-07-06 04:04:05 +02:00 |
|
Sebastian Krzyszkowiak
|
7872542f2b
|
emscripten: disable WASM
We're not WASM ready, while newer Emscripten enabled it by default.
|
2018-07-06 03:55:07 +02:00 |
|
Sebastian Krzyszkowiak
|
a29c7b4d2c
|
fix clang-tidy issues
|
2018-07-04 19:08:39 +02:00 |
|
Sebastian Krzyszkowiak
|
9266ab65b6
|
cmake: don't use clang-tidy on MinGW
It doesn't work well.
|
2018-07-04 18:51:52 +02:00 |
|
Sebastian Krzyszkowiak
|
62316e50c2
|
cmake: change register_gamestate API to take explicit list of source files
|
2018-05-16 20:51:38 +02:00 |
|
Sebastian Krzyszkowiak
|
73aece30e1
|
fix data directory path on Android
|
2017-09-25 00:36:45 +02:00 |
|
Sebastian Krzyszkowiak
|
b4c7edf335
|
update code checks for clang 5.0
|
2017-09-15 20:45:46 +02:00 |
|
Sebastian Krzyszkowiak
|
ca33fd7752
|
make usage of clang-tidy configurable
|
2017-09-10 22:53:41 +02:00 |
|
Sebastian Krzyszkowiak
|
2b1248ce14
|
clang-tidy support; clang-tidy and clang-format fixes
|
2017-09-10 21:35:14 +02:00 |
|
Sebastian Krzyszkowiak
|
450e33b2e3
|
support of loading in separate thread; thread-safe console; various fixes from clang code model warnings
|
2017-09-09 00:11:43 +02:00 |
|
Sebastian Krzyszkowiak
|
3581c6060c
|
full emscripten support, plus flac->ogg encoding for emscripten and android
|
2017-08-24 21:09:07 +02:00 |
|
Sebastian Krzyszkowiak
|
b7346ea330
|
use leak sanitizer for debug build and break the build in case of unresolved symbols in libraries
|
2017-08-19 01:26:53 +02:00 |
|