diff --git a/allegro5/bitmap.go b/allg5/bitmap.go similarity index 99% rename from allegro5/bitmap.go rename to allg5/bitmap.go index 2e3f41d..0e56704 100644 --- a/allegro5/bitmap.go +++ b/allg5/bitmap.go @@ -1,4 +1,4 @@ -package allegro5 +package allg5 // #include // #include diff --git a/allegro5/c.go b/allg5/c.go similarity index 88% rename from allegro5/c.go rename to allg5/c.go index 090dbe7..1b5f2b1 100644 --- a/allegro5/c.go +++ b/allg5/c.go @@ -1,6 +1,6 @@ // +build !windows -package allegro5 +package allg5 // #cgo pkg-config: allegro-5 allegro_font-5 allegro_image-5 allegro_primitives-5 allegro_ttf-5 import "C" diff --git a/allegro5/c_windows.go b/allg5/c_windows.go similarity index 88% rename from allegro5/c_windows.go rename to allg5/c_windows.go index 0ca62d4..3646de5 100644 --- a/allegro5/c_windows.go +++ b/allg5/c_windows.go @@ -1,6 +1,6 @@ // +build windows,!static -package allegro5 +package allg5 // #cgo LDFLAGS: -lallegro -lallegro_font -lallegro_image -lallegro_primitives -lallegro_ttf import "C" diff --git a/allegro5/c_windows_static.go b/allg5/c_windows_static.go similarity index 94% rename from allegro5/c_windows_static.go rename to allg5/c_windows_static.go index cfca8fd..2655561 100644 --- a/allegro5/c_windows_static.go +++ b/allg5/c_windows_static.go @@ -1,6 +1,6 @@ // +build windows,static -package allegro5 +package allg5 // #cgo LDFLAGS: -lallegro_monolith-static -static -ljpeg -ldumb -lFLAC -lfreetype -lvorbisfile -lvorbis -logg -lphysfs -lpng16 -lzlib -luuid -lkernel32 -lwinmm -lpsapi -lopengl32 -lglu32 -luser32 -lcomdlg32 -lgdi32 -lshell32 -lole32 -ladvapi32 -lws2_32 -lshlwapi -lstdc++ import "C" diff --git a/allegro5/color.go b/allg5/color.go similarity index 97% rename from allegro5/color.go rename to allg5/color.go index c861cbc..ae30853 100644 --- a/allegro5/color.go +++ b/allg5/color.go @@ -1,4 +1,4 @@ -package allegro5 +package allg5 // #include import "C" diff --git a/allegro5/display.go b/allg5/display.go similarity index 99% rename from allegro5/display.go rename to allg5/display.go index 0f8b1ec..23e5d98 100644 --- a/allegro5/display.go +++ b/allg5/display.go @@ -1,4 +1,4 @@ -package allegro5 +package allg5 // #include import "C" diff --git a/allegro5/event.go b/allg5/event.go similarity index 99% rename from allegro5/event.go rename to allg5/event.go index 59572bf..64df75d 100644 --- a/allegro5/event.go +++ b/allg5/event.go @@ -1,4 +1,4 @@ -package allegro5 +package allg5 // #include import "C" diff --git a/allegro5/flagmut.go b/allg5/flagmut.go similarity index 94% rename from allegro5/flagmut.go rename to allg5/flagmut.go index f4547d0..43684b4 100644 --- a/allegro5/flagmut.go +++ b/allg5/flagmut.go @@ -1,4 +1,4 @@ -package allegro5 +package allg5 // #include import "C" diff --git a/allegro5/font.go b/allg5/font.go similarity index 99% rename from allegro5/font.go rename to allg5/font.go index 4937860..0aeef9f 100644 --- a/allegro5/font.go +++ b/allg5/font.go @@ -1,4 +1,4 @@ -package allegro5 +package allg5 // #include // #include diff --git a/allegro5/graphics.go b/allg5/graphics.go similarity index 98% rename from allegro5/graphics.go rename to allg5/graphics.go index 1411b2c..ef018cb 100644 --- a/allegro5/graphics.go +++ b/allg5/graphics.go @@ -1,4 +1,4 @@ -package allegro5 +package allg5 // #include import "C" diff --git a/allegro5/keyboard.go b/allg5/keyboard.go similarity index 99% rename from allegro5/keyboard.go rename to allg5/keyboard.go index a12a6ec..2961a8c 100644 --- a/allegro5/keyboard.go +++ b/allg5/keyboard.go @@ -1,4 +1,4 @@ -package allegro5 +package allg5 // #include import "C" diff --git a/allegro5/monitor.go b/allg5/monitor.go similarity index 97% rename from allegro5/monitor.go rename to allg5/monitor.go index be681de..f6b1852 100644 --- a/allegro5/monitor.go +++ b/allg5/monitor.go @@ -1,4 +1,4 @@ -package allegro5 +package allg5 // #include import "C" diff --git a/allegro5/mouse.go b/allg5/mouse.go similarity index 97% rename from allegro5/mouse.go rename to allg5/mouse.go index 5598b8e..8ad9f6d 100644 --- a/allegro5/mouse.go +++ b/allg5/mouse.go @@ -1,4 +1,4 @@ -package allegro5 +package allg5 // #include import "C" diff --git a/allegro5/newbitmapflag.go b/allg5/newbitmapflag.go similarity index 97% rename from allegro5/newbitmapflag.go rename to allg5/newbitmapflag.go index 645b135..d978066 100644 --- a/allegro5/newbitmapflag.go +++ b/allg5/newbitmapflag.go @@ -1,4 +1,4 @@ -package allegro5 +package allg5 // #include import "C" diff --git a/allegro5/platform_windows.go b/allg5/platform_windows.go similarity index 93% rename from allegro5/platform_windows.go rename to allg5/platform_windows.go index 4400bed..3908d18 100644 --- a/allegro5/platform_windows.go +++ b/allg5/platform_windows.go @@ -1,6 +1,6 @@ // +build windows -package allegro5 +package allg5 // #include // #include diff --git a/allegro5/primitives.go b/allg5/primitives.go similarity index 98% rename from allegro5/primitives.go rename to allg5/primitives.go index 72205e0..114e3f5 100644 --- a/allegro5/primitives.go +++ b/allg5/primitives.go @@ -1,4 +1,4 @@ -package allegro5 +package allg5 // #include // #include diff --git a/allegro5/system.go b/allg5/system.go similarity index 98% rename from allegro5/system.go rename to allg5/system.go index 6fd40fe..aa3d1bb 100644 --- a/allegro5/system.go +++ b/allg5/system.go @@ -1,4 +1,4 @@ -package allegro5 +package allg5 // #include // #include