Commit graph

14 commits

Author SHA1 Message Date
athrxx
d69a62e4e5 KYRA: (EOB) - make item table size dynamic
The original item table can overflow when playing long
enough. This code change prevents that....
2024-11-28 01:50:42 +01:00
athrxx
5109cd081f KYRA: minor cleanup
(add/rename some constants, whitespace)
2024-11-24 17:06:32 +01:00
Vladimir Vrzić
e31c7ff1d4 KYRA: (EOB) - Fix projectile weapon damage
Note: All changes are behind the "Faithful AD&D rules" flag.

Fix a bug in the original gmaes, where projectiles would deal
an incorrect amount of damage (always 1d1):

- projectile weapon id is attached to a FlyingObject and checked
  when FlyingObject hits a monster or the party

- bump the save format version to add a new field to FlyingObject
  (the new 16 bit field replaces the existing unused 8 bit field)

- fix a bug in the original code where a projectile weapon thrown into
  the 3D view would inflict projectile damage (should be 1d1)

- patch EotB 1 Bow and Sling damage according to AD&D 2nd Ed rules

Elves get +1 to hit bonus with bows and swords, according to manual

Patch EotB 1 NPCs Beohram (paladin) and Ileria (female)
2024-10-23 21:58:38 +02:00
Vladimir Vrzić
46c194001d KYRA: (EOB) - Hit Point rule enahncements
For accurate HP calculation, we track the HP dividend.
When leveling up, we divide the dividend by the number
of character subclasses to get the total Hit Points.

- Added field hitPointsDividend
- Cleaned up and refactored HP calculation code
- Extracted method rollHitDie
- Updated character generation to use enhanced rules
2024-07-23 23:48:00 +02:00
athrxx
99d8f6146c KYRA: (EOB II/PC98) - adapt file formats
(The quickstart party can now already be loaded)
2023-05-12 14:50:56 +02:00
athrxx
2b05ca1dbc KYRA: (LoK/KOR) - implement Hangul save name input
(The names will be displayed incorrectly in the GMM/launcher even if the GUI language is set to Korean. We don't have the required encoding (apparently ks_c_5601-1987 or similar).
2022-06-13 19:38:34 +02:00
athrxx
d8004bebba KYRA: add more metadata to savegames
(creation date/time and playing time)
2022-05-22 19:57:46 +02:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
da751361a4 KYRA: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
athrxx
711c7f7663 KYRA: upgrade save descriptions to UTF-8
Bump save version. New games will be UTF-8, the old ones will still be correctly decoded from kISO8859_1. Tested and adapted all targets (not the fan translations).
2021-07-13 01:34:40 +02:00
athrxx
7695fb92af KYRA: (EOB/SegaCD) - allow party transfer to EOB II
This slightly modifiies the save code so that parties created with the SegaCD version (from save files created after this commit) can be imported into any version of EOB II.

Also fix a memory leak in party transfer code.
2020-10-06 19:13:56 +02:00
Paul Gilbert
429cfd1cad KYRA: Remove autosave code 2020-02-16 15:44:28 -08:00
athrxx
4e7e0344de KYRA: (EOB) - fix party transfer from PC-98 to other platforms
Unlike the original, ScummVM intends to allow EOB1 party transfer between any versions (Amiga->DOS or vice versa). Now, this also works from PC-98 to non-PC-98.
2019-12-20 23:55:05 +01:00
athrxx
1dfdcc7252 KYRA: cleanup dir
Reorganize all files in sub directories. The file placement isn't as intuitive as it might be for other engines, which is probably the reason why this hasn't been done before.
2019-03-06 20:48:15 +01:00
Renamed from engines/kyra/saveload.cpp (Browse further)