Commit graph

1475 commits

Author SHA1 Message Date
Vsevolod Kremianskii
452baa3a16 Drop Stopwatch class
I don't see it being used any time used.
2021-06-13 10:40:59 +07:00
Vsevolod Kremianskii
e2f6ee3b7a Refactor Dialog and Computer GUI to use control binding 2021-06-13 10:14:07 +07:00
Vsevolod Kremianskii
9ee347f725 Rephrase Legal Stance in README
[ci skip]
2021-06-13 07:54:19 +07:00
Vsevolod Kremianskii
4480914dc5 Use forward declarations in game/camera
Forward declaration improves compilation time at the cost of some
verbosity.
2021-06-12 19:08:10 +07:00
Vsevolod Kremianskii
7f7bc412b4 Refactor SaveLoad and PartySelection GUI to use control binding 2021-06-12 18:20:10 +07:00
Vsevolod Kremianskii
483f0a8f10 Rephrase our legal stance in README
Specifically mention decompilation.

[ci skip]
2021-06-12 16:14:14 +07:00
Vsevolod Kremianskii
c15b8d69a6 Refactor HUD and LoadingScreeen GUI to use control binding 2021-06-12 15:48:36 +07:00
Vsevolod Kremianskii
0695fe9d51 Add a Legal Stance section to the README
[ci skip]
2021-06-12 10:04:36 +07:00
Vsevolod Kremianskii
b98ffc5bec Update README: we are at a mid-stage of development
[ci skip]
2021-06-12 09:18:27 +07:00
Vsevolod Kremianskii
e1dd7b7661 Refactor MainMenu GUI to use control binding 2021-06-12 09:09:58 +07:00
Vsevolod Kremianskii
41caea6048 Refactor BarkBubble and Container GUI to use control binding 2021-06-11 16:57:21 +07:00
Vsevolod Kremianskii
e87822556a Remove leftover unnecessary includes 2021-06-11 16:06:13 +07:00
Fernando Urbano
c3f52a29fe Fix APPLE builds 2021-06-11 14:29:37 +07:00
ef12fff06b Fix builds on macOS 2021-06-11 11:10:29 +07:00
Vsevolod Kremianskii
e265fb43d2 Use precompiled headers to improve compilation time 2021-06-11 10:44:08 +07:00
2aceec0ed2 Use constants for binding lists sizes
Signed-off-by: William Brawner <me@wbrawner.com>
2021-06-10 08:38:14 +07:00
077b2bba70 Add isKotOR() util method
Signed-off-by: William Brawner <me@wbrawner.com>
2021-06-10 08:38:14 +07:00
bd0698eb0d Remove unnecessary whitespace
Signed-off-by: William Brawner <me@wbrawner.com>
2021-06-10 08:38:14 +07:00
143288876b Remove unnecessary initialization of shared_ptrs
Signed-off-by: William Brawner <me@wbrawner.com>
2021-06-10 08:38:14 +07:00
a0f6e13ac7 Use binding struct in Character menu 2021-06-10 08:38:14 +07:00
f3465b742a Add Slider control 2021-06-10 08:38:14 +07:00
7a3e8d3f55 Remove default options in extract script
Signed-off-by: William Brawner <me@wbrawner.com>
2021-06-08 21:53:10 +07:00
7b276b706b Make extract script executable on unix
Signed-off-by: William Brawner <me@wbrawner.com>
2021-06-08 21:53:10 +07:00
f4a0f3561b Load directory paths from environment if present
Signed-off-by: William Brawner <me@wbrawner.com>
2021-06-08 21:53:10 +07:00
7781e7aa53 Add "assume yes" option to extraction script
Signed-off-by: William Brawner <me@wbrawner.com>
2021-06-08 21:53:10 +07:00
Vsevolod Kremianskii
1690864689 Add placeholders for all script routines
Except those used for mini-games.
2021-06-06 13:22:37 +07:00
Vsevolod Kremianskii
8d5cdbdc7d Fix blaster bolts trajectory 2021-06-05 09:53:49 +07:00
Vsevolod Kremianskii
79a4af45ad Fix erasing animation channels in Blend mode
This fixes combat animations being stuck.
2021-06-05 09:53:46 +07:00
Vsevolod Kremianskii
582b87b540 Implement saving/loading party members and global variables
While at it, refactor GFF field construction.
2021-06-05 02:50:21 +07:00
Vsevolod Kremianskii
842a8fe3b0 Implement two-weapon fighting: penalties, off-hand attacks 2021-06-05 00:57:51 +07:00
Vsevolod Kremianskii
93b389fcd4 Implement critical hits in combat 2021-06-05 00:26:29 +07:00
Vsevolod Kremianskii
706d408483 Replace e-mail with a Discord invitation link in README.md 2021-06-01 19:18:24 +07:00
Vsevolod Kremianskii
3563983e5d Refactor Flowtron scripts, fix extraction script 2021-06-01 08:23:46 +07:00
Vsevolod Kremianskii
3a2f631575 Do not show the root window in scripts 2021-06-01 07:18:59 +07:00
Vsevolod Kremianskii
b1c14c7879 Fix loading danglymesh constraints
Constraints are now read from two separate data regions.
2021-05-31 19:53:50 +07:00
Vsevolod Kremianskii
b032fe40ae Replace blend mode wrappers in Context with getters/setters 2021-05-31 16:40:08 +07:00
Vsevolod Kremianskii
61ac0f320d Implement screenshots in SaveLoad menu
Also refactor item selection in ListBox.
2021-05-31 16:09:37 +07:00
Vsevolod Kremianskii
bdedd88d9d Implement taking screenshots
This will later be used for save games. While at it, replace
Context::with* functions with getters/setters to decrease nestedness.
2021-05-31 14:29:33 +07:00
Vsevolod Kremianskii
b7acbd448f Streamline extraction and JSON analysis scripts
- If directory is not specified, open a file dialog to choose it
- Extract common code into reo_shared.py
2021-05-31 09:31:22 +07:00
Vsevolod Kremianskii
58d40cf1ec Cleanup Equipment class 2021-05-31 08:58:51 +07:00
59badb7d25 Pass InGameMenu to Equipment constructor
Signed-off-by: William Brawner <me@wbrawner.com>
2021-05-31 08:55:14 +07:00
46bb9d42f6 Refactor InGameMenu::getBtn* and GUI::getControl(Ptr) for brevity
Signed-off-by: William Brawner <me@wbrawner.com>
2021-05-31 08:55:14 +07:00
6fd62fc65c Move EquipmentBindingHelper methods to InGameMenu
All of the menu items will need these methods, not just Equipment, so it
makes more sense for the methods to be on the menu itself.
2021-05-31 08:55:14 +07:00
a64325c0e0 Add EquipmentBindingHelper
Signed-off-by: William Brawner <me@wbrawner.com>
2021-05-31 08:55:14 +07:00
034b4abc03 Use shared_ptr for gui controls
Signed-off-by: William Brawner <me@wbrawner.com>
2021-05-31 08:55:14 +07:00
c59d7ceeaf Add GUI::getControlPtr method
Signed-off-by: William Brawner <me@wbrawner.com>
2021-05-31 08:55:14 +07:00
eea92b7d57 Fix code style issues in Equipment header
Signed-off-by: William Brawner <me@wbrawner.com>
2021-05-31 08:55:14 +07:00
3fa39263b6 Fix namespace issues in Equipment header 2021-05-31 08:55:14 +07:00
47f7361c35 Use binding struct in Equipment
This replaces the previous approach of grabbing controls with their
string constants whenever needed.

Signed-off-by: William Brawner <me@wbrawner.com>
2021-05-31 08:55:14 +07:00
Vsevolod Kremianskii
6ec1627655 Revert to the latest stable version of GLM
There is virtually no difference, except that it feels right to use a
stable version as a dependancy, not one from trunk.
2021-05-31 07:47:20 +07:00