778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
|
Uint32*tron8to32(const Uint8*si) {
// This function does not interpret the internal-only 0xFF code, which will be implemented in picture.c instead.
Uint16 cs=0;
int n=0;
Uint32*so=0;
int k=0;
if(*si==0xFE) {
// TRON
for(k=0;si[k];k++) {
if(si[k]==31 && si[k+1]) {
n+=2;
k++;
} else if(si[k]==14 || si[k]==30) {
while(si[k] && si[k]!='\\') {
|
|
|
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
|
Uint32*tron8to32(const Uint8*si) {
// This function does not interpret the internal-only 0xFF code, which will be implemented in picture.c instead.
Uint16 cs=0;
int n=0;
Uint32*so=0;
int k=0;
if(has_mbcs && *si==0xFE) {
// TRON
for(k=0;si[k];k++) {
if(si[k]==31 && si[k+1]) {
n+=2;
k++;
} else if(si[k]==14 || si[k]==30) {
while(si[k] && si[k]!='\\') {
|