Commit Graph

52 Commits

Author SHA1 Message Date
Daan Vanden Bosch
a8b1a00e06 All code now compiles with Kotlin 2.0.0 and all tests pass. 2024-07-18 18:24:10 +02:00
Daan Vanden Bosch
c3be91a05e MutationManager now supports nested mutations. Deferred mutations are now actual mutations. Added several mutation-related tests, six of which fail at the moment. 2022-06-05 13:29:40 +02:00
Daan Vanden Bosch
9cc6c51b9c Added mutateDeferred and made some other changes to avoid having to use setTimeout to change observables in response to observables changing. This fixes some unit tests. 2022-05-11 17:07:32 +02:00
Daan Vanden Bosch
9aa963fd3b Implemented most of the new observable algorithm. 2022-05-10 14:00:43 +02:00
Daan Vanden Bosch
0cea2d816d Renamed FilteredListCell to SimpleFilteredListCell. Added a more complex version of FilteredListCell with bugs which highlighted a fundamental problem with the observable system. Various other improvements to the observable system. 2022-04-23 22:14:10 +02:00
Daan Vanden Bosch
9653a982c0 Improvements to JS-specific code and documentation and added a unit test. 2021-11-28 19:11:16 +01:00
Daan Vanden Bosch
fab0c5a77a Using fontawesome JS SVG core API instead of simple API. 2021-09-17 16:06:44 +02:00
Daan Vanden Bosch
1d87b32986 Improved buffer copy method and added a copyInto and getStringAscii method. Added clamp to Math.kt. 2021-07-31 21:52:23 +02:00
Daan Vanden Bosch
d130ff4bce Removed floorMod function that's now in the Kotlin standard library. 2021-07-24 21:06:27 +02:00
Daan Vanden Bosch
89b88a0a2d Put all shared build logic in precompiled gradle conventions plugins. 2021-07-24 20:13:02 +02:00
Daan Vanden Bosch
327dfe79bb Observables will now always see a consistent view of their dependencies when they change. 2021-05-27 15:00:19 +02:00
Daan Vanden Bosch
c4772eec40 Fixed JVM compilation error. 2021-05-02 19:54:48 +02:00
Daan Vanden Bosch
3af3f65c43 Renamed Val to Cell. 2021-05-02 18:46:42 +02:00
Daan Vanden Bosch
4c37e8f741 Added track and untrack methods to TrackedDisposable's companion object so that disposables that don't extend TrackedDisposable can still take part in tracking and memory leak detection. 2021-05-02 16:51:24 +02:00
Daan Vanden Bosch
797c5a298e Fixed bugs in ASM editor signature help. The bytecode IR now contains all ASM instruction arguments, even when they are the wrong type or there are too many. 2021-04-25 16:53:26 +02:00
Daan Vanden Bosch
60147f3c7a Improved script ASM tokenization performance. 2021-04-20 22:00:44 +02:00
Daan Vanden Bosch
955d7dad29 Greatly improved script assembly performance. 2021-04-19 21:53:15 +02:00
Daan Vanden Bosch
feec12b308 Improved assembly performance in JS. 2021-04-18 21:35:02 +02:00
Daan Vanden Bosch
0112281b1a "Save" now works as expected after "Saving as". 2021-04-16 20:47:02 +02:00
Daan Vanden Bosch
5133235040 "Save" and "Save as..." buttons are now disabled while saving, mainly as visual feedback that a save happened. 2021-04-15 21:40:43 +02:00
Daan Vanden Bosch
4b8241ba80 Existing files can now be saved directly with the "Save" button or Ctrl-S. 2021-04-15 16:16:00 +02:00
Daan Vanden Bosch
29192e5684 Added manual area render geometry culling code. 2021-04-11 21:43:34 +02:00
Daan Vanden Bosch
6990aaca1b Viewer URL now contains path to Model and Textures tab again. 2021-03-25 20:57:07 +01:00
Daan Vanden Bosch
45bf86018c The viewer can load animations again. 2021-03-21 16:54:49 +01:00
Daan Vanden Bosch
b9339ac2b4 Added some observable unit tests and fixed a bug. Switched to junit 5 to support interfaces with @Test annotated concrete methods for "mixin" tests. 2021-03-19 21:32:57 +01:00
Daan Vanden Bosch
70d8e0f6af Fixed performance issue in events widget. 2021-03-17 20:55:08 +01:00
Daan Vanden Bosch
478842ddab Hunt optimizer results are now calculated again. 2021-03-14 22:52:30 +01:00
Daan Vanden Bosch
aeded71dde Only huntable items can now be added to the wanted list. 2021-03-12 21:53:49 +01:00
Daan Vanden Bosch
321fb3a475 Upgraded Kotlin to 1.4.30 and Gradle to 6.8.2. Set the Kotlin JVM version to 11. Added a subproject for offline asset generation which, at the moment, can generate the list of item types. Ported unitxt and ItemPMT parsing. 2021-03-06 13:33:04 +01:00
Daan Vanden Bosch
871a61aa42 Ported addition and removal of wanted items to the hunt optimizer. 2020-12-29 20:07:17 +01:00
Daan Vanden Bosch
bc3979da11 Entity-specific properties are editable again. 2020-12-21 21:45:29 +01:00
Daan Vanden Bosch
634bcc91df Added events widget and fixed several bugs. 2020-12-20 01:22:27 +01:00
Daan Vanden Bosch
c3927729ad Hunt method tables now show correct data again and times can be edited and persisted again. 2020-12-09 22:03:10 +01:00
Daan Vanden Bosch
540e35ffc9 AsmAnalyser is now updated whenever text changes. 2020-12-08 15:41:43 +01:00
Daan Vanden Bosch
0133e82d3f Ported several ASM editor features. 2020-12-06 16:48:13 +01:00
Daan Vanden Bosch
dc0615e1d2 Ported various features. 2020-12-05 21:48:26 +01:00
Daan Vanden Bosch
0c0d6355f2 Added some small features and fixed various bugs. 2020-11-28 22:56:35 +01:00
Daan Vanden Bosch
d98b565766 Added Dialog and ResultDialog. 2020-11-16 20:00:26 +01:00
Daan Vanden Bosch
c82396326c Made basic quest properties editable and added the entity detail widget. 2020-11-15 20:41:30 +01:00
Daan Vanden Bosch
cd70d22da2 Added script editor widget. 2020-11-14 22:18:10 +01:00
Daan Vanden Bosch
db1149ddc0 Entities are now correctly rotated and positioned within their section. 2020-11-08 16:07:08 +01:00
Daan Vanden Bosch
346a2cb4f9 Added several unit tests and improved testing infra. 2020-11-08 14:27:02 +01:00
Daan Vanden Bosch
8de81c9cb4 Added area mesh loading. 2020-11-07 19:15:37 +01:00
Daan Vanden Bosch
bedc7b07a2 Ported several things and fixed some bugs. 2020-11-05 17:46:17 +01:00
Daan Vanden Bosch
bab01061f0 Added JVM support for core and lib. 2020-10-27 22:55:05 +01:00
Daan Vanden Bosch
b810e45fb3 Refactored the way Disposable is used and added QuestInfoWidget. 2020-10-25 22:16:47 +01:00
Daan Vanden Bosch
78690f9588 Added CFG and assembler. 2020-10-21 20:33:31 +02:00
Daan Vanden Bosch
f2532de792 Added .bin and .dat parsers and Buffer. 2020-10-19 17:40:33 +02:00
Daan Vanden Bosch
18e01f17c7 Scope, Store and Controller now implement CoroutineScope. Added NJ parser and several basic widgets. 2020-10-17 00:28:35 +02:00
Daan Vanden Bosch
c3bd1c46cc Added Babylon.js PoC. Introduced Scope to statically ensure that all disposables are disposed eventually. Added test-utils project. 2020-10-15 01:19:12 +02:00