mirror of
https://github.com/StewBC/cc65-Chess.git
synced 2024-06-02 20:41:30 +00:00
a40cccc921
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.
26 lines
598 B
C
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_
|