Commit graph

658 commits

Author SHA1 Message Date
Vsevolod Kremianskii
a182063e2e refactor: Add StreamReader and StreamWriter classes 2020-11-07 23:52:53 +07:00
Vsevolod Kremianskii
74267e1123 doc: Update readme
[ci skip]
2020-11-07 15:27:29 +07:00
Vsevolod Kremianskii
67ea3085f8 fix: Set default hilight color in character menu 2020-11-07 12:59:16 +07:00
Vsevolod Kremianskii
304520473b feat: Add bare in-game options and save/load menus 2020-11-07 12:43:30 +07:00
Vsevolod Kremianskii
07d13abbeb refactor: Rename game/gui/menu to game/gui/ingame 2020-11-07 10:47:13 +07:00
Vsevolod Kremianskii
c6440d209a fix: Return shared_ptr from Area::getObjectAt 2020-11-07 09:32:56 +07:00
Vsevolod Kremianskii
7489e30215 fix: Fix looping of sound instances 2020-11-07 09:27:01 +07:00
Vsevolod Kremianskii
c911768c2a refactor: Make ObjectAction take a shared pointer for object 2020-11-07 09:07:32 +07:00
Vsevolod Kremianskii
62f8520099 refactor: Add ability to specify a default hilight color for controls 2020-11-06 17:54:26 +07:00
Vsevolod Kremianskii
a6c4a68a6a fix: Increase maximum conversation distance 2020-11-06 17:40:35 +07:00
Vsevolod Kremianskii
cd424bf6d6 fix: Hide swap weapons button in TSL 2020-11-06 17:36:26 +07:00
Vsevolod Kremianskii
e85cf09d4b fix: Return -1 from runScript if script is not found 2020-11-06 17:25:02 +07:00
Vsevolod Kremianskii
104109fa80 fix: Strip developer notes from strings in TSL 2020-11-06 16:59:08 +07:00
Vsevolod Kremianskii
3f77dca7ab feat: Add ability to change the game speed
Game can be sped up to 400% using "-" and "+" keys.
2020-11-06 16:37:32 +07:00
Vsevolod Kremianskii
e9ad268508 fix: Cleanup the in-game menus 2020-11-06 16:24:16 +07:00
Vsevolod Kremianskii
6f32092276 fix: Do not show the title bar if title is empty 2020-11-06 16:04:56 +07:00
Vsevolod Kremianskii
ea38d233b9 feat: Show title bar for the selected object 2020-11-06 15:38:02 +07:00
Vsevolod Kremianskii
f9b285ef2d fix: Fix loading party member portraits 2020-11-06 14:02:17 +07:00
Vsevolod Kremianskii
f111c9d075 feat: Load skills from the creature blueprint 2020-11-06 13:16:27 +07:00
Vsevolod Kremianskii
f735bd673d feat: Load character attributes from blueprint and during chargen 2020-11-06 13:08:23 +07:00
Vsevolod Kremianskii
8801a22eec fix: Fix control artifacts during chargen 2020-11-06 13:08:17 +07:00
Vsevolod Kremianskii
1889459982 fix: Fix party selection related crash in danm15 2020-11-05 12:30:40 +07:00
Vsevolod Kremianskii
6f8332b15f feat: Run onOpen and onFailToOpen scripts for doors 2020-11-05 02:12:09 +07:00
Vsevolod Kremianskii
c4d31c6a51 feat: Add bare versions of the remaining in-game menus 2020-11-05 01:25:52 +07:00
Vsevolod Kremianskii
0d59555718 feat: Add bare inventory and character menus, refactor in-game menus 2020-11-03 11:01:59 +07:00
Vsevolod Kremianskii
6388560d7c fix: Update GUI after updating a Module
This fixes a crash when removing selected object from the party.
2020-11-03 09:33:14 +07:00
Vsevolod Kremianskii
47bb4f0e7e chore: Add a custom program icon 2020-11-02 22:53:29 +07:00
Vsevolod Kremianskii
d0d0d547a9 feat: Fix companions spawning at the party leader position 2020-11-01 18:11:39 +07:00
Vsevolod Kremianskii
3f462b7eae fix: Fix minor in-game GUI issues 2020-11-01 16:32:35 +07:00
Vsevolod Kremianskii
bcf6665367 fix: Reset cursor on game screen change 2020-11-01 15:21:33 +07:00
Vsevolod Kremianskii
a54c3d16d3 fix: Fix object selection on mouse motion 2020-11-01 15:16:39 +07:00
Vsevolod Kremianskii
39804cb4d2 feat: Change cursor based on the selected object 2020-11-01 14:26:25 +07:00
Vsevolod Kremianskii
bfe467dab0 chore: Replace Unicode copyright symbol with "(c)"
This is to improve code portability.
2020-10-31 16:19:51 +07:00
Vsevolod Kremianskii
634d7e27a4 fix: Use up to 8 buffers per sound instance
This fixes a bug I have on Linux.
2020-10-31 16:09:29 +07:00
Vsevolod Kremianskii
f1262595d0 feat: Object activation adds actions to the action queue 2020-10-30 10:35:03 +07:00
Vsevolod Kremianskii
bd4e42fba9 fix: Fix animated camera being updated twice per frame 2020-10-30 08:36:10 +07:00
Vsevolod Kremianskii
1e45cf2f0c refactor: Refactor object clicking in the Module class 2020-10-30 08:33:57 +07:00
Vsevolod Kremianskii
d4b577041a refactor: Move call to SceneGraph::prepare to Game::drawWorld 2020-10-29 10:53:30 +07:00
Vsevolod Kremianskii
83f25e5d6b refactor: Remove UpdateContext struct 2020-10-29 10:52:12 +07:00
Vsevolod Kremianskii
cc042d98e7 refactor: Move active camera tracking to the Game class
This fixes a bug with certain objects being hidden when in conversation.
2020-10-29 10:46:11 +07:00
Vsevolod Kremianskii
b6dfb6bb88 fix: Fix use-after-free in SceneNode::removeChild 2020-10-29 09:52:03 +07:00
Vsevolod Kremianskii
1f769e90b1 build: Fix compilation error on Debian 2020-10-29 09:43:35 +07:00
Vsevolod Kremianskii
2542dc13e0 build: Implicitly link against Boost.System
This fixes a compilation error on Debian using GCC.
2020-10-29 09:31:28 +07:00
Vsevolod Kremianskii
139b5656e2 refactor: Update visiblity per frame in a centralized fashion 2020-10-28 13:00:47 +07:00
Vsevolod Kremianskii
bd41f7c9a2 refactor: Extract declarations from game/types.h
- Move MovementType to the Creature class
- Move CameraType and CameraStyle into the camera folder
- Move ObjectType into the object folder
2020-10-28 12:32:39 +07:00
Vsevolod Kremianskii
030c02b14b refactor: Use vector of pairs for class levels 2020-10-28 11:04:23 +07:00
Vsevolod Kremianskii
4c9fe75c9c fix: Fix selection reticle display when target is behind camera 2020-10-28 10:33:38 +07:00
Vsevolod Kremianskii
2bb0428add refactor: Simplify HUD updates
Get camera matrices directly from the Game object.
2020-10-28 10:26:43 +07:00
Vsevolod Kremianskii
8f3af5a5b0 feat: Add more RP definitions 2020-10-28 10:21:55 +07:00
Vsevolod Kremianskii
98e949783d refactor: Refactor HUD
- Remove context classes: HUD and overlays now query the Game object
- Remove debug functionality: I want to redesign it
2020-10-28 10:00:38 +07:00