mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-18 20:15:35 -04:00
fix some extern I forgot, causing duplicate symbol error at runtime on some systems
This commit is contained in:
parent
979998fa8c
commit
56a4664f22
@ -9,7 +9,7 @@ struct PickedPos;
|
|||||||
struct Camera;
|
struct Camera;
|
||||||
|
|
||||||
/* Shared data for cameras. */
|
/* Shared data for cameras. */
|
||||||
struct _CameraData {
|
extern struct _CameraData {
|
||||||
/* How sensitive camera is to movements of mouse. */
|
/* How sensitive camera is to movements of mouse. */
|
||||||
int Sensitivity;
|
int Sensitivity;
|
||||||
/* Whether smooth/cinematic camera mode is used. */
|
/* Whether smooth/cinematic camera mode is used. */
|
||||||
|
@ -175,7 +175,7 @@ CC_VAR extern struct _WindowEventsList {
|
|||||||
struct Event_Void StateChanged; /* WindowState of the window changed */
|
struct Event_Void StateChanged; /* WindowState of the window changed */
|
||||||
} WindowEvents;
|
} WindowEvents;
|
||||||
|
|
||||||
CC_VAR struct _KeyEventsList {
|
CC_VAR extern struct _KeyEventsList {
|
||||||
struct Event_Int Press; /* Raised when a character is typed. Arg is a character */
|
struct Event_Int Press; /* Raised when a character is typed. Arg is a character */
|
||||||
struct Event_Input Down; /* Raised when a key is pressed. Arg is a member of Key enumeration */
|
struct Event_Input Down; /* Raised when a key is pressed. Arg is a member of Key enumeration */
|
||||||
struct Event_Int Up; /* Raised when a key is released. Arg is a member of Key enumeration */
|
struct Event_Int Up; /* Raised when a key is released. Arg is a member of Key enumeration */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user