aboutsummaryrefslogtreecommitdiff
path: root/src/courtroom.cpp
AgeCommit message (Collapse)Author
2021-07-29swap out custom UNUSED macro for Q_UNUSEDin1tiate
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-08Move global stylesheet to lobby and courtroomoldmud0
This way, it will not affect the options dialog.
2021-06-06Merge branch 'master' into feature/mountingoldmud0
2021-06-06remember past search term when switching between area and music listin1tiate
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-05-12Commit suggestionSalanto
2021-05-05Add musclist streaming supportSalanto
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-05Merge remote-tracking branch 'origin/handle-music-refactor' into ↵Salanto
asset-packet-musiclist
2021-04-29Merge pull request #545 from MangosArentLiterature/default-shownamesoldmud0
Add default shownames
2021-04-28Add default shownamesMangosArentLiterature
Adds a new setting to config.ini to set a default showname. This works similarly to default username, but for IC shownames, setting the client's showname automatically. Like default username, this has a 30 character limit. * Adds a new option to config.ini, default_showname. * Adds this setting to the options dialog. * Adds get_default_showname() for retrieving this showname. * Sets the showname box to this value upon joining a server.
2021-04-24Deprecate tick_ms and use actual milliseconds rather than arbitrary 60ms ↵Crystalwarrior
ticks for char.ini [Time] Fix an extremely weird case where CharLayer::Play() was not called even on the CharLayer class (I don't understand why inheritance was straight up just ignored) Fix using preanims with static images just breaking everything Deprecate weird insanity [Time] with the % sign BS (What was this for again? Literally no one used this nor was aware of it) Fix text_stay_time timer firing even if we're immediate Just in case, stop the text delay timer when start_chat_ticking is called
2021-04-23Expand .css power by giving object names to all AO UI elements (#534)Crystalwarrior
* Fix ic chatlog placeholder text not being translated * Fix inconsistent/nonsensical path resolution for the backwards-compatibility misc/default/config.ini vs themes/current_theme/misc/default/config.ini Co-authored-by: in1tiate <32779090+in1tiate@users.noreply.github.com>
2021-04-23make sure we save the shownames even when theyre disabledin1tiate
2021-04-21Fix log_chatmessage referring to the global m_chatmessage instead of the ↵Crystalwarrior
local variables that should be sent to it at the point of the func being called. (#530)
2021-04-20Merge pull request #504 from AttorneyOnline/fix/css-lagoldmud0
Fix character select screen lag/performance overhead
2021-04-20Merge pull request #529 from AttorneyOnline/crystalwarrior/coolchat-plusoldmud0
Narrator IC chat support
2021-04-20Better logs with OOC logging, [IC] and [OOC] tags (#519)Crystalwarrior
* Add OOC logging to the .log files, making them infinitely more precious to GMs especially of ambitious multi-area RPs Add [IC] and [OOC] tags to distinguish between the types of msg * minor wording change for .log top line to make it clearer that it's the server address and not the user address Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2021-04-20Merge pull request #528 from AttorneyOnline/crystalwarrior/coolchatoldmud0
Tons of bug fixes for IC chat parsing
2021-04-20Merge pull request #527 from AttorneyOnline/fix/523oldmud0
Fix ~~, ~> and <> breaking tick pos
2021-04-20don't set a mask on elements affected by offsets (#524)in1tiate
2021-04-20Fix blankposting when narrating not hiding the chatboxCrystalwarrior
Fix using objections against talking players not causing them to stop talking (with this method, they will only finish their current animation cycle unitl freezing in place)
2021-04-20Add support for narrator chat (??!!) which does not affect the state of IC ↵Crystalwarrior
in any way, rather the only thing it affects is the IC chat box. INSANELY useful for GMs to play sound effects, talk over the situation, etc. without causing the IC viewport to reset. Stress-tested with preanims, non-interrupting preanims, idle chat, talking chat, evidence presenting
2021-04-20Fix anim_state deciding whether you're allowed to send a message or not (the ↵Crystalwarrior
only thing that should decide that is if text is done processing or not) Fix objections forcing a missingno to appear when you object to someone mid-preanim, and their preanim ends before objection shout finishes. This also resolves a crapton of other bugs related to preanim_done() signal. Move evidence display from handle_ic_speaking to start_chat_ticking (makes more sense over here) Remove a misplaced set_static_duration for ui_vp_player_char (must've got here over a strange merge conflict or smth) Remove useless anim_state and text_state setters in reload_theme func, the func that calls the BG to display already handles everything needed for IC reset
2021-04-20Fix ~~, ~> and <> breaking tick posCrystalwarrior
2021-04-19euthanize morton (#522)in1tiate
2021-04-19Fix character-specific color list not being properly regenerated on a theme ↵in1tiate
reload (#525)
2021-04-03move code outside if/else block (#518)in1tiate
2021-03-31Merge pull request #516 from AttorneyOnline/elide-leftoldmud0
Set Qt::ElideLeft for dropdowns
2021-03-31set Qt::ElideLeft for dropdownsin1tiate
2021-03-30Trivial bounds check fixoldmud0
2021-03-30fix chat arrow being loaded when it doesnt need to bein1tiate
2021-03-27add songs with no parent to clistin1tiate
2021-03-24Remove useless code for extra ui_selector that is not usedCrystalwarrior
2021-03-22Update courtroom.cpp to apply change requestsSalanto
2021-03-21Merge pull request #503 from AttorneyOnline/fix/skip-queueoldmud0
Fix chat queue being cleared with no way to see what the msgs were
2021-03-22Fix log_chatmessage being called for the same message like 24 or more times ↵Crystalwarrior
causing insane spam Reduce needless copy-pasting for shit that doesn't even need to be there I actually made this fix but I stashed the older version when splitting the branches so you got the bugged verison instead.
2021-03-22Fix chat messages being lost to the Ether if instant objection was used, or ↵Crystalwarrior
you switched an area during queue being parsed. (Your IC logs will be caught up to speed instead)
2021-03-22Fix blankposting forcing the message queue to sleep up until another message ↵Crystalwarrior
is received
2021-03-21Apply suggested changesSalanto
2021-03-21small refactor handle_musicSalanto
2021-03-20Add timer packets to demo playback (#494)Crystalwarrior
When the demo skips by some number of seconds, the timer will also skip forward by that duration. Co-authored-by: in1tiate <32779090+in1tiate@users.noreply.github.com> Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2021-03-15Deprecate hardcoded string-based authentication, add AUTH packet (#489)in1tiate
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2021-03-03Fix files not being written as UTF-8oldmud0
2021-03-02Hide ARUP fields when empty (#479)stonedDiscord
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
2021-02-28Fix wrong pos being picked/displayed (most likely wit) if current_side is ↵Crystalwarrior
blank (a.k.a. use character default side)
2021-02-24Make "stop music on objection" work in tandem with the server by calling ↵Crystalwarrior
"music_stop()" instead of only working on the client-side
2021-02-22Avoid use of QImageReader copy constructoroldmud0
2021-02-22Fix crash caused by pre-2.6 IC packetoldmud0