NSUNI/NSLAR Library a250670
Loading...
Searching...
No Matches
colbox.hpp File Reference

Provides structures and functions for working with collision boxes of entities. More...

#include <glm/glm.hpp>
#include <map>
#include "NNL/common/fixed_type.hpp"
#include "NNL/common/io.hpp"
#include "NNL/game_asset/behavior/action_common.hpp"
#include "NNL/game_asset/visual/model_common.hpp"
#include "tsl/ordered_map.h"

Go to the source code of this file.

Classes

struct  nnl::colbox::CollisionBox14
 Represents a collision box. More...
struct  nnl::colbox::CollisionBox18
 Represents a collision box. More...
struct  nnl::colbox::CollisionBox20
 Represents a collision box in a hitbox config. More...
struct  nnl::colbox::HitboxConfig
 Represents a hitbox config. More...
struct  nnl::colbox::ColBoxConfig
 Represents the configuration for various collision boxes of a character. More...

Namespaces

namespace  nnl
namespace  nnl::colbox
 Provides structures and functions for working with collision boxes of entities.

Functions

bool nnl::colbox::IsOfType (BufferView buffer)
 Tests if the provided file is a collision box config.
ColBoxConfig nnl::colbox::Import (BufferView buffer)
 Parses a binary file and converts it to a structured CollisionBoxConfig.
Buffer nnl::colbox::Export (const ColBoxConfig &colbox_config)
 Converts a CollisionBoxConfig to a binary file representation.

Variables

constexpr u32 nnl::colbox::raw::kMagicBytes = 0xFF'FF'00'01
 Magic bytes used to identify the collision box format.

Detailed Description

Provides structures and functions for working with collision boxes of entities.

See also
nnl::colbox::ColBoxConfig
nnl::colbox::IsOfType
nnl::colbox::Import
nnl::colbox::Export