![]() 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. |
||
---|---|---|
.github | ||
android | ||
base | ||
include | ||
lib | ||
resource | ||
scripts | ||
src | ||
test | ||
.clang-format | ||
.gitignore | ||
.gitlab-ci.yml | ||
.gitmodules | ||
.travis.yml | ||
Attorney_Online.pro | ||
CMakeLists.txt | ||
CONTRIBUTING.md | ||
LICENSE.GPLv3 | ||
LICENSE.MIT | ||
README_BUILD.md | ||
README_TEST.md | ||
README.md | ||
resources.qrc |
Attorney Online
Attorney Online is an online version of the world-renowned courtroom drama simulator that allows you to create and play out cases in an off-the-cuff format.
Refer to the docs for more information.
Credits
This is a open-source remake of Attorney Online written by OmniTroid. The original Attorney Online client was written by FanatSors in Delphi.
The logo (logo.png
and logo.ico
) was designed by Lucas Carbi. The characters depicted in the logo are owned by Capcom.
Project
The project is dual-licensed; you are free to copy, modify and distribute AO2 under the GPLv3 or the MIT license.
Copyright (c) 2016-2018 David "OmniTroid" Skoland
Modifications copyright (c) 2017-2018 oldmud0
Case Café additions copyright (c) 2018 Cerapter
Killing Fever Online additions copyright (c) 2019 Crystalwarrior
Qt
This project uses Qt 5, which is licensed under the GNU Lesser General Public License with certain licensing restrictions and exceptions. To comply with licensing requirements for static linking, object code is available if you would like to relink with an alternative version of Qt, and the source code for Qt may be found at https://github.com/qt/qtbase, http://code.qt.io/cgit/, or at https://qt.io.
Copyright (c) 2016 The Qt Company Ltd.
BASS
This project depends on the BASS shared library. Get it here: http://www.un4seen.com/
Copyright (c) 1999-2016 Un4seen Developments Ltd. All rights reserved.