aboutsummaryrefslogtreecommitdiff
path: root/src/courtroom.cpp
AgeCommit message (Collapse)Author
2019-09-16Add file reading, writing and appending functions that create folders if ↵Crystalwarrior
bool is true Fix server_address not being properly created in packet distribution Create a log file when you join a server in the logs/<server name>/<logname>.log and update it every time there's a new chat entry minor refactor of chatlogpiece
2019-09-15Add an option for networking frame-specific effectsCrystalwarrior
I'm starting to realize the options menu/system needs a complete overhaul at this point. (Auto-generating options menu, anyone?)
2019-09-15Add an opton to enable/disable screenshake + flashingCrystalwarrior
Fix moderation guard button not doing what it's supposed to (enable/disable modcalls) Fix moderation guard button appearing with failed logins Fix the option to toggle looping sfx not doing anything
2019-09-15Implement networking for frame-specific effects data sending/parsing if the ↵Crystalwarrior
server supports it Reorganize charmovie.h a bit and make some functions private Add a new helper function "read_char_ini_tag" which returns a qstringlist of all key=value strings associated with the tag
2019-09-15Looping SFX system - Defined this way:Crystalwarrior
[SoundL] sfx-roar = 1
2019-09-15Finally implement frame-specific effects such as screenshake, realization ↵Crystalwarrior
flash, sound effects, etc. Fix screenshake animation modifying the default positions of shook elements Fix aomovie sometimes not playing the last frame and causing lagspikes due to the delay() method
2019-09-14Allow [Time] to be blank for pre-anims to not be required to use itCrystalwarrior
play_talking and play_idle reduced in useless code
2019-09-14Fix objections hiding the characterCrystalwarrior
2019-09-14Resolve a segfault with screenshake, need to determine a better method to ↵Crystalwarrior
finish previous animation (if it exists) properly.
2019-09-14Fix the objection_stop_music option not doing anythingCrystalwarrior
Stop the animation for the side player char in pairing so as not to affect anything Remove the "DOOM" packet as anyone who has the source code can just remove it anyway
2019-09-14Add a blip sound QElapsedTimer so blipsounds don't play more frequently than ↵Crystalwarrior
60ms to preserve all of our ears. Adjust the message display speeds to feel more accurate to AA, with }}} speed displaying text instantly for that section
2019-09-14Bass.dll functionality-based clientside music looping system by using ↵iamgoofball
channel loopable flags (no use of QTimer required) Implement Goofball's AOV loopable music server message where any value that's not -1 when the length of the handle_message packet is longer than 3 will not loop the music (still confused about this but w/e)
2019-09-13forgot to actually uncomment the change, oopsCrystalwarrior
2019-09-13CONTROVERSIAL: Detach ui_vp_message from ui_vp_chatbox to prevent it from ↵Crystalwarrior
being affected by the screenshake. ui_vp_message still sets position relative to the chat box for now (as doing otherwise would break a lot of themes).
2019-09-13Set up screenshake button uiCrystalwarrior
Rewrite Goofball's doScreenshake() function to be much more modular and multi-purpose (also rename to do_screenshake() to match other functions) Add networking needed to make screenshake work. Works with AOV version of tsuserver3 (button screenshake only so far). Add get_theme_pos helper function, currently unused.
2019-09-12Fix compilation errorCrystalwarrior
Allow realization flashes to be animated images by making them AOMovies Eploit the newly added 'duration' system for realization AOMovie (cherry picked from commit bb98f79083648243216f665852a7d2326af11be0)
2019-09-12Remove unecessary hard-coded timers for the witness testimony .pngCrystalwarrior
Make the witness testimony use AOMovie instead of AOImage Remove pointless "testimony_in_progress" variable CONTROVERSIAL: Make the witness testimony indicator be position-ignorant so as to reduce the amount of hardcoding and allow broader usage of the witness testimony system (For example, Danganronpa investigation indicator, etc.) - This should not affect how the testimony indicator is received currently, as witness testimony usually requires the entire rest of the court to shut up until the cross-examination either way. (cherry picked from commit 932f430b683dffb0b965c32cd2247e2b6361dd0e)
2019-09-12Allow AOMovie to have timers that take priority over the animated image ↵Crystalwarrior
frame count Set it up so feeding the timer value when playing the AOMovie would use the timer but only in cases where a non-animated image is used Update shouts and wtce to pass the 'duration' argument which will be used if the image used is non-animated. Otherwise, prioritize the animated image duration.
2019-09-11Add clear_music and clear_areasCrystalwarrior
Comment out the index as it can be potentially confusing alongside "true" area numbers Add "FM" to Packet Received that would reload the areas and music list TODO: Test this with arup systems
2019-08-19read and store qt audio devicestonedDiscord
2019-08-06add es and ru to options and translate a lot more strings from the courtroomstonedDiscord
2019-08-05numbered arguments and more stringsstonedDiscord
2019-07-28german translationstonedDiscord
2019-07-28translate new features. is i18n deadstonedDiscord
2019-07-261% more readablestonedDiscord
2019-07-26fixed copypasta mistake on objection sfxstonedDiscord
2019-07-20Merge branch 'bass-optional' into 'master'oldmud0
Bass+discord optional See merge request AttorneyOnline/AO2-Client!59
2019-07-20Revert "More bug fixing."cents02
This reverts commit ca84ba516fc892deaeafc18b23ad5a06822b29f5
2019-07-20Merge branch 'master' into 'bass-optional'stonedDiscord
# Conflicts: # Attorney_Online.pro # include/aoapplication.h
2019-07-12Less insane debugging; minor refactoring (!75)David Skoland
2019-07-11Fix bug #82 causing a client crash if /save_case was used without providing ↵Windrammer
a courtroom state
2019-07-07Revert "More bug fixing."cents02
This reverts commit ca84ba516fc892deaeafc18b23ad5a06822b29f5
2019-07-07Merge branch 'master' into 'master'oldmud0
Fix escaped HTML characters screwing up the grapheme cluster sizes. See merge request AttorneyOnline/AO2-Client!61
2019-06-30Indentationcents02
2019-06-30New feature! /save_case . Takes two parameters, name and cr status. cents02
E.g: /save_case case1 lfp . It takes court evidence but leaves the doc and cmdoc options blank to be entered manually(if anybody actually puts anything).
2019-06-03Resolved requests/issues.cents02
2019-05-31Update courtroom.cppcents02
2019-05-31Fixed issues #47 on both client and servercents02
2019-05-10Fix escaped HTML characters fucking up the grapheme cluster sizes.Cerapter
2019-05-09Text is now advanced based on graphemes, rather than bytes.Cerapter
2019-03-25Reverts screenshake on object, was controversialiamgoofball
2019-03-23Fixes Objections hiding the current character, instead of overlaying on top ↵iamgoofball
of it. Adds screenshake to objects.
2019-03-12makes all the bass stuff optionalstonedDiscord
2019-02-01bugfixes and shitiamgoofball
2019-01-23Case Announcer: Witness Support also some other shitiamgoofball
2019-01-23>>>>multi-threading the frame sfx/screenshake/flashesiamgoofball
2019-01-21final commitiamgoofball
2019-01-19Suffix-independent Music, Mod Music List, looping bugfixes, easter eggs, etc.iamgoofball
2019-01-19guard -> disable modcalls, bugfixes for guard button, etc.iamgoofball
2019-01-19Fix bug with simultaneous shakesiamgoofball