#include <stdio.h>#include <stdlib.h>#include <cstring>#include <ctype.h>#include <stdarg.h>#include <iostream>#include <SDL.h>#include "global.h"#include "misc.h"#include "ascstring.h"Include dependency graph for misc.cpp:

Go to the source code of this file.
Defines | |
| #define | UPDC32(octet, crc) (crc_32_tab[((crc) ^ (octet)) & 0xff] ^ ((crc) >> 8)) |
Typedefs | |
| typedef unsigned int | UNS_32_BITS |
Functions | |
| int | firstBit (int zahl) |
| char * | strr (int a) |
| converts a to a string. | |
| char * | strrr (int a) |
| converts a to a string. | |
| char * | strrr (Uint32 a) |
| char * | strrr (double f) |
| converts a to a string. | |
| void | beep (void) |
| int | crc32buf (const void *vbuf, int len) |
| int | atoi (const std::string &s) |
| double | atof (const std::string &s) |
| char * | strupr (const char *a) |
| char * | itoa (int a, char *b, int c) |
Variables | |
| const char * | digit [] = { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9" } |
| const char * | letter [] |
| char | strstring [1000] |
| static UNS_32_BITS | crc_32_tab [] |
|
|
Definition at line 139 of file misc.cpp. Referenced by crc32buf(). |
|
|
|
|
|
Definition at line 166 of file misc.cpp. References atof(). Referenced by atof(), ResourcePlacementDialog::buttonEvent(), DoubleArrayProperty::operation_eq(), FloatProperty::operation_eq(), FloatProperty::operation_mult(), IntegerProperty::operation_mult(), and SetProgressBarAtts(). |
|
|
|
|
|
||||||||||||
|
Definition at line 142 of file misc.cpp. References UPDC32. Referenced by Password::encodepassword(). |
|
|
Definition at line 45 of file misc.cpp. Referenced by ColorConverter< 1, 4 >::ColorConverter(), ColorMerger_AlphaHandler< 4 >::init(), and log2(). |
|
||||||||||||||||
|
Definition at line 188 of file misc.cpp. Referenced by tdialogbox::disablebutton(), tdialogbox::enablebutton(), int2string(), tdialogbox::intedit(), strr(), strrd8d(), strrd8n(), strrd8u(), strrr(), strrrd8d(), strrrd8n(), and strrrd8u(). |
|
|
converts a to a string.
Definition at line 59 of file misc.cpp. References itoa(). Referenced by tshowhistorypaintstat(). |
|
|
converts a to a string.
Definition at line 77 of file misc.cpp. References strstring. |
|
|
Definition at line 72 of file misc.cpp. References strstring. |
|
|
|
Definition at line 173 of file misc.cpp. References malloc(). Referenced by ASCStringHelpers::_Strupr(). |
|
|
|
|
|
Definition at line 37 of file misc.cpp. Referenced by int2string(). |
|
|
Initial value: { "A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M",
"N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z" }
|
|
|
Definition at line 42 of file misc.cpp. Referenced by strrr(). |
1.4.2