diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-10-29 18:27:46 +0700 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-10-29 18:31:49 +0700 |
commit | 2432be0c7f788270221b6f9eaf3f765b6118d8c2 (patch) | |
tree | b69df71ede09554c6c8792b96f598b486a982832 /src/main.zig | |
parent | 6b871944a9b2df0f84cbe3682244e07cb415fe79 (diff) | |
download | blackshades-2.4.3.tar.gz |
Sort imports and clean up 2.4.3
Diffstat (limited to 'src/main.zig')
-rw-r--r-- | src/main.zig | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/src/main.zig b/src/main.zig index 241e557..f6a2353 100644 --- a/src/main.zig +++ b/src/main.zig @@ -16,23 +16,21 @@ // You should have received a copy of the GNU General Public License // along with Black Shades. If not, see <https://www.gnu.org/licenses/>. -pub const c = @cImport({ - @cInclude("Game.h"); - @cInclude("Constants.h"); -}); +const allocator = std.heap.c_allocator; +const free = std.c.free; +const std = @import("std"); const Loca = @import("loca").Loca; -const Scores = misc.Scores; const al = @import("zeal"); -const allocator = std.heap.c_allocator; -const configuration = @import("config.zig"); -const free = std.c.free; const gf = @import("gfz"); const gl = @import("zgl"); + +const Scores = misc.Scores; +const c = @import("cimport.zig"); +const configuration = @import("config.zig"); const misc = @import("misc.zig"); const loadScores = misc.loadScores; const saveScores = misc.saveScores; -const std = @import("std"); var game: *c.Game = undefined; |