| /CafeSDK-2.12.13/system/include/cafe/gx2/ |
| D | gx2rCpp.h | 22 …gs operator |(GX2RResourceFlags x, GX2RResourceFlags y) { return (GX2RResourceFlags)((s32)x | (s32… 23 …urceFlags operator |(GX2RResourceFlags x, s32 y) { return (GX2RResourceFlags)((s32)x… 24 …urceFlags operator |(s32 x, GX2RResourceFlags y) { return (GX2RResourceFlags)((s32)x… 26 …ons operator |(GX2RDebugOptions x, GX2RDebugOptions y) { return (GX2RDebugOptions)((s32)x | (s3…
|
| /CafeSDK-2.12.13/system/src/lib/libsys/ |
| D | ind_gmtm.c | 54 time_t y, t, s; in gmtime_r() local 99 y = t / (DAYS_IN_COMMON_YEAR * 4 + 1) * 4; in gmtime_r() 102 y += (t - 1) / DAYS_IN_COMMON_YEAR; in gmtime_r() 105 islpyr = (y & 3) == 0; in gmtime_r() 138 y = t / (DAYS_IN_COMMON_YEAR * 4 + 1) * 4; in gmtime_r() 141 y += (t - 1) / DAYS_IN_COMMON_YEAR; in gmtime_r() 145 islpyr = (y & 3) == 0 && (y != 0 || (century & 3) == 0); in gmtime_r() 147 y += (century + 1) * 100; in gmtime_r() 150 if (y != (int)y) { in gmtime_r() 154 result->tm_year = y; in gmtime_r()
|
| /CafeSDK-2.12.13/system/src/lib/demo/demowin/ |
| D | demowin_combo_box.cpp | 40 if (CursorColliding(this->x, this->y, this->width, this->height)) in CursorOver() 56 …if (CursorColliding(this->x, this->y + this->height / 2 + this->height * visibleCount / 2, this->w… in CursorOver() 61 …if (CursorColliding(this->x, this->y - this->height / 2 - this->height * visibleCount / 2, this->w… in CursorOver() 87 this->bar.y = this->y - this->height * 5.5; in Update() 169 CursorY() = window->GetY() + this->y - (this->height + this->height * TabSubIndex()) * flipMul; in Update() 175 …if (CursorColliding(this->x - widthOffset, this->y - (this->height / 2 + this->height * visibleCou… in Update() 177 …int choice = (window->GetY() + this->y - (this->height / 2) * flipMul - CursorY()) / this->height … in Update() 204 …if (CursorColliding(this->x, this->y - (this->height / 2 + this->height * visibleCount / 2) * flip… in Update() 230 if (CursorColliding(this->x, this->y, this->width, this->height)) in Update() 246 DrawBox(CVec3(this->x, this->y, this->z + 0.003), size, CVec4(0.13, 0.13, 0.13)); in Draw() [all …]
|
| D | demowin_double_combo_box.cpp | 32 if (CursorColliding(this->x, this->y, this->width, this->height)) in CursorOver() 50 …if (CursorColliding(this->x, this->y - (this->height / 2 + this->height * visibleCount / 2) * flip… in CursorOver() 66 …if (CursorColliding(this->x + this->width / 2, this->y + this->height / 2 - this->height * visible… in CursorOver() 134 this->bar2.y = this->y - (5.5 + pos - position) * this->height; in Update() 197 CursorY() = window->GetY() + this->y - this->height * TabSubIndex() - lOffset; in Update() 202 …if (CursorColliding(this->x + this->width / 2 - widthOffset, this->y + this->height / 2 - this->he… in Update() 204 int choice = (window->GetY() + this->y + this->height / 2 - CursorY() - lOffset) / this->height; in Update() 231 …if (CursorColliding(this->x + this->width / 2, this->y + this->height / 2 - this->height * visible… in Update() 240 this->bar1.y = this->y - this->height * 5.5; in Update() 312 CursorY() = window->GetY() + this->y - (this->height + this->height * TabSubIndex()) * flipMul; in Update() [all …]
|
| D | demowin_slider_bar.cpp | 23 …HeldButton(item.window, CVec3(item.x - (item.width - item.height) / 2, item.y, item.z + 0.01), CVe… in Add() 24 …HeldButton(item.window, CVec3(item.x + (item.width - item.height) / 2, item.y, item.z + 0.01), CVe… in Add() 109 if (CursorColliding(this->x + x, this->y, this->height, this->height)) in Update() 145 this->minus->y = this->y; in Draw() 148 this->plus->y = this->y; in Draw() 160 …DrawBox(CVec3(this->x + x, this->y, this->z + 0.002), CVec2(this->height, this->height), CVec4(col… in Draw() 165 …DrawTextCenter(buffer, CVec3(this->x + x, this->y, this->z + 0.003), CVec2(this->height, this->hei… in Draw()
|
| D | demowin_slider_bar_float.cpp | 23 …HeldButton(item.window, CVec3(item.x - (item.width - item.height) / 2, item.y, item.z + 0.01), CVe… in Add() 24 …HeldButton(item.window, CVec3(item.x + (item.width - item.height) / 2, item.y, item.z + 0.01), CVe… in Add() 109 if (CursorColliding(this->x + x, this->y, this->height, this->height)) in Update() 145 this->minus->y = this->y; in Draw() 148 this->plus->y = this->y; in Draw() 160 …DrawBox(CVec3(this->x + x, this->y, this->z + 0.002), CVec2(this->height, this->height), CVec4(col… in Draw() 203 …DrawTextCenter(buffer, CVec3(this->x + x, this->y, this->z + 0.003), CVec2(this->height, this->hei… in Draw()
|
| D | demowin_tab_window.cpp | 34 float y = -height / 2; in Draw() local 45 … menu->DrawBox(CVec3(x, y, 0.99), CVec2(buttonWidth, buttonHeight), CVec4(0.2, 0.2, 0.2)); in Draw() 47 menu->DrawQuad(CVec3(x, y, 0.99), CVec2(buttonWidth, buttonHeight), CVec4(0, 0, 0, 0)); in Draw() 50 … menu->DrawBox(CVec3(x, y, 0.9901), CVec2(buttonWidth, buttonHeight), CVec4(0.3, 0.3, 0.3)); in Draw() 52 …menu->DrawTextCenter(tabWindowList[i]->name, CVec3(x, y, 0.9902), CVec2(buttonWidth, textHeight), … in Draw() 73 scrollBar->y = -height / 2 - this->height; in PreUpdate() 117 scrollBar->y = -height / 2 - this->height; in PreDraw()
|
| D | demowin_scroll_bar.cpp | 72 if (CursorColliding(this->x, this->y + offY, this->width, this->subHeight)) in Update() 121 DrawQuad(CVec3(x, y + offY, z + 0.0001), CVec2(width, subHeight), color); in Draw() 123 DrawLine(CVec3(x - width / 2, y - height / 2, z + 0.0002), CVec2(0, height), CVec4(0, 0, 0)); in Draw()
|
| D | demowin_manager.cpp | 241 float y = window->y - window->height; in Draw() local 251 custom->y = y; in Draw() 260 y -= custom->maxHeight; in Draw() 294 window->y += peripheral->CursorY() - oldWindowY; in Update() 309 …] = peripheral->CursorColliding(window, window->x - window->GetX(), window->y + WINDOW_HANDLE_HEIG… in Update() 371 float y = window->y - window->height; in Update() local 377 custom->y = y; in Update() 385 y -= custom->maxHeight; in Update()
|
| /CafeSDK-2.12.13/system/src/lib/mtx/ |
| D | mtxVec.c | 62 ab->y = a->y + b->y; in C_VECAdd() 134 a_b->y = a->y - b->y; in C_VECSubtract() 205 dst->y = src->y * scale; in C_VECScale() 270 mag = (src->x * src->x) + (src->y * src->y) + (src->z * src->z); in C_VECNormalize() 277 unit->y = src->y * mag; in C_VECNormalize() 369 sqmag = (v->x * v->x) + (v->y * v->y) + (v->z * v->z); in C_VECSquareMag() 509 dot = (a->x * b->x) + (a->y * b->y) + (a->z * b->z); in C_VECDotProduct() 583 vTmp.x = ( a->y * b->z ) - ( a->z * b->y ); in C_VECCrossProduct() 584 vTmp.y = ( a->z * b->x ) - ( a->x * b->z ); in C_VECCrossProduct() 585 vTmp.z = ( a->x * b->y ) - ( a->y * b->x ); in C_VECCrossProduct() [all …]
|
| D | mtx44Vec.c | 57 vTmp.x = m[0][0]*src->x + m[0][1]*src->y + m[0][2]*src->z + m[0][3]; in C_MTX44MultVec() 58 vTmp.y = m[1][0]*src->x + m[1][1]*src->y + m[1][2]*src->z + m[1][3]; in C_MTX44MultVec() 59 vTmp.z = m[2][0]*src->x + m[2][1]*src->y + m[2][2]*src->z + m[2][3]; in C_MTX44MultVec() 60 w = m[3][0]*src->x + m[3][1]*src->y + m[3][2]*src->z + m[3][3]; in C_MTX44MultVec() 65 dst->y = vTmp.y * w; in C_MTX44MultVec() 222 vTmp.x = m[0][0]*srcBase->x + m[0][1]*srcBase->y + m[0][2]*srcBase->z + m[0][3]; in C_MTX44MultVecArray() 223 vTmp.y = m[1][0]*srcBase->x + m[1][1]*srcBase->y + m[1][2]*srcBase->z + m[1][3]; in C_MTX44MultVecArray() 224 vTmp.z = m[2][0]*srcBase->x + m[2][1]*srcBase->y + m[2][2]*srcBase->z + m[2][3]; in C_MTX44MultVecArray() 225 w = m[3][0]*srcBase->x + m[3][1]*srcBase->y + m[3][2]*srcBase->z + m[3][3]; in C_MTX44MultVecArray() 230 dstBase->y = vTmp.y * w; in C_MTX44MultVecArray() [all …]
|
| D | mtxQuat.c | 55 r->y = p->y + q->y; in C_QUATAdd() 129 r->y = p->y - q->y; in C_QUATSubtract() 216 r->w = p->w*q->w - p->x*q->x - p->y*q->y - p->z*q->z; in C_QUATMultiply() 217 r->x = p->w*q->x + p->x*q->w + p->y*q->z - p->z*q->y; in C_QUATMultiply() 218 r->y = p->w*q->y + p->y*q->w + p->z*q->x - p->x*q->z; in C_QUATMultiply() 219 r->z = p->w*q->z + p->z*q->w + p->x*q->y - p->y*q->x; in C_QUATMultiply() 362 r->y = q->y * scale; in C_QUATScale() 425 return (q->x*p->x + q->y*p->y + q->z*p->z + q->w*p->w); in C_QUATDotProduct() 492 mag = (src->x * src->x) + (src->y * src->y) + (src->z * src->z) + (src->w * src->w); in C_QUATNormalize() 499 unit->y = src->y * mag; in C_QUATNormalize() [all …]
|
| /CafeSDK-2.12.13/system/include/cafe/demo/ |
| D | demoGfxTypes.h | 31 struct{ f32 x, y, z, w;} v; member 43 struct{ f32 x, y, z;} v; member 55 struct{ f32 x, y;} v; member 79 struct{ u32 x, y, z, w;} v; member 91 struct{ u32 x, y, z;} v; member 103 struct{ u32 x, y;} v; member 127 struct{ s32 x, y, z, w;} v; member 139 struct{ s32 x, y, z;} v; member 151 struct{ s32 x, y;} v; member 175 struct{ u16 x, y, z, w;} v; member [all …]
|
| D | demowin.h | 52 float GetY() {return this->y + this->offY;} in GetY() 108 float& y; member 168 …sition(_position), size(_size), x(position.x), y(position.y), z(position.z), width(size.x), height… in window() 171 …opy.position), size(copy.size), x(position.x), y(position.y), z(position.z), width(size.x), height… in MenuItem() 182 …DrawText(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, … in DrawText() 184 …xtCenter(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, … in DrawTextCenter() 186 …extRight(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, … in DrawTextRight() 188 …LineText(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, … in DrawMultiLineText() 190 …heral->DrawBox(CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, … 192 …eral->DrawLine(CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, … in DrawLine() [all …]
|
| /CafeSDK-2.12.13/system/src/lib/demo/headers/cafe/demo/ |
| D | demoGfxTypes.h | 31 struct{ f32 x, y, z, w;} v; member 43 struct{ f32 x, y, z;} v; member 55 struct{ f32 x, y;} v; member 79 struct{ u32 x, y, z, w;} v; member 91 struct{ u32 x, y, z;} v; member 103 struct{ u32 x, y;} v; member 127 struct{ s32 x, y, z, w;} v; member 139 struct{ s32 x, y, z;} v; member 151 struct{ s32 x, y;} v; member 175 struct{ u16 x, y, z, w;} v; member [all …]
|
| D | demowin.h | 52 float GetY() {return this->y + this->offY;} in GetY() 108 float& y; member 168 …sition(_position), size(_size), x(position.x), y(position.y), z(position.z), width(size.x), height… in window() 171 …opy.position), size(copy.size), x(position.x), y(position.y), z(position.z), width(size.x), height… in MenuItem() 182 …DrawText(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, … in DrawText() 184 …xtCenter(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, … in DrawTextCenter() 186 …extRight(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, … in DrawTextRight() 188 …LineText(text, CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, … in DrawMultiLineText() 190 …heral->DrawBox(CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, … 192 …eral->DrawLine(CVec3(window->GetX() + position.x, window->GetY() + position.y, position.z), size, … in DrawLine() [all …]
|
| /CafeSDK-2.12.13/system/include/cafe/demo/demowin/ |
| D | demowin_peripheral.h | 62 …bool CursorColliding(Window* window, float x, float y, float width, float height, bool ignoreBound… 68 y += window->GetY(); 74 …x - width / 2 && CursorX() <= x + width / 2 && CursorY() >= y - height / 2 && CursorY() <= y + hei… 78 bool CursorColliding(float x, float y, float width, float height) in CursorColliding() 80 …x - width / 2 && CursorX() <= x + width / 2 && CursorY() >= y - height / 2 && CursorY() <= y + hei… in CursorColliding()
|
| /CafeSDK-2.12.13/system/src/lib/demo/headers/cafe/demo/demowin/ |
| D | demowin_peripheral.h | 62 …bool CursorColliding(Window* window, float x, float y, float width, float height, bool ignoreBound… 68 y += window->GetY(); 74 …x - width / 2 && CursorX() <= x + width / 2 && CursorY() >= y - height / 2 && CursorY() <= y + hei… 78 bool CursorColliding(float x, float y, float width, float height) in CursorColliding() 80 …x - width / 2 && CursorX() <= x + width / 2 && CursorY() >= y - height / 2 && CursorY() <= y + hei… in CursorColliding()
|
| D | demowin_combo_box.h | 25 …, CVec3(size.x / 2 - SCROLLBAR_WIDTH / 2, size.y * -5.5, position.z + 0.55), CVec2(SCROLLBAR_WIDTH… in MenuItem()
|
| /CafeSDK-2.12.13/system/src/lib/demo/shaders/ |
| D | demoFont.vs | 15 // position y offset: 5 17 // texcoord y value: 7 27 (u_BasePosition.y + ((gl_VertexID >> 15) & 0x1f)) * u_Scale.y + 1,
|
| /CafeSDK-2.12.13/system/src/tool/gfx/projects/TexConv2/tgaReader/ |
| D | tgaReader.cpp | 36 unsigned short y; member 68 u32 x,y,c; in SwapFromBottomToTop() local 71 for(y = 0; y < height/2; y++) in SwapFromBottomToTop() 75 u32 id0 = (width * y + x); in SwapFromBottomToTop() 76 u32 id1 = (width * (height-1 - y) + x); in SwapFromBottomToTop() 87 u32 x,y,c; in SwapFromRightToLeft() local 92 for(y = 0; y < height; y++) in SwapFromRightToLeft() 96 u32 id0 = width * y + x; in SwapFromRightToLeft() 97 u32 id1 = width * y + (width-1 - x); in SwapFromRightToLeft() 113 u32 y = 0; in DecodeRLEImage() local [all …]
|
| /CafeSDK-2.12.13/system/src/lib/mtx/headers/cafe/mtx/ |
| D | mtxGeoTypes.h | 31 f32 y; ///< Y Component member 39 f32 y; ///< Y component member 47 s16 y; ///< Y component member 61 f32 x, y, z, w; member
|
| /CafeSDK-2.12.13/system/include/cafe/mtx/ |
| D | mtxGeoTypes.h | 31 f32 y; ///< Y Component member 39 f32 y; ///< Y component member 47 s16 y; ///< Y component member 61 f32 x, y, z, w; member
|
| /CafeSDK-2.12.13/data/mlc/sys/title/0005001b/10068000/content/content/ |
| D | title_id_list.txt | 30 27 : 0x0005001010048000 // �y�A�R�� JP 31 28 : 0x0005001010048100 // �y�A�R�� US 32 29 : 0x0005001010048200 // �y�A�R�� EU
|
| /CafeSDK-2.12.13/data/mlc/sys/title/0005001b/10068000/content/ |
| D | title_id_list.txt | 30 27 : 0x0005001010048000 // �y�A�R�� JP 31 28 : 0x0005001010048100 // �y�A�R�� US 32 29 : 0x0005001010048200 // �y�A�R�� EU
|