Skip to content

Commit

Permalink
[BOX32] Added 32bits wrapped libGLU
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Sep 21, 2024
1 parent 09d4cb7 commit 9efae57
Show file tree
Hide file tree
Showing 10 changed files with 345 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,7 @@ if(BOX32)
"${BOX64_ROOT}/src/wrapped32/wrappedlibrt.c"
"${BOX64_ROOT}/src/wrapped32/wrappedcrashhandler.c"
"${BOX64_ROOT}/src/wrapped32/wrappedlibgl.c"
"${BOX64_ROOT}/src/wrapped32/wrappedlibglu.c"
"${BOX64_ROOT}/src/wrapped32/wrappedsdl1.c"
"${BOX64_ROOT}/src/wrapped32/wrappedlibasound.c"
)
Expand Down
1 change: 1 addition & 0 deletions src/library_list_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ GO("ld-linux.so.2", ldlinux)

GO("libGL.so", libgl)
GO("libGL.so.1", libgl)
GO("libGLU.so.1", libglu)
GO("libSDL-1.2.so.0", sdl1)
GO("libasound.so.2", libasound)
GO("libasound.so", libasound)
Expand Down
30 changes: 30 additions & 0 deletions src/wrapped32/generated/functions_list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@
#() vFdd -> vFdd
#() vFlu -> vFlu
#() vFlp -> vFlp
#() vFpC -> vFpC
#() vFpu -> vFpu
#() vFpp -> vFpp
#() vFSp -> vFSp
#() wFpi -> wFpi
Expand Down Expand Up @@ -130,6 +132,7 @@
#() CFuu -> CFuu
#() CFuU -> CFuU
#() CFpi -> CFpi
#() CFpp -> CFpp
#() uFEu -> uFEu
#() uFEV -> uFEV
#() uFuu -> uFuu
Expand Down Expand Up @@ -243,6 +246,9 @@
#() vFlpp -> vFlpp
#() vFpip -> vFpip
#() vFpuU -> vFpuU
#() vFpuf -> vFpuf
#() vFpud -> vFpud
#() vFpup -> vFpup
#() vFplp -> vFplp
#() vFppi -> vFppi
#() vFppu -> vFppu
Expand Down Expand Up @@ -420,6 +426,8 @@
#() vFllii -> vFllii
#() vFpiii -> vFpiii
#() vFpipp -> vFpipp
#() vFpdii -> vFpdii
#() vFpddd -> vFpddd
#() vFplpp -> vFplpp
#() vFppip -> vFppip
#() vFpppp -> vFpppp
Expand Down Expand Up @@ -569,9 +577,12 @@
#() vFuppip -> vFuppip
#() vFupppp -> vFupppp
#() vFfffff -> vFfffff
#() vFddddp -> vFddddp
#() vFluipp -> vFluipp
#() vFpilpp -> vFpilpp
#() vFpipiu -> vFpipiu
#() vFpuipp -> vFpuipp
#() vFpddii -> vFpddii
#() vFpppii -> vFpppii
#() vFppppu -> vFppppu
#() vFppppp -> vFppppp
Expand Down Expand Up @@ -672,8 +683,10 @@
#() vFffffff -> vFffffff
#() vFdddddd -> vFdddddd
#() vFpipipV -> vFpipipV
#() vFpdddii -> vFpdddii
#() vFppiiii -> vFppiiii
#() vFppupii -> vFppupii
#() iFuiiuup -> iFuiiuup
#() iFpiiipp -> iFpiiipp
#() iFpiippp -> iFpiippp
#() iFppiiii -> iFppiiii
Expand Down Expand Up @@ -732,7 +745,10 @@
#() vFuffffff -> vFuffffff
#() vFudddddd -> vFudddddd
#() vFlliiiip -> vFlliiiip
#() vFpipipiu -> vFpipipiu
#() vFpddiidd -> vFpddiidd
#() iFEpLiipV -> iFEpLiipV
#() iFuiiiuup -> iFuiiiuup
#() iFpupLpLi -> iFpupLpLi
#() uFuippppp -> uFuippppp
#() pFEpLiiii -> pFEpLiiii
Expand Down Expand Up @@ -765,6 +781,7 @@
#() vFuuufffff -> vFuuufffff
#() vFffffffff -> vFffffffff
#() iFEpippppp -> iFEpippppp
#() iFuiiiiuup -> iFuiiiiuup
#() iFppIIIppp -> iFppIIIppp
#() CFuiifpppp -> CFuiifpppp
#() uFuipppppp -> uFuipppppp
Expand Down Expand Up @@ -793,6 +810,10 @@
#() vFuupuuiuuf -> vFuupuuiuuf
#() vFuffffffff -> vFuffffffff
#() vFffCCCCfff -> vFffCCCCfff
#() vFddddddddd -> vFddddddddd
#() iFuiiuuiiip -> iFuiiuuiiip
#() iFuiiupiiup -> iFuiiupiiup
#() iFdddpppppp -> iFdddpppppp
#() uFuulpiuiuf -> uFuulpiuiuf
#() vFiiiiiiiiii -> vFiiiiiiiiii
#() vFiiiiiiiiui -> vFiiiiiiiiui
Expand All @@ -812,6 +833,7 @@
#() vFuffiiffiip -> vFuffiiffiip
#() vFuddiiddiip -> vFuddiiddiip
#() vFffffffffff -> vFffffffffff
#() iFuiiiuuiiip -> iFuiiiuuiiip
#() vFiiiiillliip -> vFiiiiillliip
#() vFiiiiilllilp -> vFiiiiilllilp
#() vFuiiiiiiiuip -> vFuiiiiiiiuip
Expand All @@ -826,6 +848,8 @@
#() vFuUuuuuuuuuu -> vFuUuuuuuuuuu
#() vFuffffffffff -> vFuffffffffff
#() vFUufffffffff -> vFUufffffffff
#() vFpipipiipiiu -> vFpipipiipiiu
#() iFuiiiiuuiiip -> iFuiiiiuuiiip
#() vFuiiiiiiiiuUC -> vFuiiiiiiiiuUC
#() vFuiiiiiiiuuip -> vFuiiiiiiiuuip
#() vFuuiiiiiiiiuu -> vFuuiiiiiiiiuu
Expand All @@ -837,6 +861,7 @@
#() vFuuuuuuuuuuuuu -> vFuuuuuuuuuuuuu
#() vFuUuuuuuuuuuuu -> vFuUuuuuuuuuuuu
#() vFuffffffffffff -> vFuffffffffffff
#() iFddddpppddpppp -> iFddddpppddpppp
#() uFippuuuulllipp -> uFippuuuulllipp
#() vFuffiiffiiffiip -> vFuffiiffiiffiip
#() vFuddiiddiiddiip -> vFuddiiddiiddiip
Expand Down Expand Up @@ -1037,6 +1062,11 @@ wrappedlibgl:
- glXSwapIntervalEXT
- vFppp:
- eglSetBlobCacheFuncsANDROID
wrappedlibglu:
- vFpup:
- gluNurbsCallback
- gluQuadricCallback
- gluTessCallback
wrappedlibm:
- UFs:
- cacosf
Expand Down
8 changes: 8 additions & 0 deletions src/wrapped32/generated/wrappedlibgludefs32.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/******************************************************************
* File automatically generated by rebuild_wrappers_32.py (v0.0.1.1) *
******************************************************************/
#ifndef __wrappedlibgluDEFS32_H_
#define __wrappedlibgluDEFS32_H_


#endif // __wrappedlibgluDEFS32_H_
21 changes: 21 additions & 0 deletions src/wrapped32/generated/wrappedlibglutypes32.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/******************************************************************
* File automatically generated by rebuild_wrappers_32.py (v0.0.1.1) *
******************************************************************/
#ifndef __wrappedlibgluTYPES32_H_
#define __wrappedlibgluTYPES32_H_

#ifndef LIBNAME
#error You should only #include this file inside a wrapped*.c file
#endif
#ifndef ADDED_FUNCTIONS
#define ADDED_FUNCTIONS()
#endif

typedef void (*vFpup_t)(void*, uint32_t, void*);

#define SUPER() ADDED_FUNCTIONS() \
GO(gluNurbsCallback, vFpup_t) \
GO(gluQuadricCallback, vFpup_t) \
GO(gluTessCallback, vFpup_t)

#endif // __wrappedlibgluTYPES32_H_
8 changes: 8 additions & 0 deletions src/wrapped32/generated/wrappedlibgluundefs32.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/******************************************************************
* File automatically generated by rebuild_wrappers_32.py (v0.0.1.1) *
******************************************************************/
#ifndef __wrappedlibgluUNDEFS32_H_
#define __wrappedlibgluUNDEFS32_H_


#endif // __wrappedlibgluUNDEFS32_H_
Loading

0 comments on commit 9efae57

Please sign in to comment.