Commit Graph

2833 Commits

Author SHA1 Message Date
Phillip Stephens 3a5cb71c74
Merge pull request #54 from lioncash/overrun
DNAMP1/CTweakPlayerGun: Prevent array overrun cases
2019-09-06 23:20:02 -07:00
Phillip Stephens e783850cc7
Merge pull request #53 from lioncash/cmake
visigen/CMakeLists: Modify target directly
2019-09-06 23:18:48 -07:00
Phillip Stephens 58fa527aeb
Merge pull request #58 from lioncash/overrun2
ControlMapper: Prevent array overrun cases
2019-09-06 23:18:32 -07:00
Lioncash 5b1e783a90 ControlMapper: Prevent array overrun cases
These should be comparing with >=, not >.

The command table descriptions also weren't kept in sync with the
enumeration.
2019-09-06 11:18:13 -04:00
Lioncash 2c6aed7033 World/CScript*: Pass by reference over by value
Based off the use of the const, it's likely that these were intended to
be references, rather than be copied by value
2019-09-06 10:49:54 -04:00
Lioncash d25f4fa9a3 MP1/CFlaahgraTentacle: Amend sphere collision list appending
This was always using the first element in the array to append t the
output joint list, resulting in incorrect names and radius values.
2019-09-06 09:43:32 -04:00
Lioncash 8556a74196 WPSC: Correct typo within WPSM's _read() function
This should be calling read() on xunk_SPS1, not xunk_SPS2
2019-09-06 08:42:35 -04:00
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
Phillip Stephens fea7984f71
Update submodules 2019-09-05 01:11:11 -07:00
Phillip Stephens 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
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
Phillip Stephens cc52f0b855
Update submodules 2019-09-04 19:38:13 -07:00
Phillip Stephens 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
Phillip Stephens 549cae79a8
Update specter 2019-09-03 23:26:11 -07:00
Phillip Stephens 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
Phillip Stephens 2d1d11fb56
Update submodules, fix compiling against kabufuda 2019-09-03 23:11:04 -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
Phillip Stephens 74572e5be2
Update kabufuda 2019-09-02 01:03:45 -07:00
Phillip Stephens a456b904f1
Update kabufuda 2019-09-01 11:34:19 -07:00
Phillip Stephens 4dc6241f20
Update submodules 2019-09-01 11:09:11 -07:00
Phillip Stephens 12238e5c30
Merge pull request #49 from lioncash/resource
CStringTable: Use std::array instead of std::vector
2019-09-01 11:06:15 -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
Lioncash e23dfbd8db CStringTable: Use std::array instead of std::vector
Gets rid of a static constructor, as well as a few heap allocations
2019-09-01 03:13:45 -04:00
Phillip Stephens 484a6b0cdf
Update hecl-gui 2019-08-31 16:29:21 -07:00
Jack Andersen c7ffe725ae Update submodules 2019-08-31 11:20:54 -10:00
Jack Andersen ca0ca94b18 Merge branch 'master' of ssh://git.axiodl.com:6431/AxioDL/urde 2019-08-31 10:40:41 -10:00
Jack Andersen cffb56a24e MacOS build fixes 2019-08-31 10:40:07 -10:00
Phillip Stephens 256994c199
Initial CEnergyBall, update submodules, various fixes 2019-08-31 02:02:21 -07:00
Phillip Stephens 3ca09f60db
atdna fixes 2019-08-26 20:02:31 -07:00
Phillip Stephens 27a47fad5a
Update athena 2019-08-26 16:01:18 -07:00
Phillip Stephens 37c68bc4a6
Update submodules 2019-08-26 15:58:26 -07:00
Phillip Stephens 7feffe5ba4
Merge pull request #48 from lioncash/fopen
General: Make use of FopenUnique where applicable
2019-08-26 15:54:43 -07:00
Lioncash 1d3062b33f General: Make use of FopenUnique where applicable
Migrates to the hecl Fopen variant that automatically closes its
contained file handle if it goes out of scope.
2019-08-26 15:03:58 -04:00
Phillip Stephens f48ebefa84
Update hecl-gui 2019-08-25 18:33:23 -07:00
Phillip Stephens 2a60b9fbf4
Update submodules, minor fixes 2019-08-25 18:29:25 -07:00
Phillip Stephens f96ad00478 Update boo, deprecate OpenGL 2019-08-24 17:59:02 -07:00
Phillip Stephens d4e34e977f Update submdoules 2019-08-24 14:46:25 -07:00
Phillip Stephens f89e36de35 Fix discord link (the old one expired even though I set it to never expire, grrr) 2019-08-24 14:32:59 -07:00
Phillip Stephens 8e0802cdc8
Update submodules 2019-08-24 01:06:22 -07:00
Phillip Stephens 3d11596793
Merge pull request #47 from lioncash/bool
CPatterned: Correct use of bool in bitfield
2019-08-23 23:04:37 -07:00
Phillip Stephens 14e7ac9693 Merge pull request '#46' from lioncash/fwd 2019-08-23 23:02:09 -07:00
Phillip Stephens 4ac54f39cd Merge branch 'fwd' of https://github.com/lioncash/urde into lioncash-fwd 2019-08-23 20:43:15 -07:00
Lioncash fa608acb06 CPatterned: Correct use of bool in bitfield
This is incremented within PathFind(), however, because the type within
this bitfield is a bool, this can trigger compilation warnings (rightly
so). So we can make it a uint32_t to make it obvious that the
incrementing behavior is intended.
2019-08-23 22:26:07 -04:00
Lioncash 7f7a18a708 DataSpec/DNACommon: Resolve indirect includes where applicable
Avoids indirect inclusions where applicable and includes the necessary
headers as used by the interface. This way, it prevents code from
failing to compile due to changes in other header inclusions.
2019-08-23 22:03:03 -04:00
Phillip Stephens f2b551b89b Minor compile fixes, fix potential undefined behavior in CMDL.cpp 2019-08-23 17:09:21 -07:00
Phillip Stephens 2acc5c1fe5 Update hecl 2019-08-23 16:37:39 -07:00