File: parsehi.h

package info (click to toggle)
freespace2 24.0.2%2Brepack-1
  • links: PTS, VCS
  • area: non-free
  • in suites: trixie
  • size: 43,188 kB
  • sloc: cpp: 583,107; ansic: 21,729; python: 1,174; sh: 464; makefile: 248; xml: 181
file content (12 lines) | stat: -rw-r--r-- 517 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
#pragma once
#include "parse/parselo.h"
#include "graphics/color.h"

//parsehi is intended for higher level, frequently used combinations of parselo functions
//and also for collection of standardized parsing of complex types where appropriate

extern bool parse_optional_float_into(const SCP_string& field_name, float* value_target);

extern bool parse_optional_bool_into(const SCP_string& field_name, bool* value_target);

extern bool parse_optional_color3i_into(const SCP_string &field_name, hdr_color *out_color);