Commit Graph

493 Commits

Author SHA1 Message Date
Peter Ferrie
723769a66a
Merge d4d3c59b8c into 24fd496d31 2024-04-23 10:08:43 -05:00
Martin Haye
208d4c01f0 Fix use-after-free of pCurMap after tile engine freed it. 2023-10-15 12:44:34 -07:00
Peter Ferrie
d4d3c59b8c defer case check to be faster 2023-09-03 15:08:16 -07:00
Peter Ferrie
c540527370 another fix 2023-09-03 14:42:51 -07:00
Peter Ferrie
3f359cf3ff fix a couple of bugs, compare a bit faster 2023-09-03 14:41:10 -07:00
Martin Haye
77ea50ea54 Added note about how pack size limit gets initialized 2023-07-23 09:44:21 -07:00
Martin Haye
eb2ecf0d83 Initial import code. Very much not working. 2022-04-07 08:46:27 -07:00
Martin Haye
239761fcfd Fixed ProRWTS when reading a long subdirectory. Added support for doing that, to facilitate importing Nox characters. 2022-01-14 08:22:26 -08:00
Martin Haye
46f9cafa53 Fixed record mode so it functions on a system without a printer, enabling playback in Jace. 2021-11-05 09:55:36 -07:00
Martin Haye
6a2e1356e3 Re-added bonk sound when you hit a wall 2021-10-19 08:01:00 -07:00
Martin Haye
805cfbea02 Null ptr check when comparing strings 2021-10-19 07:58:11 -07:00
Martin Haye
435e8e1473 Added an 'Emu credit' line on the title screen, which only displays when running in Jace. 2021-10-13 06:21:01 -07:00
Martin Haye
7523320bce Replaced beep with low-pitch bonk 2021-10-12 08:45:49 -07:00
Martin Haye
e6aae21937 Added sound generator, and a godmode tester for it. 2021-10-10 09:30:40 -07:00
Martin Haye
591369b7fb Fairly extensive change to how stats work: get-stat now has a context; if using a skill, it's just that player's stat; otherwise, it's the max stat for anyone in the party. 2021-09-14 08:24:16 -07:00
Martin Haye
9e7606e669 Fix giving of ammo to default to store amount rather than zero. 2021-09-12 10:05:40 -07:00
Martin Haye
55dd3693a0 Increase level cap to 11. 2021-09-09 10:26:48 -07:00
Martin Haye
7443487a7d Resume map music when exiting combat. 2021-09-07 09:08:28 -07:00
Martin Haye
026e1c2e5d Fixed XP gaining for party. Improvements to melee weapon combat, and to hand-to-hand combat 2021-09-04 08:05:13 -07:00
Martin Haye
02ec4842ba Avoid ending screens on disk 1 - this saves a lot of space overall due to increased shared portraits. Allow diskLimit=8 to mean 'no limit' (zero also works). Fix problems with stat getting. Fix extra UI frame image when switching full screens. 2021-09-03 08:46:24 -07:00
Martin Haye
9918abef45 New adjustPartyStat method, used for XP and other things. 2021-09-02 09:22:17 -07:00
Martin Haye
118e0f6f09 Apply intelligence boost to all XP gains 2021-08-17 07:58:46 -07:00
Martin Haye
f8a26420c3 Properly enforce level cap, instead of going wild at level 10. 2021-08-07 09:36:26 -07:00
Martin Haye
d39ef89c86 Stamina now immediately increases health. At level-up, stam/2 + 2d6 is added (instead of stam + 2d6) 2021-08-05 09:47:25 -07:00
Martin Haye
f47713b4e0 Added support for playing sounds via emulator. 2021-04-22 08:52:57 -07:00
Martin Haye
8e0c2d76c5 Fixed 'hand-to-hand' string to contain dashes. 2021-04-17 07:57:52 -07:00
Martin Haye
44dc06287e Inhibit interrupts when calling ProRWTS 2021-03-02 17:41:14 -08:00
Martin Haye
3762cc5edb Pack non-required global scripts on their map disk rather than disk 1, because disk 1 got too tight. 2021-01-25 07:06:24 -08:00
Martin Haye
8933f2ef38 Proper support for setting/increasing/decreasing stats by a variable amount. 2021-01-05 08:50:09 -08:00
Martin Haye
2fb2f3660f Added global bank balance stat. 2020-12-31 11:09:53 -08:00
Martin Haye
be2ca780ba Removed help prompt since Seth has it. Updated keys for automap scrolling. 2020-09-08 11:25:53 -07:00
Martin Haye
2de27ed7e0 Fixed bug that was tricky to find: when clock was advanced while in a portrait-showing script, things got corrupted. 2020-08-24 09:57:22 -07:00
Martin Haye
91be4d56bf Implemented auto-save, and sped up saving in general. Fixes for the improved help screen. 2020-08-22 10:50:45 -07:00
Martin Haye
7b9a9b4eb6 Remapped some keys to make them more obvious for help screen. 2020-08-21 08:06:19 -07:00
Martin Haye
65069b932e Added help prompt on load or new, and move mode prompt on new game. 2020-07-28 07:31:07 -07:00
Martin Haye
a520c90646 Advance time a little after combat. 2020-07-07 09:13:59 -07:00
Martin Haye
7c911c34c3 Took out temporary automap checking (but left it commented out in case we need it again later). Fixed story mode crash on disk-limited version. Added healing over time. 2020-07-07 08:33:59 -07:00
Martin Haye
05f922aa87 Show 'Blocked' instead of beeping when you can't move to a square. 2020-06-20 16:09:20 -07:00
Martin Haye
d9e2011671 More reworking of title screen. Finished initial version of disk limiting. 2020-06-17 12:42:43 -07:00
Martin Haye
72f9827229 Adding disk limit and copyright message. Also fixed some plural matching problems. 2020-06-15 07:21:37 -07:00
Martin Haye
0e5ce285fe Memory rejigger to leave more room for title screen. 2020-06-07 10:14:43 -07:00
Martin Haye
ccd7f269b1 Don't call flipToPage1 until renderer is loaded. 2020-06-05 13:18:16 -07:00
Martin Haye
9e93360d11 Save memory during automap display by packing small tilesets separately from regular tilesets. 2020-05-25 13:32:51 -07:00
Martin Haye
18031e182d Fixed bug: pModUtil3d was hanging around after memory reset. 2020-05-22 14:35:25 -07:00
Martin Haye
cf6b5d2b31 Fix hard-to-find return-to-different-world bug. 2020-03-15 12:33:21 -07:00
Martin Haye
74f81a89a5 Fix animation showing over inventory screen. Fix mini powder keg in combat. 2020-03-05 07:22:22 -08:00
Martin Haye
a1558fd0f8 Animated 2D tiles now working. 2020-02-26 08:34:22 -08:00
Martin Haye
a134b1cde7 Centralized the complex logic of giving an item to the party. Fixed selling of countable items. 2020-02-13 08:01:27 -08:00
Martin Haye
562a1bf285 Finished the item-generation split refactor. 2020-01-22 09:44:18 -08:00
Martin Haye
691fc35c40 Refactored generated items into separate weapons/armor/misc modules, because the combined module has been very unwieldy for quite a while. 2020-01-22 09:10:25 -08:00