cc65-Chess/src/plat.h
Oliver Schmidt a40cccc921 Allow plat_Highlight() to distinguish between moving a piece and showing attackers/defenders.
Notes:
- The color isn't usable for this distinction as HCOLOR_ATTACK is used for both scenarios.
- This change doesn't make use of the new distinction on the C64. One option would be to use different brackets for the two scenarios.
2020-01-18 20:04:13 +01:00

26 lines
598 B
C

/*
* plat.h
* cc65 Chess
*
* Created by Stefan Wessels, February 2014.
*
*/
#ifndef _PLAT_H_
#define _PLAT_H_
void plat_Init();
void plat_UpdateScreen();
char plat_Menu(char **menuItems, char height, char *scroller);
void plat_DrawBoard(char clearLog);
void plat_DrawSquare(char position);
void plat_ShowSideToGoLabel(char side);
void plat_Highlight(char position, char color, char cursor);
void plat_ShowMessage(char *str, char color);
void plat_ClearMessage();
void plat_AddToLogWin();
void plat_AddToLogWinTop();
int plat_ReadKeys(char blocking);
void plat_Shutdown();
#endif //_PLAT_H_