OpenBF1942-Plus
Refractor 1, rebuilt from scratch
Loading...
Searching...
No Matches
scene.h File Reference
#include <functional>
#include <map>
#include <string>
#include <vector>
#include "con.h"
#include "mat.h"

Go to the source code of this file.

Classes

struct  obf::DrawItem
struct  obf::SpawnPoint

Namespaces

namespace  obf

Typedefs

using obf::JointFn = std::function<Mat4(const std::string& name, int occurrence)>

Functions

std::vector< DrawItem > obf::build_scene (const Con &con, const Vfs &vfs, std::map< std::string, int > &skipped, const std::function< bool(const std::string &)> &hide, std::vector< SpawnPoint > *spawns)
std::vector< DrawItem > obf::build_object (const Con &con, const Vfs &vfs, const std::string &name, const Mat4 &world, std::map< std::string, int > &skipped, const JointFn &joint, const std::function< bool(const std::string &)> &hide, bool wreck)
void obf::parse_vec3 (const std::string &s, float out[3])