TempleOSCDV5.03.ISO

This commit is contained in:
Terry A. Davis authored and minexew committed 2018-09-08 21:48:27 +02:00
1 parent 4b32f058d5
commit 6028804a5a
111 files changed
+3466 -2285

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ U8 *rev_bits_table, //Table with U8 bits revd
*set_bits_table; //Table with count of set bits in a U8
CDate local_time_offset;
F64 *pow10_I64,
sys_os_version=5.020;
sys_os_version=5.030;
CAutoCompleteDictGlbls acd;
CAutoCompleteGlbls ac;
+1 -1
View File
@@ -177,7 +177,7 @@ I8 Freq2Ona(F64 freq)
}
U0 Snd(I8 ona=ONA_REST)
{//Play freq. Zero means off.
{//Play ona, a piano key num. -128 means rest.
I64 period;
CSndData *d;
if (!Bt(&sys_semas[SEMA_MUTE],0) &&
+1754 -1749
View File
File diff suppressed because it is too large. Load diff
+16 -3
View File
@@ -241,6 +241,12 @@ public class CSpring
#define ODEF_HAS_MASSES 1
#define ODEF_PAUSED 2
#define ODEF_STARTED 4
#define ODEF_BUSY 8
#define ODEf_HAS_MASSES 0
#define ODEf_PAUSED 1
#define ODEf_STARTED 2
#define ODEf_BUSY 3
public class CMathODE
{
@@ -272,7 +278,13 @@ public class CMathODE
*tmp0,*tmp1,*tmp2,*tmp3,
*tmp4,*tmp5,*tmp6,*tmp7;
CTask *mem_task,*win_task;
U0 (*derivative)(CMathODE *o,F64 t,F64 *state,F64 *DstateDt);
U0 (*derive)(CMathODE *o,F64 t,F64 *state,F64 *DstateDt);
U0 (*mp_derive)(CMathODE *o,F64 t, //If break into parallel pieces.
I64 cpu_num,F64 *state,F64 *DstateDt);
CTask **slave_tasks;
I64 mp_not_done_flags;
F64 mp_t,*mp_state,*mp_DstateDt;
I64 user_data;
};
@@ -3215,6 +3227,7 @@ class CJobCtrl
#define MSG_MS_R_D_DOWN 11 //(x,y)
#define MSG_MS_R_D_UP 12 //(x,y)
//Fake messages used to send both an up and down.
#define MSG_KEY_DOWN_UP -2 //Down & UP
#define MSG_MS_L_DOWN_UP -5 //Down & Up
#define MSG_MS_L_D_DOWN_UP -7 //Down & Up
@@ -3652,11 +3665,11 @@ public class CDC
//Set with $LK,"DCMat4x4Set",A="MN:DCMat4x4Set"$(). $LK,"Free",A="MN:Free"$() before setting.
I64 *r, //rotation matrix of quads decimal in lo
r_norm; //shifted 32 bits. Used for scaling pen width
r_norm; //shifted 32 bits. Used for scaling thick
//public (Change directly)
I32 x,y,z,
pen_width;
thick;
//Can be changed from the default $LK,"DCTransform",A="MN:DCTransform"$()
U0 (*transform)(CDC *dc,I64 *x,I64 *y,I64 *z);
+2 -1
View File
@@ -151,7 +151,8 @@ public _extern _D3_DIST_SQR F64 D3DistSqr(CD3 *d1,CD3 *d2); //Distance Squared
public _extern _D3_DIV CD3 *D3Div(CD3 *quot,CD3 *d,F64 s); //quot=d/s
public _extern _D3_DIV_EQU CD3 *D3DivEqu(CD3 *quot,F64 s); //quot/=s
public _extern _D3_DOT F64 D3Dot(CD3 *d1,CD3 *d2); //d1 dot d2
public _extern _D3_EQU CD3 *D3Equ(CD3 *dst,F64 x,F64 y,F64 z); //dst=(x,y,z)
public _extern _D3_EQU CD3 *D3Equ(
CD3 *dst,F64 x=0,F64 y=0,F64 z=0); //dst=(x,y,z)
public _extern _D3_MUL CD3 *D3Mul(CD3 *prod,F64 s,CD3 *d); //prod=s*d
public _extern _D3_MUL_EQU CD3 *D3MulEqu(CD3 *prod,F64 s); //prod*=s
public _extern _D3_NORM F64 D3Norm(CD3 *d); //Norm
-1
View File
@@ -534,7 +534,6 @@ public extern I64 ScanChar();
public extern Bool ScanKey(I64 *_ch=NULL,I64 *_scan_code=NULL,Bool echo=FALSE);
public extern Bool YorN();
public extern CKbdStateGlbls kbd;
#help_index "Math"
public extern I64 CeilI64(I64 num,I64 to);
public extern U64 CeilU64(U64 num,U64 to);