| Age | Commit message (Collapse) | Author |
|
This way, it will not affect the options dialog.
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
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.
|
|
Music list streaming support over ASSet packet
|
|
|
|
Account for the difference between theme and misc pathing when getting image and sound data for effects
|
|
program is well made and does not make me want to pull my hair out
|
|
|
|
|
|
|
|
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
|
|
asset-packet-musiclist
|
|
This packet is used to send the client the URL of an online content repository, if available.
|
|
Add a /reload command that quickly reloads the current demo
|
|
Add default shownames
|
|
Fix AOLayer-related regressions, deprecate BS no one uses and return sane behavior
|
|
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.
|
|
Fix effects in misc folders not being detected by get_effects
|
|
|
|
Add setting for default scaling method
|
|
theme, chat arrows, etc.)
|
|
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
|
|
|
|
|
|
* 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>
|
|
Co-authored-by: in1tiate <32779090+in1tiate@users.noreply.github.com>
|
|
|
|
|
|
* set ini codecs to utf8
* fix color config reading in Latin1 rather than Utf8
|
|
Fix shownames disappearing forever if a message is sent while the shownames checkbox is unticked
|
|
Fix regression that won't allow us to give a direct base/ path to a char emote
|
|
* Implement a demo auto-fixing solution. If the client detects a pre-2.9.1 demo file, it will prompt the user if they wish to correct it, since otherwise the demo will be desynched from reality.
The aforementioned issue was fixed in https://github.com/AttorneyOnline/AO2-Client/pull/496 however 2.9.0 still has incorrect demo recording.
Fix potential memory leak by not flushing and closing the demo file after opening it for reading.
* backup broken demo file before fixing it
* comments ahoy
Co-authored-by: in1tiate <radwoodward@vikings.grayson.edu>
|
|
|
|
|
|
for the direct file path before missingno
|
|
before missingno
|
|
want to use with a file path (base/misc/blank for example)
Actually use the helper funcs for searching images instead of reimplementing the same thing
|
|
Fix demo playback max_wait -1 incorrect behavior when non-IC is processed
|
|
local variables that should be sent to it at the point of the func being called. (#530)
|
|
Fix timings for OOC being really busted if max_wait is -1 (dunno at which point this bug was introduced)
|
|
|
|
Fix character select screen lag/performance overhead
|
|
Narrator IC chat support
|
|
* 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>
|