mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Cosmetic: translate comments
This commit is contained in:
parent
8ac93b8e40
commit
2d7a6f28d1
@ -373,7 +373,7 @@ static void HandleEvent (const SDL_Event & event)
|
||||
}
|
||||
}
|
||||
|
||||
// Erreur dans DoInit.
|
||||
// Error with DoInit function.
|
||||
|
||||
static bool InitFail (const char * msg)
|
||||
{
|
||||
@ -390,7 +390,7 @@ static bool InitFail (const char * msg)
|
||||
return false;
|
||||
}
|
||||
|
||||
// Initialisation de l'application.
|
||||
// Main initialization function.
|
||||
|
||||
static bool DoInit (Sint32 argc, char * argv[])
|
||||
{
|
||||
@ -435,7 +435,7 @@ static bool DoInit (Sint32 argc, char * argv[])
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!bOK) // config.ini pas correct ?
|
||||
if (!bOK) // Something wrong with config.ini file?
|
||||
return InitFail ("Game not correctly installed");
|
||||
|
||||
SDL_RenderSetLogicalSize (g_renderer, LXIMAGE, LYIMAGE);
|
||||
@ -465,7 +465,7 @@ static bool DoInit (Sint32 argc, char * argv[])
|
||||
info.max_texture_height);
|
||||
}
|
||||
|
||||
// Cr�e le pixmap principal.
|
||||
// Create the main pixmap.
|
||||
g_pPixmap = new CPixmap;
|
||||
if (g_pPixmap == nullptr)
|
||||
return InitFail ("New pixmap");
|
||||
@ -593,7 +593,7 @@ static bool DoInit (Sint32 argc, char * argv[])
|
||||
g_pPixmap->LoadCursors ();
|
||||
g_pPixmap->ChangeSprite (SPRITE_WAIT); // met le sablier maison
|
||||
|
||||
// Cr�e le gestionnaire de son.
|
||||
// Create the sound manager.
|
||||
g_pSound = new CSound;
|
||||
if (g_pSound == nullptr)
|
||||
return InitFail ("New sound");
|
||||
@ -602,14 +602,14 @@ static bool DoInit (Sint32 argc, char * argv[])
|
||||
g_pSound->CacheAll ();
|
||||
g_pSound->SetState (true);
|
||||
|
||||
// Cr�e le gestionnaire de films.
|
||||
// Create the movie manager.
|
||||
g_pMovie = new CMovie;
|
||||
if (g_pMovie == nullptr)
|
||||
return InitFail ("New movie");
|
||||
|
||||
g_pMovie->Create ();
|
||||
|
||||
// Cr�e le gestionnaire de d�cors.
|
||||
// Create the decor manager.
|
||||
g_pDecor = new CDecor;
|
||||
if (g_pDecor == nullptr)
|
||||
return InitFail ("New decor");
|
||||
@ -617,7 +617,7 @@ static bool DoInit (Sint32 argc, char * argv[])
|
||||
g_pDecor->Create (g_pSound, g_pPixmap);
|
||||
g_pDecor->MapInitColors ();
|
||||
|
||||
// Cr�e le gestionnaire d'�v�nements.
|
||||
// Create the event manager.
|
||||
g_pEvent = new CEvent;
|
||||
if (g_pEvent == nullptr)
|
||||
return InitFail ("New event");
|
||||
@ -626,7 +626,7 @@ static bool DoInit (Sint32 argc, char * argv[])
|
||||
g_pEvent->SetFullScreen (g_bFullScreen);
|
||||
g_pEvent->ChangePhase (WM_PHASE_INTRO1);
|
||||
|
||||
g_bTermInit = true; // initialisation termin�e
|
||||
g_bTermInit = true;
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -638,8 +638,6 @@ static void initGettext ()
|
||||
bind_textdomain_codeset ("planetblupi", "UTF-8");
|
||||
}
|
||||
|
||||
// Programme principal.
|
||||
|
||||
int main (int argc, char * argv[])
|
||||
{
|
||||
initGettext ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user