Skip to content

Commit 2217e92

Browse files
committed
fix and add example
1 parent 37f51c4 commit 2217e92

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+359
-296
lines changed

binary/resources/clips/001.mp4

647 KB
Binary file not shown.

binary/resources/clips/002.mp4

591 KB
Binary file not shown.

binary/resources/clips/003.mp4

676 KB
Binary file not shown.

binary/resources/clips/004.mp4

685 KB
Binary file not shown.

binary/resources/clips/005.mp4

745 KB
Binary file not shown.

binary/resources/clips/006.mp4

522 KB
Binary file not shown.

binary/resources/clips/007.mp4

811 KB
Binary file not shown.

binary/resources/clips/008.mp4

552 KB
Binary file not shown.

binary/resources/clips/009.mp4

1.25 MB
Binary file not shown.

binary/resources/clips/010.mp4

817 KB
Binary file not shown.

binary/resources/clips/011.mp4

841 KB
Binary file not shown.

binary/resources/clips/LICENSE

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
LICENSE
2+
3+
The video clips in this folder are sourced from Hikingfex Free Video (https://www.hikingfex.com/free-video). Each clip is labeled as 100% royalty-free and no copyright by Hikingfex, indicating they are free to use without any copyright restrictions or licensing fees.
4+
5+
License: No copyright, royalty-free, as stated by the original source.

builds_raylib_dev.sh

Lines changed: 20 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
#!/bin/bash
22
rm -rvf raylib_tmp
33
rm -Rfv raygui
4-
rm -master.zip
5-
clear
4+
rm master.zip
5+
rm main.zip
66
echo -e "\e[91m \e[1m"
77
echo "raylib build scripts "
88
echo -e "\e[92m \e[1m"
99
read -p "Install dependencies (y/n)?" answer
1010
case ${answer:0:1} in y|Y )
1111
echo -e "\e[0"
12+
echo -e "\e[0m"
1213
sudo apt install -y libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev libwayland-dev libxkbcommon-dev
1314
sudo apt-get install -y mingw-w64-x86-64-dev
1415
sudo apt-get install -y mingw-w64-i686-dev
@@ -21,7 +22,7 @@ sudo apt-get install -y build-essential #libc6-dev-i386
2122
sudo apt-get install -y libgl1-mesa-dev:i386
2223
sudo apt-get install -y libavcodec-dev libavformat-dev libavutil-dev libswresample-dev libswscale-dev
2324
sudo apt-get install -y libavcodec-dev:386 libavformat-dev:386 libavutil-dev:386 libswresample-dev:386 libswscale-dev:386
24-
sudo apt-get install mingw-w64-tools
25+
# sudo apt-get install mingw-w64-tools
2526
# sudo apt-get install -y nasm
2627
# ./configure --arch=x86 --target-os=mingw32 --enable-shared --cross-prefix=i686-w64-mingw32-
2728

@@ -40,14 +41,10 @@ rm -f master
4041

4142
mkdir libs
4243
mkdir libs/x86_64-linux
43-
mkdir libs/x86_64-linux/include_raymedia
4444
mkdir libs/x86_32-linux
45-
mkdir libs/x86_32-linux/include_raymedia
46-
4745
mkdir libs/x86_64-win64
4846
mkdir libs/i386-win32
49-
mkdir libs/x86_64-win64/include_raymedia
50-
mkdir libs/i386-win32/include_raymedia
47+
5148
#mkdir libs/wasm32-wasi
5249

5350
echo -e "\e[92m \e[1m"
@@ -117,21 +114,18 @@ echo -e "\e[0m"
117114

118115

119116
rm -f ../../libs/x86_64-linux/*
120-
rm -f ../../libs/x86_64-linux/include_raymedia/*
121117
rm -f ../../libs/x86_32-linux/*
122-
rm -f ../../libs/x86_32-linux/include_raymedia/*
123118
rm -f ../../libs/x86_64-win64/*
124119
rm -f ../../libs/i386-win32/*
125-
#rm -f ../../libs/x86_64-win64/include_raymedia/*
126-
#rm -f ../../libs/i386-win32/include_raymedia/*
120+
127121

128122
make clean
129123
make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED RAYLIB_MODULE_RAYGUI=TRUE RAYLIB_MODULE_GIZMO=TRUE #RAYLIB_MODULE_RAYMEDIA=TRUE
130124
cp libraylib.so.5.5.0 ../../libs/x86_64-linux/libraylib.so.550
131125

132126
make clean
133127
make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED RAYLIB_MODULE_RAYGUI=TRUE RAYLIB_MODULE_GIZMO=TRUE RAYLIB_MODULE_RAYMEDIA=TRUE
134-
cp libraylib.so.5.5.0 ../../libs/x86_64-linux/include_raymedia/libraylib.so.550
128+
cp libraylib.so.5.5.0 ../../libs/x86_64-linux/libraylibmedia.so.550
135129

136130

137131
echo -e "\e[34m \e[1m"
@@ -147,7 +141,7 @@ cp libraylib.a ../../libs/x86_64-linux/libraylib.a
147141

148142
make clean
149143
make PLATFORM=PLATFORM_DESKTOP RAYLIB_MODULE_RAYGUI=TRUE RAYLIB_MODULE_GIZMO=TRUE RAYLIB_MODULE_RAYMEDIA=TRUE
150-
cp libraylib.a ../../libs/x86_64-linux/include_raymedia/libraylib.a
144+
cp libraylib.a ../../libs/x86_64-linux/libraylibmedia.a
151145

152146

153147
echo -e "\e[34m \e[1m"
@@ -161,7 +155,7 @@ cp libraylib.so.5.5.0 ../../libs/x86_32-linux/libraylib.so.550
161155

162156
make clean
163157
make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED RAYLIB_MODULE_RAYGUI=TRUE RAYLIB_MODULE_GIZMO=TRUE RAYLIB_MODULE_RAYMEDIA=TRUE LDFLAG=-m32
164-
cp libraylib.so.5.5.0 ../../libs/x86_32-linux/include_raymedia/libraylib.so.550
158+
cp libraylib.so.5.5.0 ../../libs/x86_32-linux/libraylibmedia.so.550
165159

166160
echo -e "\e[34m \e[1m"
167161
echo "Build x86_32_LINUX Statics"
@@ -174,7 +168,7 @@ cp libraylib.a ../../libs/x86_32-linux
174168

175169
make clean
176170
make PLATFORM=PLATFORM_DESKTOP RAYLIB_MODULE_RAYGUI=TRUE RAYLIB_MODULE_GIZMO=TRUE RAYLIB_MODULE_RAYMEDIA=TRUE LDFLAG=-m32
177-
cp libraylib.a ../../libs/x86_32-linux/include_raymedia/libraylib.a
171+
cp libraylib.a ../../libs/x86_32-linux/libraylibmedia.a
178172

179173
#--------------------------------------------------------------------------------------------------------
180174

@@ -207,12 +201,12 @@ make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED RAYLIB_MODULE_RAYGUI=TRUE R
207201
#cp libraylibdll.a ../../libs/x86_64-win64
208202
cp raylib.dll ../../libs/x86_64-win64/libraylib.dll
209203

210-
#make clean
211-
#x86_64-w64-mingw32-windres raylib.rc -o raylib.rc.data
212-
#x86_64-w64-mingw32-windres raylib.dll.rc -o raylib.dll.rc.data
213-
#make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED RAYLIB_MODULE_RAYGUI=TRUE RAYLIB_MODULE_GIZMO=TRUE RAYLIB_MODULE_RAYMEDIA=TRUE OS=Windows_NT CC=x86_64-w64-mingw32-gcc #AR=x86_64-w64-mingw32-ar
204+
make clean
205+
x86_64-w64-mingw32-windres raylib.rc -o raylib.rc.data
206+
x86_64-w64-mingw32-windres raylib.dll.rc -o raylib.dll.rc.data
207+
make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED RAYLIB_MODULE_RAYGUI=TRUE RAYLIB_MODULE_GIZMO=TRUE RAYLIB_MODULE_RAYMEDIA=TRUE OS=Windows_NT CC=x86_64-w64-mingw32-gcc AR=x86_64-w64-mingw32-ar
214208
#cp libraylibdll.a ../../libs/x86_64-win64
215-
#cp raylib.dll ../../libs/x86_64-win64/include_raymedia/libraylib.dll
209+
cp raylib.dll ../../libs/x86_64-win64/libraylibmedia.dll
216210

217211
#---------------------------------------------------------------------------------------------------------
218212

@@ -231,16 +225,16 @@ make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED RAYLIB_MODULE_RAYGUI=TRUE R
231225
cp raylib.dll ../../libs/i386-win32/libraylib.dll
232226

233227

234-
# make clean
235-
# i686-w64-mingw32-windres raylib.rc -o raylib.rc.data
236-
#i686-w64-mingw32-windres raylib.dll.rc -o raylib.dll.rc.data
228+
make clean
229+
i686-w64-mingw32-windres raylib.rc -o raylib.rc.data
230+
i686-w64-mingw32-windres raylib.dll.rc -o raylib.dll.rc.data
237231

238232
#echo "#define RAYGUI_IMPLEMENTATION" > raygui.c && echo "#include <extras/raygui.h>" >> raygui.c
239233
#echo "#define PHYSAC_IMPLEMENTATION" > physac.c && echo "#include <extras/physac.h>" >> physac.c
240234

241-
#make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED RAYLIB_MODULE_RAYGUI=TRUE RAYLIB_MODULE_GIZMO=TRUE RAYLIB_MODULE_RAYMEDIA=TRUE OS=Windows_NT CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar
235+
make PLATFORM=PLATFORM_DESKTOP RAYLIB_LIBTYPE=SHARED RAYLIB_MODULE_RAYGUI=TRUE RAYLIB_MODULE_GIZMO=TRUE RAYLIB_MODULE_RAYMEDIA=TRUE OS=Windows_NT CC=i686-w64-mingw32-gcc AR=i686-w64-mingw32-ar
242236
#cp libraylibdll.a ../../libs/i386-win32
243-
#cp raylib.dll ../../libs/i386-win32/include_raymedia/libraylib.dll
237+
cp raylib.dll ../../libs/i386-win32/libraylibmedia.dll
244238

245239

246240
#---------------------------------------------------------------------------------------------------

examples/extra/rayGizmo/raygizmo.lpr

Lines changed: 0 additions & 126 deletions
This file was deleted.

examples/extra/rayGizmo/raygizmos.lpr

Lines changed: 0 additions & 126 deletions
This file was deleted.

0 commit comments

Comments
 (0)