2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-14 11:11:21 +00:00

15 Commits

Author SHA1 Message Date
Lioncash
a0c4b6b3ec CAiFuncMap: Store std::string_view instances instead of std::string
We only make use of static string entries, so we can make use of
std::string view to elide several memory allocations.
2020-05-08 16:38:19 -04:00
Lioncash
c9271809a7 CAiFuncMap: Remove unused static std::vector
This isn't used, so we can remove it and get rid of a static
constructor.
2019-09-08 18:08:10 -04:00
Lioncash
20a0585cc5 CAiFuncMap: Convert typedefs into type aliases
Same thing, but reads a little nicer.
2019-09-08 18:08:10 -04:00
Lioncash
2f06fcba0a CAiFuncMap: Avoid redundant map lookups in getters
We can just use the result of the find operation instead of rehashing
into the map to retrieve the entry.

This also allows us to make the getter const qualified.
2019-09-08 18:08:10 -04:00
Jack Andersen
636c82a568 New code style refactor 2018-12-07 19:30:43 -10:00
Jack Andersen
94333e4726 Finish CStateMachine 2018-11-10 20:24:24 -10:00
Jack Andersen
d4bb7d64eb All CPatterned functions implemented 2018-11-10 17:27:54 -10:00
Jack Andersen
d6051f8808 Implement CKnockBackController 2018-11-04 20:12:53 -10:00
Jack Andersen
c91e5df986 Convert to pragma once 2018-10-06 17:42:33 -10:00
679ce01a61 More CPatterned imps 2018-09-13 17:49:34 -07:00
Jack Andersen
e274cd12b9 Refactorings to support .upak generation 2017-10-24 21:47:49 -10:00
Jack Andersen
1731cae418 Implement remaining CStateManager stubs 2017-03-31 09:51:40 -10:00
a840cc7afb CBodyState and CStateMachine work 2016-08-15 13:43:04 -07:00
63985b6063 CPatterned arg type fix
Relay loader imps
CBeetle loader imp
Change CAiFuncMap's const char* to std::string
2016-05-17 20:57:43 -07:00
6d9ccc7f89 Various Implementations 2016-04-24 22:53:06 -07:00