aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-12-24Merge pull request #622 from AttorneyOnline/fix/emote-button-genoldmud0
Fix emote buttons not generating due to bad VPath lookup
2021-12-24Merge pull request #621 from AttorneyOnline/split-demo-optionoldmud0
Split logging option into text and demo
2021-12-24Merge pull request #620 from AttorneyOnline/remove-clientside-waitoldmud0
Remove client-side send waiting
2021-12-23Fix emote buttons not generating due to bad VPath lookupoldmud0
2021-12-23Split logging option into text and demooldmud0
Apparently, people don't like logging demos because it takes up too much space. It's possible to enable NTFS compression for demo files (or the entire demos folder), though.
2021-12-23Remove client-side send waitingoldmud0
This piece of code from another era is not needed anymore thanks to the message queue and decent server-side anti-flooding. Player input won't be thrown away since the client waits for an acknowledgement from the server before clearing the input box.
2021-12-23Add version to window title (#613)Pyraqq
Also updated the translation files for missing strings and updated the Polish translation.
2021-12-22Merge pull request #578 from AttorneyOnline/fix-desk-mods-againoldmud0
Handle expanded desk modifiers on chat ticking start rather than on preanim complete signal
2021-12-14Add compiler flags to ensure correct signal is used in older versions (#617)Salanto
2021-12-11Update slots/signals to Qt5 connection style and eliminate some clazy warningsSalanto
2021-11-15Add an explicit check for empty string to dir_existsin1tiate
2021-11-15Fix all files being allowed past the suffix check for imagesin1tiate
2021-10-12Resolve compile error due to enum first introdcued in Qt 5.14Salanto
Could Linux distros please update their Qt version? Thanks.
2021-10-11Purge most clientside-OOC commands (#599)Salanto
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-10Fix paired character only playing animations once (#603)Rosemary Witchaven
2021-10-09Add missing check for anim_state 5 (#601)Rosemary Witchaven
2021-09-22Allow user to configure log timestamp format (#590)Rosemary Witchaven
* 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-18Fix background positions with no desk inheriting the previous position's ↵Rosemary Witchaven
desk (#598) * kill bglayer if file not exist * kill ALL layers if file not found
2021-09-08Remove /pair as a client-side commandSalanto
Who was using this anyway?
2021-09-02Fix VPath lookup ignoring possibility of remote files (#588)Salanto
* Fix VPath lookup ignoring possibility of remote files * Use more formal URL check Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2021-08-30Use event filters instead of subclassing QLineEdit and QPlainTextEdit (#587)Rosemary Witchaven
* replace aolineedit and aotextedit with event filters * use a button to make evidence editable instead of double click
2021-08-24Fix an infinite hang when loading the pair character, fix strange undesired ↵Rosemary Witchaven
behavior of the pair character (#586) * sanity check if the frame we're waiting on isnt nonexistent * consolidate conditionals
2021-08-13asynchronously load animations for bigly performant gainzin1tiate
2021-08-11wait for thread to finish before starting new onein1tiate
2021-08-11comment out debug_moviein1tiate
2021-08-11debug_movie fixesin1tiate
2021-08-11preload next frame before ticking overin1tiate
2021-08-01handle expanded desk mods on chat ticking startin1tiate
2021-07-29swap out custom UNUSED macro for Q_UNUSEDin1tiate
2021-07-22Fix custom objections not playing soundsin1tiate
2021-06-18Set BASS_CONFIG_DEV_DEFAULT to 1 to enable automatic reinitialization of the ↵Rose Witchaven
default device when it is lost (#564) fixes #561
2021-06-16Extend /pair command to work with character names as well as IDs (#562)Rose Witchaven
2021-06-09Merge pull request #554 from AttorneyOnline/feature/mountingoldmud0
Add support for mounting multiple base folders
2021-06-08Clear case sensitive cache as well on vpath cache flusholdmud0
2021-06-08Move global stylesheet to lobby and courtroomoldmud0
This way, it will not affect the options dialog.
2021-06-08Merge pull request #557 from AttorneyOnline/minor-optimizeoldmud0
Fix excessive calls to arup_append
2021-06-06Fix excess calls to arup_appendoldmud0
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-06Fix minor memory leak with configinioldmud0
2021-06-06Fix clazy-range-loop-detach warningoldmud0
2021-06-06Fix bug with case-sensitive vpath lookupoldmud0
2021-06-06Merge branch 'master' into feature/mountingoldmud0
2021-06-06remember past search term when switching between area and music listin1tiate
2021-06-06Scan themes in all mount pathsoldmud0
2021-06-06Don't store key in asset lookup cacheoldmud0
2021-06-05Greatly improve case-insensitive lookup speedoldmud0
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-05Use intuitive behavior for loading assets with ambiguous extensionsoldmud0
2021-06-05Finish mounting featureoldmud0
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-02Merge pull request #549 from Salanto/asset-packet-musiclistoldmud0
Music list streaming support over ASSet packet
2021-05-29Partial: Add mount list to options dialogoldmud0
2021-05-16account for both theme and misc pathing which are different because this ↵in1tiate
program is well made and does not make me want to pull my hair out