Rosemary Witchaven
b2a4a41fd7
Fix background positions with no desk inheriting the previous position's desk ( #598 )
...
* kill bglayer if file not exist
* kill ALL layers if file not found
2021-09-18 09:33:00 -05:00
oldmud0
15c2aa32e6
Merge pull request #589 from Salanto/remove-/pair-ooc_command
...
Remove /pair as a client-side command
2021-09-17 22:09:22 -05:00
Salanto
97b1757da9
Remove /pair as a client-side command
...
Who was using this anyway?
2021-09-08 22:13:22 +02:00
Salanto
74d01e81fb
Fix VPath lookup ignoring possibility of remote files ( #588 )
...
* Fix VPath lookup ignoring possibility of remote files
* Use more formal URL check
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2021-09-02 18:25:28 -05:00
Rosemary Witchaven
7ce4dd6f61
Use event filters instead of subclassing QLineEdit and QPlainTextEdit ( #587 )
...
* replace aolineedit and aotextedit with event filters
* use a button to make evidence editable instead of double click
2021-08-30 21:23:11 -05:00
Rosemary Witchaven
8b82f5d592
Fix an infinite hang when loading the pair character, fix strange undesired behavior of the pair character ( #586 )
...
* sanity check if the frame we're waiting on isnt nonexistent
* consolidate conditionals
2021-08-24 19:37:13 -05:00
oldmud0
9d2e00ee11
Merge pull request #582 from AttorneyOnline/async-anim-load
...
Fully asynchronous animation loading
2021-08-20 18:12:22 -05:00
in1tiate
3bcf01bb21
asynchronously load animations for bigly performant gainz
2021-08-13 03:23:12 -05:00
oldmud0
1bf12a919c
Merge pull request #581 from AttorneyOnline/aolayer-preload
...
Massively improve AOLayer performance by preloading next frame from disk before the current frame is done ticking
2021-08-12 21:37:52 -05:00
in1tiate
2a18c1cdec
wait for thread to finish before starting new one
2021-08-11 20:14:35 -05:00
in1tiate
42760bc3f8
more accurate comment
2021-08-11 09:40:11 -05:00
in1tiate
d84194871e
comment out debug_movie
2021-08-11 09:38:05 -05:00
in1tiate
51698ca6ac
debug_movie fixes
2021-08-11 09:28:59 -05:00
in1tiate
ce94cd2d1e
preload next frame before ticking over
2021-08-11 09:20:00 -05:00
in1tiate
6bbb45a6d1
handle expanded desk mods on chat ticking start
2021-08-01 11:13:52 -05:00
oldmud0
579456fbd7
Merge pull request #575 from AttorneyOnline/unused-macro
...
Swap out "UNUSED()" macro for "Q_UNUSED()"
2021-07-29 21:39:48 -05:00
in1tiate
15f0ee3838
swap out custom UNUSED macro for Q_UNUSED
2021-07-29 08:54:34 -05:00
oldmud0
a4b5023088
Merge pull request #571 from AttorneyOnline/fix-568
...
Fix custom objections not playing sounds
2021-07-22 14:00:20 -05:00
in1tiate
2d3cab82c8
Fix custom objections not playing sounds
2021-07-22 12:26:57 -05:00
Rose Witchaven
5190490a07
Set BASS_CONFIG_DEV_DEFAULT to 1 to enable automatic reinitialization of the default device when it is lost ( #564 )
...
fixes #561
2021-06-18 23:58:46 -05:00
Rose Witchaven
65f812cf73
Extend /pair command to work with character names as well as IDs ( #562 )
2021-06-16 23:58:39 -05:00
oldmud0
b682d69e49
Use new HTTP-based master server client
2021-06-13 22:16:41 -05:00
oldmud0
9e0a964af8
Merge pull request #554 from AttorneyOnline/feature/mounting
...
Add support for mounting multiple base folders
2021-06-09 19:41:09 -05:00
oldmud0
2adb32bb61
Merge pull request #559 from AttorneyOnline/fix/serverlist-selection
...
Fix first server in server list not initiating connections unless another server was selected first
2021-06-09 18:17:46 -05:00
in1tiate
097bc3d4f7
stupidly simple fix
2021-06-09 14:50:47 -05:00
oldmud0
2f50cd5528
Clear case sensitive cache as well on vpath cache flush
2021-06-08 23:12:19 -05:00
oldmud0
2cb7ca7895
Move global stylesheet to lobby and courtroom
...
This way, it will not affect the options dialog.
2021-06-08 22:50:32 -05:00
oldmud0
fbce4937ef
Merge pull request #557 from AttorneyOnline/minor-optimize
...
Fix excessive calls to arup_append
2021-06-08 22:08:04 -05:00
oldmud0
679d808417
Merge pull request #556 from AttorneyOnline/feature/remember-search
...
Remember past search term when switching between area and music list
2021-06-07 00:24:51 -05:00
oldmud0
7cbd343ce9
Fix excess calls to arup_append
...
According to profiling results, arup_append was being called around 90k times (!!) because it had been placed in the inner for loop. That's (tracks * areas)^2. Yikes!
2021-06-06 23:42:51 -05:00
oldmud0
b0a0926d35
Fix minor memory leak with configini
2021-06-06 23:39:19 -05:00
oldmud0
dcce175052
Fix clazy-range-loop-detach warning
2021-06-06 23:31:48 -05:00
oldmud0
e576a8b23d
Fix bug with case-sensitive vpath lookup
2021-06-06 23:27:30 -05:00
oldmud0
9ecd7c453c
Merge branch 'master' into feature/mounting
2021-06-06 23:23:33 -05:00
in1tiate
4fe4e6ad54
remember past search term when switching between area and music list
2021-06-06 22:54:14 -05:00
oldmud0
2ef7b206e2
Scan themes in all mount paths
2021-06-06 22:42:16 -05:00
oldmud0
387233e9e3
Don't store key in asset lookup cache
2021-06-06 22:41:40 -05:00
oldmud0
7a1c3f385e
Greatly improve case-insensitive lookup speed
...
By using hash tables, the algorithmic complexity of the case-insensitive
lookup has been reduced from O(n * k) to amortized O(k), where n is the
number of files in each level and k is the number of directory levels
that need to be traversed.
This massively improves performance on Linux when loading characters,
especially when there are many missing characters, since it is no longer
necessary to scan the entire character folder repeatedly.
2021-06-05 22:27:56 -05:00
oldmud0
037d96a5d9
Use intuitive behavior for loading assets with ambiguous extensions
2021-06-05 20:28:55 -05:00
oldmud0
d27501313c
Finish mounting feature
...
To pull this one off, a new class called VPath was created that denotes
"virtual" paths that can exist anywhere among the list of mount points.
It is functionally identical to QString, except that implicit conversion
between QString and VPath is not allowed. This makes it easy to spot
errors in path resolution at compile time, since get_real_path must be
called to resolve a VPath into an absolute path that can be passed into
a Qt function as a QString.
Other functions, such as the get_*_suffix functions, also return an
absolute path QString for convenience.
As for the rest of the functions that return a VPath, you will need to
call get_real_path yourself.
Finally, a path resolution cache was added to try to avoid blowing
up what is already a massive lookup cost for assets. The cache
is invalidated when the mount path list is changed.
Currently, this cache isn't bounded. Might need to write an LRU cache
if issues arise.
2021-06-05 14:58:40 -05:00
oldmud0
97f3d7a8bc
Merge pull request #549 from Salanto/asset-packet-musiclist
...
Music list streaming support over ASSet packet
2021-06-02 22:50:19 -05:00
oldmud0
a023657348
Partial: Add mount list to options dialog
2021-05-29 10:43:53 -05:00
oldmud0
e3730b5497
Merge pull request #552 from AttorneyOnline/fix/effects2
...
Account for the difference between theme and misc pathing when getting image and sound data for effects
2021-05-16 17:32:39 -05:00
in1tiate
167aae750f
account for both theme and misc pathing which are different because this program is well made and does not make me want to pull my hair out
2021-05-16 00:41:41 -05:00
Salanto
c6207a5478
Commit suggestion
2021-05-12 13:42:41 +02:00
Salanto
c056182ba0
Merge branch 'add-asset-packet' into asset-packet-musiclist
2021-05-12 01:56:33 +02:00
Salanto
8fc75f29a7
Prevent crash when sending empty ASS packet
2021-05-12 01:56:15 +02:00
Salanto
b8b6d3cbb3
Add musclist streaming support
...
Attempt Nr. 2 - Based on #548 and #501
+ Allows client to use a remote source as a last resort if the file can't be found locally.
+ Adds a check if the target file is missing.
This implementation assumed the streaming source to be structured like a webao content respository
2021-05-05 00:42:48 +02:00
Salanto
004bf12428
Merge remote-tracking branch 'origin/handle-music-refactor' into asset-packet-musiclist
2021-05-05 00:24:57 +02:00
Salanto
8a9bb6dc69
Add Asset Packet
...
This packet is used to send the client the URL of an online content repository, if available.
2021-05-04 05:39:50 +02:00