Andrei "Akari" Alexeyev
de52c87af7
finally, a spell practice menu
2017-02-19 03:28:00 +01:00
Andrei "Akari" Alexeyev
02c0b50bdb
progress: add stage/difficulty unlock cmd, improve writing routine
2017-02-19 03:28:00 +01:00
Andrei "Akari" Alexeyev
347f143a54
Unlock spellcards on story mode encounter
...
But only when not using continues!
2017-02-19 03:28:00 +01:00
Andrei "Akari" Alexeyev
b900263611
StageProgress API
2017-02-19 03:28:00 +01:00
Andrei "Akari" Alexeyev
2643c4df01
Initial support for persistent player progress storage
...
Only implements unlockable stages for now, but designed to be extensible.
See comments in progress.c for detauls.
2017-02-19 03:28:00 +01:00
Andrei "Akari" Alexeyev
b68b70a562
Add stage_get_by_spellcard()
2017-02-19 03:28:00 +01:00
Andrei "Akari" Alexeyev
16cbec9ca1
Special rules for spell practice mode stages
2017-02-19 03:28:00 +01:00
Andrei "Akari" Alexeyev
1e6011433c
Initial support for single-spell stages
...
Adapted all of the current spellcards into spellstages, which will
later be used in a spell practice mode a-la IN.
For now they are only accessible through the stage select menu or
by specifying their ID on the command line; both available only
if you built with -DTAISEI_DEBUG=1
2017-02-19 03:28:00 +01:00
Andrei "Akari" Alexeyev
1f6faed3fc
Draw the charselect and diffselect menu titles correctly
2017-02-19 04:16:05 +02:00
Martin Herkt
4e32f164e9
Texts: fix a few remaining issues
2017-02-19 02:15:38 +01:00
Martin Herkt
896851fcb1
Edit story.txt and in-game texts
...
I’m not a native speaker, nor am I a talented writer,
so this is all I can do for now.
2017-02-19 01:35:18 +01:00
Martin Herkt
b02907628f
Use UTF-8 and hepburn romanization
...
We may be weeaboos, but at least we’re *educated* weeaboos.
2017-02-18 19:40:12 +01:00
Andrei "Akari" Alexeyev
4a6f680734
Set RELATIVE for Apple systems
2017-02-18 11:38:50 +02:00
Andrei "Akari" Alexeyev
eff4e311f7
Fallback to ARB_draw_instanced if EXT_draw_instanced is not available
...
Also fixed some osx and mingw cross-compile warnings
2017-02-18 11:24:45 +02:00
Andrei "Akari" Alexeyev
0f36def594
gitignore osxbuild/
2017-02-18 10:44:19 +02:00
Andrei "Akari" Alexeyev
8947d5a926
Use pkg-config for libpng as well
...
find_package fails at least on osxcross
2017-02-18 10:43:19 +02:00
Andrei "Akari" Alexeyev
75edcec4c9
CMake cleanup
...
Use pkg-config to find the SDL2-related packages. Seems to work better
for cross-compilation environments, at least for me.
Removed the freetype dependency. It's for SDL2_ttf, we don't directly
use it.
Zlib is a dependency of libpng, but I've let it remain an explicit
dependency for now, because my hopefully-soon-to-be-merged PR uses a
function from it.
2017-02-18 08:47:20 +02:00
Andrei "Akari" Alexeyev
f92da23638
config: preserve unknown options in the config file
2017-02-18 06:18:13 +02:00
Martin Herkt
53724458c5
audio: make mixer chunk size configurable
...
Default to 1024 samples.
2017-02-18 04:21:33 +01:00
Martin Herkt
5365d79705
resource: refactor and fix audio extension whitelist
...
Previous code compared 4-character extensions incorrectly.
2017-02-18 04:21:33 +01:00
makise-homura
224ebd641f
Integral complex constant fixed
2017-02-18 04:21:33 +01:00
makise-homura
3e83967bf2
Migrate from OpenAL/ALUT to SDL2_mixer
2017-02-18 04:21:33 +01:00
Martin Herkt
4401c1d6a5
sfx: make generic_shot less irritating
...
De-ess and tighter envelope.
2017-02-18 04:03:13 +01:00
Andrei "Akari" Alexeyev
ba64c5cfb8
Fixed some warnings that mingw spits out
2017-02-17 21:27:22 +02:00
Andrei "Akari" Alexeyev
fcdd123afb
Disable sfx/bgm volume sliders when sfx/bgm is off
2017-02-17 21:16:38 +02:00
Andrei "Akari" Alexeyev
dfa8d0df3d
Hide the noshader option in release builds
...
Fixes #60
2017-02-17 21:11:20 +02:00
Andrei Alexeyev
d71c605f4f
Merge pull request #61 from laochailan/configrefactor
...
Config refactor: callbacks and macro hell
2017-02-17 21:09:10 +02:00
Andrei "Akari" Alexeyev
802cacb799
Config callback system
...
No more hacks in options menu code to update stuff when a setting
changes
2017-02-17 20:23:22 +02:00
Andrei "Akari" Alexeyev
32f7edd24e
Refactored config into a macro hell
2017-02-17 18:03:49 +02:00
Andrei "Akari" Alexeyev
de6deaca64
Windows: show a messagebox on error
...
Also write errors and warnings to stderr rather than stdout
2017-02-17 12:24:05 +02:00
Andrei "Akari" Alexeyev
149b62c37c
Pass a pointer to the MenuData structure to MenuActions
2017-02-16 18:55:46 +02:00
Andrei "Akari" Alexeyev
f06d101399
Why was the stage menu transient? fixed
2017-02-16 18:19:52 +02:00
Andrei "Akari" Alexeyev
8668021710
Replaced strncat/strncpy with strlcat/strlcpy
...
The strncat/strncpy functions have dangerously counter-intuitive
semantics. They are meant to be used with fixed-width,
non-null-terminated strings, which is in, 99% cases, not what you want.
The strlcat/strlcpy ones are non-standard, however SDL provides its own
implementations on platforms that do not have them.
2017-02-16 08:29:18 +02:00
Andrei "Akari" Alexeyev
7e531092db
moved getenvint into the ifndef guard
2017-02-16 08:00:28 +02:00
Andrei "Akari" Alexeyev
0be20dab0d
Improved replay consistency
2017-02-15 19:34:47 +02:00
Andrei "Akari" Alexeyev
61b2488b50
"skip stage" button
2017-02-15 19:10:56 +02:00
Andrei "Akari" Alexeyev
1380015e70
Properly reset player when advancing to next stage
...
Fixes the bomb key failing and possibly other things
2017-02-15 18:09:51 +02:00
Martin Herkt
582b2f9dd9
Fix minor pointer/memory management issues
2017-02-15 14:35:07 +01:00
Andrei "Akari" Alexeyev
67b0c4da5e
fixed screenshot crash when windows is resized
2017-02-15 14:40:35 +02:00
Andrei "Akari" Alexeyev
84cb01d733
Disable global keybindings when handling text
...
Fixes #58
2017-02-15 13:41:53 +02:00
Andrei "Akari" Alexeyev
c61987d8c3
Fixed issue #57
2017-02-15 06:11:41 +02:00
Andrei "Akari" Alexeyev
81fe93a033
fixed a buffer overflow in options menu
2017-02-15 00:33:10 +02:00
Andrei "Akari" Alexeyev
8779cb3c96
uncorrupted the ico file
2017-02-13 01:37:38 +02:00
Andrei "Akari" Alexeyev
f2485d5cb8
stupid menu bullshit
2017-02-12 05:45:19 +02:00
Andrei "Akari" Alexeyev
c1bf52ab0b
Power penalty adjustments
...
- Lose 30%, drop 15%
- Drop at least 2 power items
- Improved scattering of drops
- No penalty in god mode
2017-02-12 02:11:25 +02:00
Andrew "Akari" Alexeyew
6adc079ecd
Power penalty for dying: lose 1/2, drop 1/3
2017-02-12 00:23:01 +02:00
Andrei "Akari" Alexeyev
d524909f3a
Revert "Lose 25% of current power on death"
...
This reverts commit 6c6e4d8484
.
2017-02-12 00:13:23 +02:00
Andrei "Akari" Alexeyev
6c6e4d8484
Lose 25% of current power on death
...
To make power at least somewhat relevant until we're at the rebalancing phase
2017-02-11 06:09:13 +02:00
Andrei "Akari" Alexeyev
9a7a874783
Use the standard bool type instead of that stupid enum
...
Also removed all of the annoying trailing tabs/whitespaces
2017-02-11 05:56:47 +02:00
Andrei "Akari" Alexeyev
985b6d1dd6
Block iddqd inputs correctly in release builds
2017-02-11 03:56:34 +02:00