atrooney-online-2/include
Crystalwarrior cef0ebc6eb
IC log rewrite (#259)
* Rewrite the IC Log code to drastically reduce code duplication and have both downward and upward mode in the same function
Regenerate the IC Log in set_widgets() function, making sure the maximum_blocks is accounted for and clearing the log to prepare for different log mode (upwards/downwards) if it's different from previous
Add placeholder text telling the user the direction in which the log will go
Remove useless first_message_sent global boolean, a remnant from a   w e a k e r   c o d e r m a n

* Add log_colors boolean to reduce color I/O happening in append_ic_text (optimization meme)
Clear the IC log when log_colors setting changes and reload theme is pressed
Fix https://github.com/AttorneyOnline/AO2-Client/issues/221

* Add configurable margin between IC log entries
Add configurable newline/singleline log mode
Options in settings for these

* Add optional timestamps

* Un-hardcode "played music" from the chatlogpiece and introduce the "action" argument so that "presented evidence" is fully supported now
Translate "has presented evidence"
Regenerate IC chatlog instead of clearing it, properly updating every element with the new configurations

* Go away *temp, code duplication making me shid and cry rn
Why is this not done in append_ic_text, or why isn't there a dedicated ic logging func aAAAaaaaAAAaa
Fix presenting evidence not being properly logged
Fix timestamp being UTC instead of local time (local time will not be as confusing)

* okok it was a joke a big ol bamboozle you got gnomed haha rick rolled beaned stickbugged
I did NOT copy paste code, no, I actually intended to fix copy pasted code all along. log_ic_text was always planned.

(Fix copypasted code for ic_chatlog_history and consolidate it into a single log_ic_text func)
2020-08-19 11:16:41 -05:00
..
aoapplication.h IC log rewrite (#259) 2020-08-19 11:16:41 -05:00
aoblipplayer.h Merge KFO source unconditionally into AO2 2020-05-22 19:17:55 -05:00
aobutton.h Perform clang-format 2020-05-22 17:13:37 -05:00
aocaseannouncerdialog.h Perform clang-format 2020-05-22 17:13:37 -05:00
aocharbutton.h Perform clang-format 2020-05-22 17:13:37 -05:00
aocharmovie.h Perform clang-format 2020-05-22 17:13:37 -05:00
aoemotebutton.h Add darker button generator (#201) 2020-07-30 12:10:58 -05:00
aoevidencebutton.h Perform clang-format 2020-05-22 17:13:37 -05:00
aoevidencedisplay.h Perform clang-format 2020-05-22 17:13:37 -05:00
aoimage.h Perform clang-format 2020-05-22 17:13:37 -05:00
aolineedit.h Perform clang-format 2020-05-22 17:13:37 -05:00
aomovie.h Perform clang-format 2020-05-22 17:13:37 -05:00
aomusicplayer.h Fix an issue where the Ambience layer would break looping points for all other channels due to loop_start and loop_end only being a single variable. (#164) 2020-07-04 12:15:52 -05:00
aooptionsdialog.h IC log rewrite (#259) 2020-08-19 11:16:41 -05:00
aopacket.h Perform clang-format 2020-05-22 17:13:37 -05:00
aoscene.h Perform clang-format 2020-05-22 17:13:37 -05:00
aosfxplayer.h fix qt sfx player 2020-05-23 19:28:34 +02:00
aotextarea.h Perform clang-format 2020-05-22 17:13:37 -05:00
aotextedit.h Perform clang-format 2020-05-22 17:13:37 -05:00
bass.h Perform clang-format 2020-05-22 17:13:37 -05:00
bassopus.h clang 2 electric boogaloo 2020-05-22 02:14:54 +03:00
chatlogpiece.h IC log rewrite (#259) 2020-08-19 11:16:41 -05:00
courtroom.h IC log rewrite (#259) 2020-08-19 11:16:41 -05:00
datatypes.h Perform clang-format 2020-05-22 17:13:37 -05:00
debug_functions.h Perform clang-format 2020-05-22 17:13:37 -05:00
discord_register.h Perform clang-format 2020-05-22 17:13:37 -05:00
discord_rich_presence.h Merge KFO source unconditionally into AO2 2020-05-22 19:17:55 -05:00
discord_rpc.h Perform clang-format 2020-05-22 17:13:37 -05:00
discord-rpc.h Perform clang-format 2020-05-22 17:13:37 -05:00
encryption_functions.h Perform clang-format 2020-05-22 17:13:37 -05:00
file_functions.h Perform clang-format 2020-05-22 17:13:37 -05:00
hardware_functions.h moved headers into include and cpp files into src + logo into resource 2018-12-26 16:43:08 +01:00
hex_functions.h Perform clang-format 2020-05-22 17:13:37 -05:00
lobby.h Perform clang-format 2020-05-22 17:13:37 -05:00
misc_functions.h Perform clang-format 2020-05-22 17:13:37 -05:00
networkmanager.h Perform clang-format 2020-05-22 17:13:37 -05:00
scrolltext.h clang 2 electric boogaloo 2020-05-22 02:14:54 +03:00
text_file_functions.h Perform clang-format 2020-05-22 17:13:37 -05:00