Scid
4.7.0
|
#include "game.h"
#include "bytebuf.h"
#include "common.h"
#include "dstring.h"
#include "naglatex.h"
#include "nagtext.h"
#include "position.h"
#include "stored.h"
#include "textbuf.h"
#include <algorithm>
#include <cstring>
Go to the source code of this file.
Macros | |
#define | ENCODE_NAG 11 |
#define | ENCODE_COMMENT 12 |
#define | ENCODE_START_MARKER 13 |
#define | ENCODE_END_MARKER 14 |
#define | ENCODE_END_GAME 15 |
#define | ENCODE_FIRST 11 |
#define | ENCODE_LAST 15 |
Typedefs | |
typedef Game * | GamePtr |
Functions | |
void | transPieces (char *s) |
char | transPiecesChar (char c) |
uint | strGetRatingType (const char *name) |
void | game_printNag (byte nag, char *str, bool asSymbol, gameFormatT format) |
byte | game_parseNag (std::pair< const char *, const char *> strview) |
bool | isSpecialMoveCode (byte val) |
template<typename TCont > | |
errorT | encodeTags (ByteBuffer *buf, const TCont &tagList) |
Variables | |
int | language = 0 |
const char * | langPieces [] |
const char * | ratingTypeNames [17] |
constexpr int | MOVE_CHUNKSIZE = 128 |
constexpr size_t | MAX_TAG_LEN = 240 |
errorT encodeTags | ( | ByteBuffer * | buf, |
const TCont & | tagList | ||
) |
byte game_parseNag | ( | std::pair< const char *, const char *> | strview | ) |
void game_printNag | ( | byte | nag, |
char * | str, | ||
bool | asSymbol, | ||
gameFormatT | format | ||
) |
const char* langPieces[] |