mirror of
https://github.com/QB64Official/qb64.git
synced 2024-07-03 08:51:22 +00:00
_MAPTRIANGLE 3D Upgrade:
[{_CLOCKWISE|_ANTICLOCKWISE}][{_SEAMLESS}](?,?)-(?,?)-(?,?)[,?]{TO}(?,?[,?])-(?,?[,?])-(?,?[,?])[,[?][,{_SMOOTH|_SMOOTHSHRUNK|_SMOOTHSTRETCHED}]] Refactor/rewrite of how OpenGL state is monitored/maintained Critical fix to stop _MAPTRIANGLE (2D hardware version) not freeing old commands in the pipeline Critical fix to stop intermittent QB64 crashing in 32-bit mode when screen size expanded
This commit is contained in:
parent
8c793da56f
commit
ba99b3cb97
1529
internal/c/libqb.cpp
1529
internal/c/libqb.cpp
File diff suppressed because it is too large
Load diff
|
@ -198,7 +198,8 @@ extern int32 func__fileexists(qbs*);
|
|||
extern int32 func__direxists(qbs*);
|
||||
extern int32 func_stick(int32 i,int32 axis_group,int32 passed);
|
||||
extern int32 func_strig(int32 i,int32 controller,int32 passed);
|
||||
extern void sub__maptriangle(float sx1,float sy1,float sx2,float sy2,float sx3,float sy3,long si,long dx1,long dy1,long dx2,long dy2,long dx3,long dy3,long di,long passed);
|
||||
extern void sub__maptriangle(int32 cull_options,float sx1,float sy1,float sx2,float sy2,float sx3,float sy3,int32 si,float dx1,float dy1,float dz1,float dx2,float dy2,float dz2,float dx3,float dy3,float dz3,int32 di,int32 smooth_options,int32 passed);
|
||||
extern void sub__depthbuffer(int32 options,int32 dst,int32 passed);
|
||||
extern int32 func_play(int32 ignore);
|
||||
extern int32 func__sndrate();
|
||||
extern int32 func__sndopenraw();
|
||||
|
|
|
@ -907,9 +907,18 @@ clearid
|
|||
id.n = "_MAPTRIANGLE"
|
||||
id.subfunc = 2
|
||||
id.callname = "sub__maptriangle"
|
||||
id.args = 14
|
||||
id.arg = MKL$(SINGLETYPE - ISPOINTER) + MKL$(SINGLETYPE - ISPOINTER) + MKL$(SINGLETYPE - ISPOINTER) + MKL$(SINGLETYPE - ISPOINTER) + MKL$(SINGLETYPE - ISPOINTER) + MKL$(SINGLETYPE - ISPOINTER) + MKL$(LONGTYPE - ISPOINTER) + MKL$(LONGTYPE - ISPOINTER) + MKL$(LONGTYPE - ISPOINTER) + MKL$(LONGTYPE - ISPOINTER) + MKL$(LONGTYPE - ISPOINTER) + MKL$(LONGTYPE - ISPOINTER) + MKL$(LONGTYPE - ISPOINTER) + MKL$(LONGTYPE - ISPOINTER)
|
||||
id.specialformat = "[{_SEAMLESS}](?,?)-(?,?)-(?,?)[,?]{TO}(?,?)-(?,?)-(?,?)[,[?][,{_SMOOTH}]]"
|
||||
id.args = 19
|
||||
id.arg = MKL$(LONGTYPE - ISPOINTER)+MKL$(SINGLETYPE - ISPOINTER) + MKL$(SINGLETYPE - ISPOINTER) + MKL$(SINGLETYPE - ISPOINTER) + MKL$(SINGLETYPE - ISPOINTER) + MKL$(SINGLETYPE - ISPOINTER) + MKL$(SINGLETYPE - ISPOINTER) + MKL$(LONGTYPE - ISPOINTER) + MKL$(SINGLETYPE - ISPOINTER) + MKL$(SINGLETYPE - ISPOINTER) + MKL$(SINGLETYPE - ISPOINTER) + MKL$(SINGLETYPE - ISPOINTER) + MKL$(SINGLETYPE - ISPOINTER) + MKL$(SINGLETYPE - ISPOINTER) + MKL$(SINGLETYPE - ISPOINTER) + MKL$(SINGLETYPE - ISPOINTER) + MKL$(SINGLETYPE - ISPOINTER) + MKL$(LONGTYPE - ISPOINTER) + MKL$(LONGTYPE - ISPOINTER)
|
||||
id.specialformat = "[{_CLOCKWISE|_ANTICLOCKWISE}][{_SEAMLESS}](?,?)-(?,?)-(?,?)[,?]{TO}(?,?[,?])-(?,?[,?])-(?,?[,?])[,[?][,{_SMOOTH|_SMOOTHSHRUNK|_SMOOTHSTRETCHED}]]"
|
||||
regid
|
||||
|
||||
clearid
|
||||
id.n = "_DEPTHBUFFER"
|
||||
id.subfunc = 2
|
||||
id.callname = "sub__depthbuffer"
|
||||
id.args = 2
|
||||
id.arg = MKL$(LONGTYPE - ISPOINTER)+MKL$(LONGTYPE - ISPOINTER)
|
||||
id.specialformat = "{ON|OFF|LOCK|_CLEAR}[,?]"
|
||||
regid
|
||||
|
||||
clearid
|
||||
|
|
Loading…
Reference in a new issue