Difficulty scaling: Difference between revisions

Jump to navigation Jump to search
imported>Leoetlino
m (terms)
imported>Leoetlino
Line 129: Line 129:
Pseudocode (1.0.0):
Pseudocode (1.0.0):
<source lang="c++">
<source lang="c++">
bool Ecosystem::LevelSensor::scaleWeapon(StringView weapon_to_look_up,
bool Ecosystem::LevelSensor::scaleWeapon(const sead::SafeString& weapon_to_look_up,
                                            WeaponModifier required_modifier,
                                        WeaponModifier required_modifier,
                                            const char** weapon_to_use_name,
                                        const char** weapon_to_use_name,
                                            WeaponModifier* modifier_to_use,
                                        WeaponModifier* modifier_to_use,
                                            void* unknown)
                                        void* unknown)
{
{
   // some checks using 'unknown' here which seems to be a pointer to the actor
   // some checks using 'unknown' here which seems to be a pointer to the actor