1
0
Fork 0

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:
Richard Harrison 2017-05-18 00:15:43 +02:00
parent 406f158067
commit ffde50484c
2 changed files with 800 additions and 538 deletions

View file

@ -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