Commit graph

1756 commits

Author SHA1 Message Date
Andrei Alexeyev
56dc699e62 meson: add blackjack and hookers 2017-12-21 03:58:54 +01:00
Andrei Alexeyev
ff59b646e1 fix missing sources 2017-12-21 03:58:54 +01:00
Andrei Alexeyev
0dcbc6bcf4 meson: untested macOS bundle generation, bunch of other crap (WIP) 2017-12-21 03:58:54 +01:00
Andrei Alexeyev
29acd5f58a meson: intel intrinsics, various improvements 2017-12-21 03:58:54 +01:00
Martin Herkt
406b8c8ba6 win: fix clash with RELATIVE #define in wingdi.h 2017-12-21 03:58:54 +01:00
Martin Herkt
685b1b947d Replace CMake build system with Meson
No I will not try and keep both systems working. CMake should GTFO.
2017-12-21 03:58:54 +01:00
Andrei Alexeyev
bae77d38e8
run update-copyright.py 2017-12-20 20:53:09 +02:00
Martin Herkt
bf1606deba
stage events: spelling 2017-12-20 15:24:59 +01:00
laochailan
e7520d47c2
fix iku induction/cathode timeouts 2017-12-19 19:04:50 +01:00
Andrei Alexeyev
6e0e564cfb
start_game_internal: don't alloc an extra MenuData for saverpy menu 2017-12-18 18:39:03 +02:00
Andrei Alexeyev
068b484394
Fix crashes with replay saving disabled
We always record the replay now, even if "save replays" is set to
"never". In addition to fixing the crash bugs, changing this setting
mid-game also works correctly now.
2017-12-18 18:34:10 +02:00
Andrei Alexeyev
538b6e17cb
set gamepad deadzone to 10% by default 2017-12-18 18:07:02 +02:00
laochailan
309a951b90
increased stage 4 bullet density 2017-12-17 12:25:43 +01:00
laochailan
42368a66dd
break down long ending line/remove left over \n from dialog 2017-12-17 11:34:40 +01:00
laochailan
f47eb5f574
remove unused player_run_bomb_logic hack 2017-12-17 09:38:38 +01:00
laochailan
6b6428662a
properly stop bomb shake view 2017-12-17 09:38:38 +01:00
Andrei Alexeyev
814bdac177
display bgm title in spellpractice; remove irrelevant old hack 2017-12-17 02:13:10 +02:00
Andrei Alexeyev
6d8fcfd88e
s/Gensokyo/Gensōkyō/ 2017-12-17 02:03:38 +02:00
Andrei Alexeyev
c11afa967d
add ending bgm 2017-12-17 02:00:06 +02:00
Andrei Alexeyev
fea9a5ee31
fix gamepad input braindeath 2017-12-16 23:19:49 +02:00
laochailan
55cf0de19f
symmetrize the card busters in stage4 post mid 2017-12-16 11:50:51 +01:00
laochailan
c006307e3c
stage 4 changes 2017-12-16 11:45:40 +01:00
Andrei Alexeyev
3d5c4707c3
fix some preloading issues 2017-12-14 17:07:24 +02:00
Andrei Alexeyev
6c8f304a9c
fix accelerated crc32 never being used 2017-12-14 09:46:48 +02:00
Andrei Alexeyev
276759d0fd
aggressive caching of rendered text 2017-12-14 05:48:30 +02:00
Andrei Alexeyev
8c14aac51c
fix objectpool release 2017-12-14 05:05:01 +02:00
Andrei Alexeyev
12733cdda6
remove unused function 2017-12-13 21:11:30 +02:00
Andrei Alexeyev
abbc62b49c
object pools 2017-12-13 21:08:23 +02:00
Andrei Alexeyev
ca98b39216
framerate graphs; option to turn off compensation 2017-12-11 20:56:46 +02:00
laochailan
5956997796
do a thing with kurumi bloody danmaku 2017-12-10 19:53:00 +01:00
laochailan
9f8ce47107
aligned the HUD text to pixels as much as possible 2017-12-10 16:19:21 +01:00
laochailan
efa4fd57f5
forgot TOE 2017-12-10 16:09:31 +01:00
laochailan
12b72df090
stage 6 sounds! 2017-12-10 15:58:13 +01:00
Andrei Alexeyev
643b9444f3
post-rebase cleanup 2017-12-10 10:57:12 +02:00
Andrei Alexeyev
7dbee96dc1
Buff MarisaA lasers 2017-12-10 10:54:44 +02:00
laochailan
682640a6bd
fix silly time normalization mistakes 2017-12-10 08:53:48 +01:00
laochailan
eebfbde7c3
missing resource 2017-12-10 08:53:47 +01:00
laochailan
9869c7dc5a
youmu bomb renewal 2017-12-10 08:53:47 +01:00
laochailan
2a0f9e6486
forgot that apply_shader_rules swaps the fbos already 2017-12-10 08:53:47 +01:00
laochailan
1fe86e4445
fix integer division 2017-12-10 08:53:47 +01:00
laochailan
28b4ec4449
wip youmu a bomb 2017-12-10 08:53:47 +01:00
laochailan
fd65e922fd
marisa b new bomb 2017-12-10 08:51:41 +01:00
laochailan
be785e963c
started marisa b bomb 2017-12-10 08:44:44 +01:00
laochailan
cb0a1f3eb1
tweaked the masterspark effect 2017-12-10 08:44:44 +01:00
laochailan
16f443e54c
redo masterspark 2017-12-10 08:44:37 +01:00
Andrei Alexeyev
e7b1b9f22a
MarisaB changes 2017-12-06 01:34:15 +02:00
Andrei Alexeyev
a3404b30f6
fix math fail 2017-12-06 01:34:14 +02:00
Andrei Alexeyev
8b6d1eafc8
YoumuA changes 2017-12-06 01:34:14 +02:00
Andrei Alexeyev
7d98edaa54
extended youmuA controls: release fire to recall myon 2017-12-06 01:34:14 +02:00
Andrei Alexeyev
db632a710a
YoumuB changes 2017-12-06 01:34:14 +02:00
Andrei Alexeyev
b20b0573ee
improve the texture filtering workaround
take edges/texture wrapping into account
2017-12-05 05:45:43 +02:00
Andrei Alexeyev
8a965d66fc
stage 1 adjustments 2017-12-05 01:05:20 +02:00
Andrei Alexeyev
52cbceacd6
use a better RNG algorithm (CMWC) 2017-12-04 05:26:27 +02:00
Andrei Alexeyev
4702892ed1
fix out of bounds array access 2017-12-04 00:08:16 +02:00
Andrei Alexeyev
c677373fac
fix life/bomb fragments going past the limit 2017-12-01 15:09:30 +02:00
Andrei Alexeyev
072f15ddc5
workaround for filtering artifacts 2017-12-01 15:05:01 +02:00
Andrei Alexeyev
8fbd48d2dd
remove cotire 2017-11-25 17:56:11 +02:00
Andrei Alexeyev
de2223d800
add option to disable pause on focus loss
ping @makise-homura
2017-11-24 16:39:07 +02:00
Andrei Alexeyev
f8be292802
make my windows cross-compiler (gcc 7.2 from mxe) shut the fuck up 2017-11-24 16:23:24 +02:00
Andrei Alexeyev
3e8982d0ad
fix build for SDL <= 2.0.5 2017-11-24 01:42:23 +02:00
Andrei Alexeyev
552d807be1
remove unneeded resource_wait_for_async_load call 2017-11-23 18:38:58 +02:00
Andrei Alexeyev
db8dd8ad7c
desperate optimizations
i even used a profiler
2017-11-23 18:23:30 +02:00
Andrei Alexeyev
a3c8e066b7
shaders for iku lasers; shader error handling 2017-11-23 09:42:26 +02:00
Andrei Alexeyev
2417763155
fix boss indicator 2017-11-23 06:02:54 +02:00
Andrei Alexeyev
ec0a2f277d
HUD improvements 2017-11-23 04:25:53 +02:00
Andrei Alexeyev
4b53d65c23
enable GL_TEXTURE_2D by default to reduce API calls 2017-11-22 02:05:42 +02:00
makise-homura
7314eb935e Removed breaks after returns to avoid compiler warnings about unreachable code 2017-11-22 00:02:32 +03:00
Andrei Alexeyev
7b53d9e731
redesign list api 2017-11-21 16:45:01 +02:00
Andrei Alexeyev
adc176e472
no collision with enemies that haven't fully faded in 2017-11-21 10:10:54 +02:00
Andrei Alexeyev
0c482f9814
fix macOS build 2017-11-20 12:08:57 +02:00
Andrei Alexeyev
db59eddaf2
proper fix for SDL_mixer initialization issue
fixes #94

see: https://bugs.archlinux.org/task/56303#comment163521
2017-11-20 03:46:27 +02:00
laochailan
a86b8949ee
fix some ending formatting and make extra unlock on easy 2017-11-19 11:43:13 +01:00
laochailan
ee39a60ef5
new Lalasa endings 2017-11-19 11:23:07 +01:00
laochailan
0b8f9e7a14
fix a typo in a disappointed comment 2017-11-19 11:17:33 +01:00
laochailan
847f18d0ed
workaround for SDL_Mixer 2.0.2
[angry complaints about upstream]
2017-11-19 11:13:42 +01:00
Andrei Alexeyev
692ab286a3
fix capitalization of Occam's Razor 2017-11-19 09:51:43 +02:00
Andrei Alexeyev
8eb17210a4
add menu and stage5boss bgms; revamp bgms (details below)
- Re-normalize all BGMs to the same volume
    - Merge intro/loop parts into a single file
    - For BGMs with intros, specify the loop point in the .bgm file

closes #99
2017-11-18 03:45:26 +02:00
Andrei Alexeyev
85c4fb8ece
fix link error for dynamically linked windows builds 2017-11-17 22:40:34 +02:00
Andrei Alexeyev
fbf61e5ef4
fade marisaA's laser emitters when too close to bullets 2017-11-17 02:07:52 +02:00
Andrei Alexeyev
3fb9edf0fa
audio(SDL_mixer): we only care about ogg 2017-11-17 01:41:01 +02:00
Andrei Alexeyev
76ee80b6da
(attempt to) prevent draw code from altering state 2017-11-16 22:25:03 +02:00
Andrei Alexeyev
d34ccb9beb
fix and tweak stage 2 background 2017-11-15 22:19:12 +02:00
Andrei Alexeyev
e9c41ab17c
remove bad play_sound() 2017-11-15 05:52:03 +02:00
Andrei Alexeyev
36f4182829
update stage bg state separately from drawing 2017-11-15 05:45:41 +02:00
Andrei Alexeyev
6eac178c39
use a shared 3D context for all stages (and credits) 2017-11-14 03:41:08 +02:00
Martin Herkt
13e5e27493
resource: Rename music functions → bgm
This avoids name clashes when linking statically with SDL2_mixer.
2017-11-13 13:51:23 +01:00
Andrei Alexeyev
f5956675c2
fix snow halation crash
fixes #96
2017-11-12 21:39:55 +02:00
Andrei Alexeyev
117eafd482
wip stage5 stuff; some new sounds 2017-11-12 19:16:15 +02:00
Martin Herkt
119535eda4
Fix symbol clashes
Happens to remove some duplicate code as well.
2017-11-12 04:51:04 +01:00
Andrei Alexeyev
5d4c750168
made min. distance from plr to viewport a constant 2017-11-11 23:44:54 +02:00
Andrei Alexeyev
fc57c9fe84
more robust sdl videodriver selection 2017-11-11 21:37:24 +02:00
Andrei Alexeyev
499259512b
fix fullscreen/window management issues 2017-11-11 20:47:32 +02:00
laochailan
f8ef884782
increased the number of stars in stage 6
and used a more predictable way to get a uniform distribution on a
sphere i guess.
2017-11-11 18:50:24 +01:00
Andrei Alexeyev
b61ef0bffc
more strict warnings; fixed some subtle bugs 2017-11-11 19:33:44 +02:00
Andrei Alexeyev
60458541f0
fix projectile radius formula for hit testing 2017-11-11 17:39:06 +02:00
Andrei Alexeyev
586af9a6b0
huge projectile API changes and optimizations (#93) 2017-11-10 22:49:16 +02:00
Andrei Alexeyev
fa69e96643
make sure strtok_r doesn't clash with the system version 2017-11-10 22:26:09 +02:00
Andrei Alexeyev
3413bd92e7
many vfs improvements
* There's no distinction between "temp" and "perm" nodes anymore.
    All nodes are allocated with 1 reference belonging to the
    vfs_alloc() caller.

    * VFSNode pointers retrieved by any API that returns one (most
    notably vfs_locate) are guaranteed to have exactly one reference
    belonging to the caller. What this means is that you must always
    decref them when you're done using them.

    If you're implementing such an API (e.g. a custom locate), remember
    to incref any persistent nodes you return.

    * Passing a VFSNode* to anything that successfully consumes one (for
    example, vfs_mount) transfers ownership of the reference to the
    consumer. In other words, consumers do not incref your nodes, but
    they will decref them once they don't need them anymore. If you want
    to keep the node around, then you must incref it first.

    * Bunch of other stuff.

"Ownership" is an abstract concept in this context. Basically it just
means "cleanup responsibility".
2017-11-10 21:49:54 +02:00
laochailan
d6333752a1
removed leftover debug logs in stage 3 2017-11-08 19:08:09 +01:00
laochailan
160431cc05
correct typo and remove linebreaks from stage dialog 2017-11-08 19:03:55 +01:00