Core: Fix casting binding
This commit is contained in:
@@ -45,6 +45,13 @@ guys: Array(Guy)
|
||||
Add(&guys, {100, 100})
|
||||
*/
|
||||
|
||||
/* @language_todo: Namespacing
|
||||
|
||||
this requires parent_decl in scopes, we use first namespace(main module has precedence) declaration to
|
||||
prefix all functions, globals etc. in a given file / module.
|
||||
|
||||
*/
|
||||
|
||||
#import "raylib.core"
|
||||
#load "array.core"
|
||||
MAP :: #load "map.core"
|
||||
@@ -110,6 +117,7 @@ main :: (): int
|
||||
MouseP = GetMousePosition()
|
||||
Dt = GetFrameTime()
|
||||
map := &MAP.CurrentMap
|
||||
ai := GetIndex(&map.actors, map.actors.data)
|
||||
|
||||
MouseSelecting = false
|
||||
if IsMouseButtonDown(MOUSE_BUTTON_LEFT)
|
||||
|
||||
Reference in New Issue
Block a user