mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Change BOOL to bool
This commit is contained in:
parent
ec64153d42
commit
03936a50e3
@ -2570,7 +2570,7 @@ static DescAction action_table[] =
|
|||||||
// Calcule l'action suivante.
|
// Calcule l'action suivante.
|
||||||
// Retourne FALSE lorsque l'action est terminée.
|
// Retourne FALSE lorsque l'action est terminée.
|
||||||
|
|
||||||
BOOL Action(short action, short direct,
|
bool Action(short action, short direct,
|
||||||
short &phase, short &step,
|
short &phase, short &step,
|
||||||
short &channel, short &icon, POINT &pos, short &posZ,
|
short &channel, short &icon, POINT &pos, short &posZ,
|
||||||
short &sound)
|
short &sound)
|
||||||
@ -2658,7 +2658,7 @@ static short rotate_table[] =
|
|||||||
|
|
||||||
// Tourne une icône dans une direction donnée.
|
// Tourne une icône dans une direction donnée.
|
||||||
|
|
||||||
BOOL Rotate(short &icon, short direct)
|
bool Rotate(short &icon, short direct)
|
||||||
{
|
{
|
||||||
short* pTable = rotate_table;
|
short* pTable = rotate_table;
|
||||||
short i;
|
short i;
|
||||||
|
4
action.h
4
action.h
@ -4,13 +4,13 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
extern
|
extern
|
||||||
BOOL Action(short action, short direct,
|
bool Action(short action, short direct,
|
||||||
short &phase, short &step,
|
short &phase, short &step,
|
||||||
short &channel, short &icon, POINT &pos, short &posZ,
|
short &channel, short &icon, POINT &pos, short &posZ,
|
||||||
short &sound);
|
short &sound);
|
||||||
|
|
||||||
extern
|
extern
|
||||||
BOOL Rotate(short &icon, short direct);
|
bool Rotate(short &icon, short direct);
|
||||||
|
|
||||||
extern
|
extern
|
||||||
int GetIconDirect(short icon);
|
int GetIconDirect(short icon);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user