1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-17 03:12:45 +00:00
Commit graph

742 commits

Author SHA1 Message Date
Alula 4ecb11e89d
we don't need a RefCell there 2020-12-26 01:03:36 +01:00
Alula d1698d43b8
refactor the npc system and fix a bunch of shitty bugs abusing unsafe in meanwhile 2020-12-25 23:39:41 +01:00
Alula 63bfce689d
make organya sound more like in original game 2020-12-25 23:37:57 +01:00
Alula 8603086694
Replace Organya wavetable with one based on actual Cave Story samples 2020-12-21 12:57:31 +01:00
Alula a0b396326f
fix build on 32-bit systems 2020-12-21 12:56:45 +01:00
Alula 82cce198ee
Touch controls, Android support 2020-12-20 21:57:17 +01:00
Alula 3c5f5c7496
get_weapon_type_mut -> get_weapon_by_type_mut 2020-12-19 17:30:27 +01:00
Alula 87591f4a3d
add get_weapon_type_mut 2020-12-19 17:29:59 +01:00
Alula 94cb7039a8
fix font sizings 2020-12-19 02:37:55 +01:00
Alula b4d83b12f7
build fix for monster x 2020-12-19 02:36:27 +01:00
Alula 091892b339
add Monster X and some tweaks 2020-12-15 23:09:14 +01:00
Alula ff0046abbd
clearer documentation 2020-12-08 13:56:43 +01:00
Alula 084b1f09e2
reduce space width to fix textbox centering 2020-12-08 01:18:06 +01:00
Alula 71b1b79ea4
fix balrog cutscene fly out animation 2020-12-08 01:01:25 +01:00
Alula f6a1b6b6a4
Add Omega 2020-12-07 20:20:19 +01:00
Alula 4b0217a0a5
remove stray characters in bullet.rs 2020-12-07 00:48:12 +01:00
Alula 76526df400
Disable console on Windows release builds 2020-12-07 00:47:26 +01:00
Alula 749684c437
Add missing NPCs (Egg Corridor, Sand Zone, Arthur's House) 2020-12-07 00:42:58 +01:00
Alula 0292e27e11
flag documentation 2020-12-07 00:42:19 +01:00
Alula 4d1e23a032
fix snack block offset 2020-12-07 00:41:57 +01:00
Alula bafad44868
Bind RNG per-NPC, not global game state 2020-12-06 21:20:26 +01:00
Alula ad4fc4b481
recolor the water 2020-12-06 20:31:36 +01:00
Alula 035b2c2848
Do not process NPC collissions if player isn't alive 2020-12-06 16:48:43 +01:00
Alula 203a4a1180
Let CI override version displayed in menu 2020-12-06 16:41:12 +01:00
Alula 5f259b572e
rect serialization 2020-12-06 15:53:14 +01:00
Alula f00f0e39cc
add missing caret 2020-12-05 22:44:15 +01:00
Alula d2c5f2161a
make bullets aware of player who shot them 2020-12-05 22:24:38 +01:00
Alula c7622ea3b0
air hud fix 2020-12-05 21:51:59 +01:00
Alula 1180b81373
fix bullet hit glitches 2020-12-04 19:58:59 +01:00
Alula 0cb6b91198
hide player2 by default, add/drop button in debugger 2020-12-04 18:37:47 +01:00
Alula abc238dae4
fix stupid typo 2020-12-04 15:43:06 +01:00
Alula 36b2025fc4
fix live debugger not preserving second player state 2020-12-04 13:35:30 +01:00
Alula a6967eb6c7
fix post-Toroko kidnap Balrog fight bug making second player disappear 2020-12-04 13:12:07 +01:00
Alula 3b1cd80d6a
fix teleporter menu running always the first event 2020-12-04 13:00:45 +01:00
Alula a9f626c3b5
build fixes 2020-12-03 23:24:58 +01:00
Alula f103e1aa2e
Every NPC is now aware of multiple players 2020-12-03 22:06:26 +01:00
Alula e540dfb297
camera improvements 2020-12-02 12:47:40 +01:00
Alula 23c5196fde
Improved camera behavior 2020-12-02 02:19:42 +01:00
Alula 87b2df2ade
make some of the NPCs aware of second player 2020-11-30 14:31:40 +01:00
Alula d6d2df53f7
initial co-op support 2020-11-29 13:06:10 +01:00
Alula 605a858c90
Refactor input system and other stuff 2020-11-28 20:25:51 +01:00
Alula 65bc0b6b88
NPC/Camera/lighting fixes 2020-11-27 19:19:12 +01:00
Alula e97d78d516
fix grasstown critters 2020-11-27 11:56:12 +01:00
Alula 5f2968fa0b
full implementation of grasstown npcs 2020-11-26 09:41:28 +01:00
Alula e7d421f384
hide dead npcs in debug view 2020-11-25 15:15:56 +01:00
Alula cf5ee5b9c5
fix texture bleeding and object jittering 2020-11-25 08:24:38 +01:00
Alula f5c813aaab
debugger ui improvements 2020-11-25 00:08:27 +01:00
Alula d2a3a7669f
Add Igor boss 2020-11-17 11:46:51 +01:00
Alula 441edb833e
NPC refactor and switch to u16 for animation frames 2020-11-17 03:42:45 +01:00
Alula 15f961ad4f
death effect, minor tweaks 2020-11-14 02:25:37 +01:00
Alula 7db891f5a1
Water shader and motion interpolation 2020-11-07 18:17:01 +01:00
Alula 23602bde73
nuke saved bgm state if it was previously stopped 2020-11-05 23:10:15 +01:00
Alula 984299deb3
out-of-tree ggez and huge performance improvements 2020-11-05 00:25:18 +01:00
Alula 248b7915fa
add mannan 2020-11-04 18:22:38 +01:00
Alula ff723c728b
jellies and fixes for dumb bugs 2020-11-04 16:37:00 +01:00
Alula c4a87f5a64
Add complete implementation of Balfrog fight 2020-11-04 10:06:02 +01:00
Alula 30f47b17eb
boss life bar, textscript opcodes and etc. 2020-11-02 15:01:30 +01:00
Alula 6964b8d167
fix bullets breaking multiple snack blocks in a single hit 2020-11-02 11:54:17 +01:00
Alula c92224dc96
boss handling, balfrog skeleton 2020-11-02 03:20:16 +01:00
Alula c0f39e7f18
Seasonal textures support 2020-11-02 02:38:39 +01:00
Alula 69e2b00cdc
Improved camera 2020-11-01 20:39:57 +01:00
Alula 8050beed56
add <SMP 2020-11-01 20:08:52 +01:00
Alula 8d0ad30e09
add various NPCs and fixes 2020-11-01 20:05:29 +01:00
Alula 057818cfda
fix imgui scaling 2020-10-31 18:22:27 +01:00
Alula 062748d3a1
Various minor tweaks and fixes 2020-10-31 15:32:13 +01:00
Alula 2e729c4928
I SPENT A FUCKING MONTH TRYING TO FIND OUT WHY BALROG KEEPS JUMPING AND TOROKO IS NOT DAMAGING ME AND I WANT TO DIE NOW 2020-10-31 14:42:01 +01:00
Alula f892128328
Add Quote teleportation animations 2020-10-31 02:16:51 +01:00
Alula 2542376362
Implement frame interpolation for smooth 50tps experience 2020-10-30 23:47:29 +01:00
Alula 1259de8c44
Support post core fight drowning scene script 2020-10-30 20:53:14 +01:00
Alula 28da301e8c
air counter and drowning 2020-10-30 15:24:12 +01:00
Alula 43a756fcc2
Intro NPCs 2020-10-30 14:50:10 +01:00
Alula f7e7a8563e
add heart and missile pickups 2020-10-30 11:24:55 +01:00
Alula 771516f7e4
Add intro scene 2020-10-30 09:49:30 +01:00
Alula 87a3597257
Rename 'Enhanced Graphics' option to 'Lighting Effects' 2020-10-30 02:32:18 +01:00
Alula 451c3671d7
Add game saving support 2020-10-30 02:29:53 +01:00
Alula eb94343df3
allow setting custom pixel format on Canvas 2020-10-30 00:37:50 +01:00
Alula b8d3919f09
make the fps timer count frames, not events. why i'm a such idiot? 2020-10-30 00:04:27 +01:00
Alula c4b33d50b2
fuck rust, i made a typo 2020-10-29 23:49:36 +01:00
Alula a80058b141
whoops, it's a pure function 2020-10-29 23:47:21 +01:00
Alula b1186ec4be
attempt fixing audio initialization on windows 2020-10-29 23:44:23 +01:00
Alula db248e4dd9
add subpixel camera scrolling 2020-10-29 23:14:53 +01:00
Alula 72992eb4e4
more precise and less jittery game loop timing 2020-10-29 13:22:56 +01:00
Alula 4b9abc5f1e
sfx mixing fix 2020-10-27 03:47:58 +01:00
Alula ef7d534ebb
Mimiga Village is done 2020-10-27 02:05:49 +01:00
Alula 30146110b0
Merge branch 'master' of github.com:alula/doukutsu-rs 2020-10-26 09:36:31 +01:00
Alula ba06c66f01
lighting tweaks, optimizations, fan npcs 2020-10-26 09:34:54 +01:00
Alula beb7bfe3e6
some stuff related to touch controls 2020-10-20 22:45:56 +02:00
Alula 2f111919d6
Initial Android support and some ggez rewrite 2020-10-07 16:08:12 +02:00
Alula 8a478c6f72
add <TUR/<CAT/<SAT 2020-10-03 02:06:02 +02:00
Alula 46142a0efe
add moving blocks 2020-10-03 01:53:32 +02:00
Alula 705a47d61c
load teleporter slots 2020-10-03 01:52:52 +02:00
Alula b212d6f74b
boss preparations 2020-10-03 00:11:09 +02:00
Alula 698127d2c2
forcefield and key 2020-10-02 21:27:55 +02:00
Alula 3dd21e4356
improve npc physics 2020-10-02 21:27:42 +02:00
Alula 658b10ae69
completed balrog 2020-10-02 20:37:56 +02:00
Alula fbb4045f47
add fireball and snake 2020-10-02 03:30:42 +02:00
Alula 01dfb7997a
physics fixes 2020-10-01 05:06:18 +02:00
Alula 048816bfe7
balrog and lots of tweaks 2020-09-30 05:11:25 +02:00
Alula 930ac9a2fe
better lighting for dark places 2020-09-29 22:52:51 +02:00
Alula ebe070b77e
teleporter slot menu 2020-09-29 22:19:47 +02:00
Alula 69331f6925
some lighting tweaks 2020-09-29 02:58:07 +02:00
Alula ac8d27197c
various tweaks 2020-09-29 02:43:55 +02:00
Alula e54901077c
stereo mixing fix 2020-09-28 22:30:11 +02:00
Alula 8973727b93
I misunderstood <FAC flags 2020-09-26 02:03:17 +02:00
Alula e8337f14fb
directional lights lol 2020-09-26 01:48:32 +02:00
Alula c7095c2566
document/implement cs+ switch opcodes 2020-09-26 00:28:37 +02:00
Alula 4b21d9d786
add flipped face support and make the lighting switch like 2020-09-25 22:02:35 +02:00
Alula e2cfc898ac
lightmap thing 2020-09-25 21:25:40 +02:00
Alula 449a503fc5
initial switch data support 2020-09-25 19:14:52 +02:00
Alula 2b148fe3ed
fix tsc interpreter bugs and various inaccuracies 2020-09-25 14:55:28 +02:00
Drew Hutton c8db683c25 feat: add splash 2020-09-25 15:04:17 +09:30
Alula 3af34e6c97
broken jumpy balrog 2020-09-23 21:43:50 +02:00
Alula ed94343da3
fix npc leaks, new mimiga village npcs 2020-09-23 15:10:42 +02:00
Alula 49461d66fa
weapon leveling down and respective effects 2020-09-23 13:31:43 +02:00
Alula 3ac3429907
Properly working 50fps timing 2020-09-22 23:49:27 +02:00
Alula 21226da064
implement frame skipping for non-50/60 hz displays 2020-09-22 23:28:36 +02:00
Alula a6b6361842
reduce black screen delay 2020-09-22 22:43:19 +02:00
Alula 1327fe9a27
colored text and some shameless advertisting 2020-09-22 21:31:47 +02:00
Alula 0335c9766d
try making quote less jittery 2020-09-22 21:09:25 +02:00
Alula 5f6f59947c
add <LDP opcode and reorganize a bit 2020-09-22 02:01:55 +02:00
Alula 4570e33edf
implement save loading 2020-09-22 01:53:46 +02:00
Alula dd9ac33185
menu improvements 2020-09-22 00:33:16 +02:00
Alula 2b9bcd4fbb
tweak 2020-09-22 00:10:12 +02:00
Alula 2bcc0292de
add item count value, which according to people might be used by switch version? 2020-09-22 00:07:13 +02:00
Alula fc7d47a262
minor tweaks 2020-09-21 16:15:14 +02:00
Alula f87ccaf694
weapon switching 2020-09-21 01:55:52 +02:00
Alula b83f3e0288
fix npc sounds 2020-09-21 01:05:02 +02:00
Alula 9acb513fde
fix integer overflow handling in sample mixer 2020-09-20 17:37:53 +02:00
Alula 087218b4fd
resizable window and some reorganization 2020-09-20 17:27:31 +02:00
Alula ab7e8da162
add a cs+/nxengine inspired title screen 2020-09-20 03:05:41 +02:00
Alula 39d0d2d6f4
let npc access other npcs, add misery/stick toroko for shack scene 2020-09-19 17:37:32 +02:00
Alula e0b1eba88d
add toroko with stick 2020-09-19 15:20:06 +02:00
Alula e89f08804d
remove the fader, hasn't helped much 2020-09-19 15:19:50 +02:00
Alula 74010e789e
bug fixes and more accurate physics 2020-09-19 15:19:00 +02:00
Alula 3f12a54335
add all pixtone sound effects 2020-09-19 01:22:45 +02:00
Alula e50b5463f2
an attempt to make pixtone less clicky 2020-09-19 00:39:26 +02:00
Alula be6aefdd09
exp pickup sound 2020-09-17 00:44:14 +02:00
Alula 0aee3716e6
add <SOU TSC command 2020-09-16 21:55:32 +02:00
Alula 65a6e193db
add sound effects 2020-09-16 21:53:53 +02:00
Alula bc0a33cd7e
pixtone fixes 2020-09-16 21:53:42 +02:00
Alula bd3f91c1b1
concurrent sfx playback support 2020-09-16 15:31:25 +02:00
Alula c9e7fdace6
move pixtone samples to separate file 2020-09-16 15:25:28 +02:00
Alula 2a28c24538
pixtone! 2020-09-16 15:21:30 +02:00
Alula 82a51dda88
beetles! 2020-09-13 07:57:03 +02:00
Alula 2736f61e13
add smoke 2020-09-13 07:18:24 +02:00
Alula 83dc7893f4
shift-jis encoding support 2020-09-13 05:30:56 +02:00
Alula 9a7ea5be42
bullet lifetime fix 2020-09-13 02:39:43 +02:00
Alula 82511ca6b7
xp bar fixes 2020-09-13 02:29:11 +02:00
Alula 27e4d72f48
fix npc shock 2020-09-13 02:21:12 +02:00
Alula d829ece152
first cave entity fixes 2020-09-13 02:10:49 +02:00
Alula aee221107e
complete the xp and weapon leveling system 2020-09-13 01:45:36 +02:00
Alula 84ac596d50
add the fucking xp doritos 2020-09-12 23:43:27 +02:00
Alula 7b8e0abc5e
add fireballs 2020-09-12 23:43:09 +02:00
Alula 28e72ed707
force / spikes physics fixes 2020-09-12 23:41:33 +02:00
Alula a737619f56
background parallax fix 2020-09-12 07:10:48 +02:00
Alula 519c7e6349
weapons are finally functional and ready to be fully implemented 2020-09-12 06:43:29 +02:00
Alula 9c41f39d6b
sword -> blade 2020-09-12 02:46:00 +02:00
Alula e143185f5d
initial implementation of weapons and bullets 2020-09-12 02:42:44 +02:00
Alula 3df8781c25
fix nxengine stage table picking wrong npc textures 2020-09-12 00:52:20 +02:00
Alula 62cb96d4b3
bullet stuff and many cs+ workarounds 2020-09-11 18:30:18 +02:00
Alula ea3f451dba
make texture size table case insensitive 2020-09-11 14:58:50 +02:00
Alula 2b9e7151dc
equipment opcodes 2020-09-11 14:58:21 +02:00
Alula 95438d8561
weapon hud 2020-09-11 02:55:07 +02:00
Alula f4dc0def53
tsc: interaction lock fixes 2020-09-11 01:41:00 +02:00
Alula 4bac32f3a3
debugger: flag preview and bugfixes 2020-09-11 01:40:45 +02:00
Alula 931d5a58ee
implement a lot of item related opcodes and some minor bug fixes 2020-09-10 15:24:04 +02:00
Alula a94aef5e58
add <GIT item boxes 2020-09-10 14:34:42 +02:00
Alula 124f793e4c
ArmsItem.tsc is loaded ONLY in inventory lol 2020-09-10 14:09:44 +02:00
Alula 74e4c79cc2
rectangle drawing functions 2020-09-10 13:44:59 +02:00
Alula 7d41ff45ae
egg corridor npcs 2020-09-10 13:29:25 +02:00
Alula 6bcb498c5d
add inventory structure 2020-09-10 12:27:33 +02:00
Alula 41f72f3c7a
add Into<ggez::Rect> for our internal Rect<T> 2020-09-10 12:26:24 +02:00
Alula b72d0451a6
armsitem.tsc loading 2020-09-10 12:25:40 +02:00
Alula bed2641f10
life refill and <INP opcode 2020-09-10 00:21:27 +02:00
Alula ebcee73af6
forgot to add chinfish handler 2020-09-10 00:21:14 +02:00
Alula 6631774a45
minor fixes 2020-09-10 00:20:50 +02:00
Alula 3c160563d3
tsc: fix message box inaccuracies 2020-09-10 00:07:49 +02:00
Alula 308149560e
fix waterway and cave backgrounds 2020-09-10 00:02:40 +02:00
Alula e5372c71c4
first cave and npc damage 2020-09-09 18:25:39 +02:00
Alula 34d94d52c0
first cave critters and physics fixes 2020-09-09 15:28:58 +02:00
Alula d79657bb6a
physics abstraction and npc physics implementation 2020-09-09 15:06:11 +02:00
Alula 51b9184a85
tsc: overflow and broken varint reader fix 2020-09-06 17:55:07 +02:00
Alula fa342c7568
a lot of stuff and entities 2020-09-06 02:37:42 +02:00
Alula 971a9ef673
more carets 2020-09-05 06:43:14 +02:00
Alula 61b45b45af
rng inlining 2020-09-05 06:26:01 +02:00
Alula ab7902dac1
BGM lookup paths instead of one hardcoded 2020-09-05 05:31:55 +02:00
Alula 3f7174df66
tsc: yes/no confirmation box 2020-09-05 04:56:29 +02:00
Alula 4e57455a96
restore state if music has been stopped 2020-09-05 04:54:43 +02:00
Alula da9bcd3249
more entities and stuff 2020-09-05 04:09:52 +02:00
Alula f137d84a46
save prev bgm song id as well 2020-09-05 04:09:13 +02:00
Alula d335c21f50
fix bgm state restoration 2020-09-05 03:36:19 +02:00
Alula 703303d18f
fade direction fix 2020-09-05 03:14:58 +02:00
Alula 11a8cb9e83
improved and fixed rng 2020-09-05 03:03:43 +02:00
Alula cb066cbf9c
map name, camera and other fixes 2020-09-05 01:47:09 +02:00
Alula 497d29a9c4
initial npc implementation 2020-09-05 01:08:33 +02:00
Alula d83a7ecb4d
audio timescale support 2020-09-04 14:00:09 +02:00
Alula 460037ab31
my dumb ass forgot to make this public 2020-09-03 14:29:59 +02:00
Alula ba8e8d1515
implement npc data loading 2020-09-03 14:19:46 +02:00
Alula f0020870e3
add ggez errors 2020-09-03 14:19:26 +02:00
Alula c8b6395fd7
tsc: quake effect and some additional opcodes 2020-09-03 14:06:12 +02:00
Alula 69ef0f5791
stopping fix 2020-09-03 14:04:54 +02:00
Alula 510439d9ec
song state save/restore 2020-09-03 13:48:56 +02:00
Alula a4f0d8dfa4
initial organya implementation 2020-09-03 00:58:11 +02:00
Alula ff2f87133f
tsc: skip_until bug fix 2020-09-03 00:57:54 +02:00
Alula 764d00ab63
some more flags 2020-08-31 21:46:03 +02:00
Alula 8f7eb2e025
some flag naming and refactoring 2020-08-31 20:33:01 +02:00
Alula 1cb6b1bf07
switch barebones although not our focus rn 2020-08-30 15:37:54 +02:00
Alula 0090fc775b
new, smaller font 2020-08-29 09:00:09 +02:00
Alula 98fb3a24e1
implement bmfont rendering 2020-08-29 08:59:46 +02:00
Alula c21eb248ba
minimalist bmfont loader 2020-08-29 02:32:32 +02:00
Alula fd0fe7c400
tsc: do safe utf-8 conversion
Fixes crash on Windows
2020-08-28 21:57:37 +02:00
Alula ff1dca747c
game: add executable built-in virtual filesystem 2020-08-28 21:39:31 +02:00
Alula 0ace1831e2
map: use GameResult 2020-08-28 06:55:45 +02:00
Alula b680db9114
texture_set: add memory image loading function 2020-08-28 05:49:04 +02:00
Alula 647e5c73cd
texture_set: streamed image loading 2020-08-28 05:44:33 +02:00
Alula 31b149d135
game: hide hud when player control is disabled 2020-08-28 04:24:52 +02:00
Alula 1fdf66f917
tsc: complete message box opcodes 2020-08-28 04:24:18 +02:00
Alula 526523a473
more player related opcodes 2020-08-28 04:12:13 +02:00
Alula bf03c6c9a1
tsc: do not throw event redefinition error in non-strict mode 2020-08-28 03:47:50 +02:00
Alula 1758aa5740
tsc: implement fading 2020-08-28 03:41:14 +02:00
Alula c703203506
tsc: third line and non-strict mode 2020-08-28 01:34:28 +02:00
Alula fb5c5d8329
crush the fonts 2020-08-28 01:33:32 +02:00
Alula af9b69c303
tsc: stage switching 2020-08-28 00:29:10 +02:00
Alula 1d8c8fe9d0
Add Shinonome Mincho 14 font data (public domain) 2020-08-27 07:13:20 +02:00
Alula 8f908b306d
Improve TextScript VM to make it execute ingame-conversations 2020-08-27 07:12:35 +02:00
Alula 44d4bd8ea3
complete the TSC VM 2020-08-27 04:43:21 +02:00
Alula f6bba5958f
xp bar stub 2020-08-26 03:19:25 +02:00
Alula f12a619669
print out the error to console when map loading fails 2020-08-26 03:07:04 +02:00
Alula ab96582091
complete the textscript bytecode compiler 2020-08-26 03:06:21 +02:00
Alula 31db4bcc80
small refactoring 2020-08-26 01:37:42 +02:00
Alula f1e1d41931
remove ggez tests to stop them from interfering with our tests 2020-08-26 01:36:44 +02:00
Alula 6a84c732b1
initial textscript things 2020-08-23 04:17:45 +02:00
Alula ce1da83cfd
caret fix 2020-08-23 04:17:24 +02:00
Alula 139350d5e1
small refactor for ui things 2020-08-23 04:16:31 +02:00
Alula 7f37153056
snack blocks, more particles and rng 2020-08-21 07:27:26 +02:00
Alula ef9ca2e89a
add carets and fix booster 2020-08-20 20:31:47 +02:00
Alula 1993720f34
new ui, fork and strip down ggez 2020-08-19 21:11:32 +02:00
Alula 09edf27e91
revert + add imgui and stuff 2020-08-19 15:11:34 +02:00
Alula ccadb98a8a
failed refactoring lol 2020-08-19 13:21:40 +02:00
Alula ff5962d97e
NXEngine data compatibility and npc set loading 2020-08-19 03:59:16 +02:00
Alula ae45e5513c
CaveStory+ data files fixes 2020-08-19 02:55:21 +02:00
Alula b89d54251f
initial commit 2020-08-18 18:46:07 +02:00