Lioncash
66ce2774d5
DNAMP1/CTweakPlayerGun: Prevent array overrun cases
...
These arrays are both 5 elements in size. Accessing them at index 5
would be out of bounds.
2019-09-06 08:13:10 -04:00
Lioncash
d5d176d1a5
visigen/CMakeLists: Modify target directly
...
Instead of using variables, we can directly specify our requirements on
the target instance directly. This also avoids modifying
CMAKE_CXX_FLAGS.
2019-09-06 07:50:17 -04:00
30164a1e65
Update zeus
2019-09-05 23:15:14 -07:00
6902ba49be
Merge pull request #11 from lioncash/make
...
General: Use std::make_unique where applicable
2019-09-05 23:11:54 -07:00
Lioncash
c297c6c7a9
ApplicationTools: Link in boo and hecl-light
...
Ensures that the include paths are always automatically added to the
shader targets.
2019-09-06 02:10:58 -04:00
Lioncash
765c51776b
General: Use std::make_unique where applicable
...
No behavior change.
2019-09-06 01:14:32 -04:00
55d5e5d4a5
Restore some clobbered settings
2019-09-05 20:00:17 -07:00
9d527b91ca
Use QPlainTextEdit for processOutput rather than QTextEdit for better performance, and memory overhead
2019-09-05 19:56:42 -07:00
81beae5526
Merge pull request #13 from lioncash/move
...
FontCache: Make filters non-allocating
2019-09-05 19:32:59 -07:00
c32c8d0a91
Merge pull request #14 from lioncash/emplace
...
General: Use emplace_back's return value where applicable
2019-09-05 19:31:35 -07:00
d773925fde
Merge pull request #15 from lioncash/unused
...
General: Remove unused file-scope variables
2019-09-05 19:31:15 -07:00
5d80d7e81a
Merge pull request #12 from lioncash/filebrowser
...
FileBrowser: Move constructor definition into cpp file
2019-09-05 19:30:47 -07:00
Lioncash
909e7d69ee
General: Remove unused file-scope variables
...
Removes unused logvisor modules. This also allows removing some
inclusions. Silences a few unused variable warnings as well.
2019-09-05 20:16:38 -04:00
Lioncash
4e71b955f6
General: Replace loop with resize where applicable
...
Instead of default constructing in a loop for std::vector, we can just
use resize or its size constructor to do the same thing.
2019-09-05 20:03:04 -04:00
Lioncash
fa56ba5db6
General: Use emplace_back's return value where applicable
...
emplace_back() returns a reference to the added element, so we can use
that instead of querying right after the emplacement.
2019-09-05 19:44:48 -04:00
Lioncash
5c54fd73a1
FontCache: Make filters non-allocating
...
Avoids the creation of three allocating static constructors that run
during program start.
2019-09-05 19:22:29 -04:00
Lioncash
b25cfdd305
FontCache: Default destructor within the cpp file
...
Avoids potentially inlining a lot of repeated destruction logic. This
also allows the class to play nicer with forward declarations.
While we're at it, we can also explicitly delete the move
assignment/constructor (previously they were implicitly deleted, given
the class contains a const reference).
2019-09-05 19:08:47 -04:00
Lioncash
ba7a48764d
FileBrowser: Move constructor definition into cpp file
...
Avoids requiring hecl.hpp to be included within the header.
2019-09-05 18:57:25 -04:00
fea7984f71
Update submodules
2019-09-05 01:11:11 -07:00
6c8ffcddad
Update athena
2019-09-05 01:10:05 -07:00
d075ae209b
Merge pull request #52 from lioncash/init
...
PAK: Zero initialize m_sz and m_pos of PAKEntryReadStream
2019-09-05 01:08:59 -07:00
8ff9e028c7
Merge pull request #10 from lioncash/inc
...
General: Add necessary includes where applicable
2019-09-05 01:08:43 -07:00
Lioncash
7a0e7f449e
PAK: Make operator bool() explicit for PAKEntryReadStream
...
Prevents potential error-prone conversions to bool.
2019-09-05 00:59:32 -04:00
Lioncash
107dfc4203
PAK: Zero initialize m_sz and m_pos of PAKEntryReadStream
...
Provides a deterministic initial state for the members in the case of
the default constructor.
2019-09-05 00:57:57 -04:00
Lioncash
5beb046f9e
General: Add necessary includes where applicable
...
As part of the changes within hecl, this exposed a few indirect
inclusions. We can simply include the headers to resolve these cases.
2019-09-05 00:51:24 -04:00
cc52f0b855
Update submodules
2019-09-04 19:38:13 -07:00
b263f29da2
Update athena
2019-09-04 19:37:52 -07:00
d65fec7e2b
Update zeus
2019-09-04 19:36:06 -07:00
b261a93eab
Merge pull request #24 from lioncash/include
...
General: Include necessary includes
2019-09-04 19:28:45 -07:00
96e482567c
Merge pull request #51 from lioncash/inc
...
SpecBase: Add missing includes
2019-09-04 19:28:17 -07:00
Lioncash
da89e7cf45
SpecBase: Add missing includes
2019-09-04 19:30:04 -04:00
Lioncash
5e66bee28c
General: Include necessary includes
...
Ensures all necessary includes are included and also removes headers
that aren't necessary
2019-09-04 19:23:55 -04:00
549cae79a8
Update specter
2019-09-03 23:26:11 -07:00
303b349e01
Merge pull request #9 from lioncash/clamp
...
ModalWindow: Migrate from zeus::clamp to std::clamp
2019-09-03 23:25:30 -07:00
a1819ca079
Merge pull request #50 from lioncash/jbus
...
General: Amend relevant code to compile with jbus changes
2019-09-03 23:12:06 -07:00
2d1d11fb56
Update submodules, fix compiling against kabufuda
2019-09-03 23:11:04 -07:00
acc39c3852
Update zeus
2019-09-03 23:10:37 -07:00
Lioncash
5aafd3935b
CGBASupport: Amend code to compile with jbus changes
2019-09-04 01:56:08 -04:00
Lioncash
fac7c7b1fc
gbalink: Amend code to compile with jbus changes
2019-09-04 01:56:04 -04:00
Lioncash
ba2e7b22a9
ModalWindow: Migrate from zeus::clamp to std::clamp
...
Migrates to standard library facilities.
2019-09-03 16:52:54 -04:00
74572e5be2
Update kabufuda
2019-09-02 01:03:45 -07:00
a456b904f1
Update kabufuda
2019-09-01 11:34:19 -07:00
4dc6241f20
Update submodules
2019-09-01 11:09:11 -07:00
8eef6471f2
Update zeus
2019-09-01 11:07:32 -07:00
12238e5c30
Merge pull request #49 from lioncash/resource
...
CStringTable: Use std::array instead of std::vector
2019-09-01 11:06:15 -07:00
656ccd1e6c
Merge pull request #8 from lioncash/compliance
...
CMakeLists: Add standard-compliance flags for MSVC
2019-09-01 11:04:18 -07:00
943ed265d0
Merge pull request #7 from lioncash/logname
...
Toolbar: Correct log module name
2019-09-01 11:04:08 -07:00
953e1a0270
Merge pull request #6 from lioncash/view
...
View: Add load() overload for arbitrary containers
2019-09-01 11:03:59 -07:00
0553faac37
Merge pull request #5 from lioncash/array
...
Icon: Use std::array where applicable
2019-09-01 11:03:50 -07:00
Lioncash
d5fa8b72b0
CStringTable: Remove unnecessary initializer
...
std::unique_ptr always initializes to nullptr. We can remove this
implicit convertion from 0 to nullptr.
2019-09-01 03:16:54 -04:00