2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-07-07 18:05:52 +00:00

6788 Commits

Author SHA1 Message Date
0cb64f8528 Fix deprecation errors 2019-08-25 20:19:55 -07:00
f48ebefa84
Update hecl-gui 2019-08-25 18:33:23 -07:00
7c2d70542b Minor CMake fix 2019-08-25 18:33:03 -07:00
2a60b9fbf4
Update submodules, minor fixes 2019-08-25 18:29:25 -07:00
5a5194dd4a Update Boo 2019-08-25 18:29:01 -07:00
4a8a8fcbb9 Merge pull request #1 from lioncash/cmake
CMakeLists: Minor cleanup
2019-08-25 18:27:03 -07:00
a8f39c6acb Merge pull request #2 from lioncash/slot
General: Make use of Qt 5's signal/slot connection syntax
2019-08-25 18:26:55 -07:00
b2ce4b983c Merge pull request #3 from lioncash/ptr
General: Use unique_ptr for UI instances
2019-08-25 18:26:46 -07:00
b235a8fefe Merge pull request #22 from lioncash/ifdef
hecl/hecl: Remove windows ifdef in CaseInsensitiveCompare
2019-08-25 18:25:53 -07:00
Lioncash
4ca9a57540 hecl/hecl: Remove windows ifdef in CaseInsensitiveCompare
This is technically still usable for non-Windows systems, given there's
nothing directly Windows-specific about the operator overload
2019-08-25 21:22:44 -04:00
Lioncash
02e910c4ef General: Use unique_ptr for UI instances
Gets rid of the need for manual new and delete.
2019-08-25 20:52:05 -04:00
Lioncash
2ccc59fc0c General: Make use of Qt 5's signal/slot connection syntax
Allows compile-time detection of incompatible signals/slots, as opposed
to runtime errors, making the connections more type-safe.
2019-08-25 20:40:09 -04:00
Lioncash
1f62d8efbb CMakeLists: Append to hecl-gui target directly
Appends changes to the target directly instead of appending to variables
and then appending to the target.
2019-08-25 20:12:02 -04:00
Lioncash
2c8ee49238 CMakeLists: Migrate Qt package finding to using components
Same thing but shortens up the find_package() calls and allows linking
in a target directly instead of a variable name.
2019-08-25 20:12:02 -04:00
Lioncash
1558d3d355 CMakeLists: Organize source files
Organizes the source files to have a consistent formatting and layout.
2019-08-25 20:11:58 -04:00
f96ad00478 Update boo, deprecate OpenGL 2019-08-24 17:59:02 -07:00
3daaeac76b Update boo 2019-08-24 17:58:26 -07:00
d4e34e977f Update submdoules 2019-08-24 14:46:25 -07:00
34505ea557 Update boo 2019-08-24 14:45:57 -07:00
9725c12c52 Merge pull request #21 from lioncash/move
CVar: std::move listeners within addListener()
2019-08-24 14:43:47 -07:00
d36e0b8386 Merge pull request #20 from lioncash/string
hecl/hecl: Minor cleanups
2019-08-24 14:43:38 -07:00
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
Lioncash
3dc10e7473 CVar: std::move listeners within addListener()
std::function is allowed to heap allocate in order to hold any necessary
captures, so we should be std::move-ing instances here in order to avoid
potentially performing reallocations.
2019-08-24 16:27:29 -04:00
Lioncash
6968f8a301 hecl/hecl: Use nullptr where applicable 2019-08-24 16:14:59 -04:00
Lioncash
e5a0d657b3 hecl/hecl: Remove pointer casts from GetTmpDir()
We can just make the pointers point to const data, eliminating the need
to cast away const.
2019-08-24 16:04:30 -04:00
Lioncash
40b2e3edde hecl/hecl: Dehardcode sizes where applicable
Queries the source arrays for the size instead of replicating it
elsewhere.
2019-08-24 16:00:49 -04:00
Lioncash
0a6edbad2c hecl/hecl: Tidy up GetSystemLocations()
Converts a define into a constexpr variable, also joins declarations
with assignments where applicable.
2019-08-24 16:00:44 -04:00
Lioncash
bc7a6563cf hecl/hecl: Simplify SetThreadRes() 2019-08-24 15:36:35 -04:00
Lioncash
32fec587b5 hecl/hecl: Collapse InProgress() into std::any_of()
Same thing, more straightforward.
2019-08-24 15:32:18 -04:00
Lioncash
e96eb4cac6 hecl/hecl: Include relevant headers
Ensures the translation unit includes exactly what it needs.
2019-08-24 15:28:54 -04:00
Lioncash
5e98cb139a hecl/hecl: Convert std::string/std::wstring to views
Gets rid of two static constructors.
2019-08-24 15:23:57 -04:00
8e0802cdc8
Update submodules 2019-08-24 01:06:22 -07:00
d39caf54bb Update athena 2019-08-24 00:49:15 -07:00
52f9922820 Merge pull request #18 from lioncash/noexcept
hecl/hecl: noexcept correctness changes
2019-08-24 00:47:45 -07:00
fa1c437b16 Merge pull request #19 from lioncash/fmt
hecl: Correct fmt formatting specifiers
2019-08-24 00:47:36 -07:00
Lioncash
7088235bc4 hecl: Correct fmt formatting specifiers
These should be using {}-style formatting specifiers instead of printf
style. While we're at it, std::move the std::string instances where
applicable to potentially avoid reallocations.
2019-08-24 03:21:16 -04:00
Lioncash
a7bd496698 hecl/hecl: Remove pointer casts from Hash constructor interface
The interface accepts const void* as the input type, so there's no need
to explicitly pointer cast the input data.
2019-08-24 02:55:09 -04:00
Lioncash
e127fed0fd hecl/hecl: Mark Hash interface as noexcept
These are utilized within some hash implementations, which shouldn't
throw, so these member functions can be marked as noexcept.
2019-08-24 02:52:27 -04:00
Lioncash
09fe937bc3 hecl/hecl: Make hash_combine_impl noexcept
This is used to implement hashes, and since hash implementations
shouldn't throw, these shouldn't as well.
2019-08-24 02:46:47 -04:00
Lioncash
f957dd594b hecl/hecl: Mark byte swapping functions as noexcept
These are frequently used within hash implementations, which should be
noexcept by default. Given it doesn't make sense to throw exceptions
from these functions anyways, they can be made noexcept.
2019-08-24 02:46:44 -04:00
3d11596793
Merge pull request #47 from lioncash/bool
CPatterned: Correct use of bool in bitfield
2019-08-23 23:04:37 -07:00
14e7ac9693 Merge pull request '#46' from lioncash/fwd 2019-08-23 23:02:09 -07:00
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
f2b551b89b Minor compile fixes, fix potential undefined behavior in CMDL.cpp 2019-08-23 17:09:21 -07:00
e12e0057c3 Minor compile fixes 2019-08-23 16:58:15 -07:00
2acc5c1fe5 Update hecl 2019-08-23 16:37:39 -07:00
ff7e95546b Merge pull request #16 from lioncash/string
hecl/Compilers: Amend minor string related code
2019-08-23 16:36:53 -07:00
3a73ce7051 Merge pull request #17 from lioncash/connect
Connection: Minor miscellaneous changes
2019-08-23 16:36:13 -07:00