oldmud0
b8572f8afc
Merge pull request #607 from AttorneyOnline/cache-fix-2
...
Fix non-image files being loaded as images, fix custom shout button appearing on characters without it enabled
2021-11-17 21:08:44 -06:00
in1tiate
658a1ae624
Add an explicit check for empty string to dir_exists
2021-11-15 17:03:36 -06:00
in1tiate
101a5e506f
Fix all files being allowed past the suffix check for images
2021-11-15 16:48:46 -06:00
oldmud0
2d38257878
Merge pull request #604 from Salanto/old-qt-support
...
Resolve compile error on master due to oudated Qt Versions on Linux
2021-10-12 22:05:40 -05:00
Salanto
1f985c65c7
Resolve compile error due to enum first introdcued in Qt 5.14
...
Could Linux distros please update their Qt version? Thanks.
2021-10-12 07:27:06 +02:00
Salanto
2a923ac86f
Purge most clientside-OOC commands ( #599 )
...
Remove OOC-Client commands that are already replaced by UI elements that are easily accessible.
Debatable if /save_case and /load_case should stay as they seem unused by most users/servers.
* Maintain backwards compatability with older servers.
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2021-10-11 17:53:44 -05:00
Rosemary Witchaven
3c3b88f05c
Fix paired character only playing animations once ( #603 )
2021-10-10 17:59:07 -05:00
Rosemary Witchaven
273ae64535
Add missing check for anim_state 5 ( #601 )
2021-10-09 10:29:15 -05:00
Rosemary Witchaven
c163aab671
Allow user to configure log timestamp format ( #590 )
...
* user configurable timestamp format
* fix label making the entire settings window move jankily
* add a dropdown for sane timestamp formats
* streamline adding options to log timestamp format
2021-09-22 18:59:59 -05:00
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
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
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