blob: a376ed267b78a3ef6b8cdce35b5f541b895497ae (
plain)
1
2
3
4
5
6
7
8
|
#include "all.h"
void DrawCrosshair(void) {
int screenWidth = GetScreenWidth();
int screenHeight = GetScreenHeight();
DrawLine(screenWidth / 2 - 10, screenHeight / 2, screenWidth / 2 + 10, screenHeight / 2, GREEN);
DrawLine(screenWidth / 2, screenHeight / 2 - 10, screenWidth / 2, screenHeight / 2 + 10, GREEN);
}
|