Added support for multiplay/generic/bool[0..90] packed into three ints of 31 bits.
Add support for per property encoding. - encode_for_transmit - method that will convert from and to the packet for the value. - decode_received - decodes received data
This commit is contained in:
parent
406f158067
commit
ffde50484c
2 changed files with 800 additions and 538 deletions
|
@ -126,7 +126,7 @@ struct FGPropertyData {
|
|||
float float_value;
|
||||
char* string_value;
|
||||
};
|
||||
|
||||
FGPropertyData() : string_value(nullptr) {}
|
||||
~FGPropertyData() {
|
||||
if ((type == simgear::props::STRING) || (type == simgear::props::UNSPECIFIED))
|
||||
{
|
||||
|
|
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue