mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
Convert non-ASCII characters to UTF-8
Comments and notes are converted to UTF-8. Already broken multibyte characters are fixed using common sense. This patch contains no code changes. Change-Id: Ia511ab84936cb2495ac17309493a9b98727a7902
This commit is contained in:
parent
8f5128da16
commit
5d7c8a0df1
32 changed files with 94 additions and 90 deletions
|
|
@ -38,9 +38,9 @@
|
|||
* Supports: Reading 8, 15, 16, 24 and 32bpp images, with alpha or colourkey,
|
||||
* uncompressed or RLE encoded.
|
||||
*
|
||||
* 2000-06-10 Mattias Engdegård <f91-men@nada.kth.se>: initial version
|
||||
* 2000-06-26 Mattias Engdegård <f91-men@nada.kth.se>: read greyscale TGAs
|
||||
* 2000-08-09 Mattias Engdegård <f91-men@nada.kth.se>: alpha inversion removed
|
||||
* 2000-06-10 Mattias Engdegård <f91-men@nada.kth.se>: initial version
|
||||
* 2000-06-26 Mattias Engdegård <f91-men@nada.kth.se>: read greyscale TGAs
|
||||
* 2000-08-09 Mattias Engdegård <f91-men@nada.kth.se>: alpha inversion removed
|
||||
*/
|
||||
|
||||
struct TGAheader {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@
|
|||
externally-callable function is Mix_LoadAIFF_RW(), which is meant to
|
||||
act as identically to SDL_LoadWAV_RW() as possible.
|
||||
|
||||
This file by Torbjörn Andersson (torbjorn.andersson@eurotime.se)
|
||||
This file by Torbjörn Andersson (torbjorn.andersson@eurotime.se)
|
||||
8SVX file support added by Marc Le Douarain (mavati@club-internet.fr)
|
||||
in december 2002.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
externally-callable function is Mix_LoadAIFF_RW(), which is meant to
|
||||
act as identically to SDL_LoadWAV_RW() as possible.
|
||||
|
||||
This file by Torbjörn Andersson (torbjorn.andersson@eurotime.se)
|
||||
This file by Torbjörn Andersson (torbjorn.andersson@eurotime.se)
|
||||
*/
|
||||
|
||||
/* $Id$ */
|
||||
|
|
|
|||
|
|
@ -219,9 +219,13 @@ SPRITE VARIABLES:
|
|||
EXTERN short nextspritesect[MAXSPRITES], nextspritestat[MAXSPRITES];
|
||||
|
||||
Example: if the linked lists look like the following:
|
||||
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
|
||||
? Sector lists: Status lists: ? ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
|
||||
? Sector0: 4, 5, 8 Status0: 2, 0, 8 ? ? Sector1: 16, 2, 0, 7 Status1: 4, 5, 16, 7, 3, 9 ? ? Sector2: 3, 9 ? ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
|
||||
┌──────────────────────────────────────────────────────────────┐
|
||||
│ Sector lists: Status lists: │
|
||||
├──────────────────────────────────────────────────────────────┤
|
||||
│ Sector0: 4, 5, 8 Status0: 2, 0, 8 │
|
||||
│ Sector1: 16, 2, 0, 7 Status1: 4, 5, 16, 7, 3, 9 │
|
||||
│ Sector2: 3, 9 │
|
||||
└──────────────────────────────────────────────────────────────┘
|
||||
Notice that each number listed above is shown exactly once on both the
|
||||
left and right side. This is because any sprite that exists must
|
||||
be in some sector, and must have some kind of status that you define.
|
||||
|
|
|
|||
|
|
@ -4742,9 +4742,9 @@ static void ceilspritehline (int32_t x2, int32_t y)
|
|||
int32_t x1, v, bx, by;
|
||||
|
||||
/*
|
||||
* x = x1 + (x2-x1)t + (y1-y2)u ³ x = 160v
|
||||
* y = y1 + (y2-y1)t + (x2-x1)u ³ y = (scrx-160)v
|
||||
* z = z1 = z2 ³ z = posz + (scry-horiz)v
|
||||
* x = x1 + (x2-x1)t + (y1-y2)u │ x = 160v
|
||||
* y = y1 + (y2-y1)t + (x2-x1)u │ y = (scrx-160)v
|
||||
* z = z1 = z2 │ z = posz + (scry-horiz)v
|
||||
*/
|
||||
|
||||
x1 = lastx[y];
|
||||
|
|
|
|||
|
|
@ -333,10 +333,10 @@ static int InitMPU
|
|||
}
|
||||
*/
|
||||
|
||||
/*ユヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘク*/
|
||||
/*ウ ShutdownMPU ウ*/
|
||||
/*ウ Cleans up Sound Blaster to normal state. ウ*/
|
||||
/*ヤヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘセ*/
|
||||
/*╒════════════════════════════════════════════════════════════════════════╕*/
|
||||
/*│ ShutdownMPU │*/
|
||||
/*│ Cleans up Sound Blaster to normal state. │*/
|
||||
/*╘════════════════════════════════════════════════════════════════════════╛*/
|
||||
|
||||
static void ShutdownMPU
|
||||
(
|
||||
|
|
@ -362,9 +362,9 @@ static void ShutdownMPU
|
|||
}
|
||||
|
||||
|
||||
/*ユヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘク*/
|
||||
/*ウ LoadSBK ウ*/
|
||||
/*ヤヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘヘセ*/
|
||||
/*╒════════════════════════════════════════════════════════════════════════╕*/
|
||||
/*│ LoadSBK │*/
|
||||
/*╘════════════════════════════════════════════════════════════════════════╛*/
|
||||
|
||||
static void LoadSBK
|
||||
(
|
||||
|
|
|
|||
|
|
@ -213,7 +213,7 @@ int songs[] = {
|
|||
XFUNKIE_MUS,
|
||||
XDEATH_MUS,
|
||||
XGETYOU_MUS, // DON'T KNOW
|
||||
ULTIMATE_MUS, // Trans Gr”sse
|
||||
ULTIMATE_MUS, // Trans Grösse
|
||||
|
||||
DUNGEON_MUS,
|
||||
GOINGAFT_MUS,
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ void SDL_MixAudio_MMX_S16(char* dst,char* src,unsigned int size,int volume)
|
|||
|
||||
" movq 8(%1),%%mm4\n" /* mm4 = e|f|g|h */
|
||||
|
||||
/* pré charger le buffer dst dans mm7 */
|
||||
/* pré charger le buffer dst dans mm7 */
|
||||
" movq (%0),%%mm7\n" /* mm7 = dst[0] */
|
||||
|
||||
/* multiplier par le volume */
|
||||
|
|
@ -92,7 +92,7 @@ void SDL_MixAudio_MMX_S16(char* dst,char* src,unsigned int size,int volume)
|
|||
|
||||
" punpcklwd %%mm5,%%mm6\n" /* mm6 = g*v|h*v */
|
||||
|
||||
/* pré charger le buffer dst dans mm5 */
|
||||
/* pré charger le buffer dst dans mm5 */
|
||||
" movq 8(%0),%%mm5\n" /* mm5 = dst[1] */
|
||||
|
||||
/* diviser par 128 */
|
||||
|
|
@ -103,13 +103,13 @@ void SDL_MixAudio_MMX_S16(char* dst,char* src,unsigned int size,int volume)
|
|||
|
||||
" psrad $7,%%mm4\n" /* mm4 = e*v/128|f*v/128 */
|
||||
|
||||
/* mm1 = le sample avec le volume modifié */
|
||||
/* mm1 = le sample avec le volume modifié */
|
||||
" packssdw %%mm1,%%mm3\n" /* mm3 = s(a*v|b*v|c*v|d*v) */
|
||||
|
||||
" psrad $7,%%mm6\n" /* mm6= g*v/128|h*v/128 */
|
||||
" paddsw %%mm7,%%mm3\n" /* mm3 = adjust_volume(src)+dst */
|
||||
|
||||
/* mm4 = le sample avec le volume modifié */
|
||||
/* mm4 = le sample avec le volume modifié */
|
||||
" packssdw %%mm4,%%mm6\n" /* mm6 = s(e*v|f*v|g*v|h*v) */
|
||||
" movq %%mm3,(%0)\n"
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@
|
|||
*
|
||||
* Original version by Sam Lantinga
|
||||
*
|
||||
* Mattias Engdegård (Yorick): Rewrite. New encoding format, encoder and
|
||||
* Mattias Engdegård (Yorick): Rewrite. New encoding format, encoder and
|
||||
* decoder. Added per-surface alpha blitter. Added per-pixel alpha
|
||||
* format, encoder and blitter.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@
|
|||
#define DEFAULT_CHOTX 0
|
||||
#define DEFAULT_CHOTY 0
|
||||
|
||||
/* Added a real MacOS cursor, at the request of Luc-Olivier de Charrière */
|
||||
/* Added a real MacOS cursor, at the request of Luc-Olivier de Charrière */
|
||||
#define USE_MACOS_CURSOR
|
||||
|
||||
#ifdef USE_MACOS_CURSOR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue