home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 48000 
 Deucе to Git commit to main/sbbs/master 
 src/doors/clans-src/src/empire.c fight.c 
 02 Nov 25 01:10:34 
 
TZUTC: -0700
MSGID: 53414.syncprog@1:103/705 2d6d18a0
PID: Synchronet 3.21a-Linux master/88b423313 Sep 29 2025 GCC 12.2.0
TID: SBBSecho 3.30-Linux master/3b5271993 Oct 31 2025 GCC 12.2.0
BBSID: VERT
CHRS: UTF-8 4
FORMAT: flowed
https://gitlab.synchro.net/main/sbbs/-/commit/ba51b62f04fc25d2cd87fa41
Modified Files:
	src/doors/clans-src/src/empire.c fight.c game.c ibbs.c items.c mail.c menus.c
pawn.c scores.c spells.c user.c village.c voting.c
Log Message:
"Fix" language file handling

The strings file has sprintf() format specifiers for the 16-bit MS-DOS
version. Since every parameter is implicitly converted to an int, this
isn't an issue for chars, shorts, int16_t, or uint16_t (the old int
and unsigned). However, some of the format specifiers want longs,
and those values are no longer a long type (they're int32_t). This
caused various numbers to be displayed incorrectly even though the
game used them correctly.

So, I went through and added casts to the type specified in the
strings file to every snprintf() that uses numbers (or chars).
This meant looking up the macro in mstrings.h, then looking at the
referenced line in string.txt... a lot.

Anyway, looks good now.
--- SBBSecho 3.30-Linux
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
SEEN-BY: 10/0 1 102/401 103/1 705 105/81 106/201 124/5016 128/187
SEEN-BY: 129/14 153/7715 154/110 214/22 218/0 1 215 610 700 810 226/30
SEEN-BY: 227/114 229/110 206 317 400 426 428 470 700 705 266/512 280/464
SEEN-BY: 291/111 301/1 320/219 322/757 342/200 396/45 460/58 633/280
SEEN-BY: 712/848 902/26 5075/35
PATH: 103/705 218/700 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca