| /CTR-SDK-4.2.7-SampleDemos/common/include/ |
| D | applet.h | 85 static void SetPrepareSleepCallback(TRANSITION_CALLBACK f) { s_PrepareSleepCallback = f; } in SetPrepareSleepCallback() argument 90 static void SetAfterSleepCallback(TRANSITION_CALLBACK f) { s_AfterSleepCallback = f; } in SetAfterSleepCallback() argument 95 …tatic void SetPrepareHomeButtonCallback(TRANSITION_CALLBACK f) { s_PrepareHomeButtonCallback = f; } in SetPrepareHomeButtonCallback() argument 100 static void SetAfterHomeButtonCallback(TRANSITION_CALLBACK f) { s_AfterHomeButtonCallback = f; } in SetAfterHomeButtonCallback() argument 105 …tic void SetPreparePowerButtonCallback(TRANSITION_CALLBACK f) { s_PreparePowerButtonCallback = f; } in SetPreparePowerButtonCallback() argument
|
| /CTR-SDK-4.2.7-SampleDemos/fs/Simple/ |
| D | FsSampleFile.cpp | 42 nn::fs::FileInputStream f(pathNameRomW.c_str()); in FsSampleReadRomFileImple() local 45 size_t size = f.GetSize(); in FsSampleReadRomFileImple() 54 f.Read(buf, size); in FsSampleReadRomFileImple() 57 f.Finalize(); // Can be called even in the destructor in FsSampleReadRomFileImple() 76 nn::fs::FileOutputStream f; in FsSampleCreateSaveDataFileImpl() local 77 nn::Result result = f.TryInitialize(pathNameSaveDataW.c_str(), true); in FsSampleCreateSaveDataFileImpl() 86 result = f.TrySetSize(size); in FsSampleCreateSaveDataFileImpl() 108 result = f.TryWrite(&out, pData, size, true); in FsSampleCreateSaveDataFileImpl() 127 f.Finalize(); // Can be called even in the destructor in FsSampleCreateSaveDataFileImpl() 144 nn::fs::FileInputStream f; in FsSampleReadSaveDataFileImpl() local [all …]
|
| /CTR-SDK-4.2.7-SampleDemos/documents/css/ |
| D | contents.css | 44 border-color : #48f; 59 border-color : #48f; 65 �C���f�b�N�X�\�� 86 �C���f�b�N�X�\�� 105 border-color : #48f;
|
| D | main.css | 108 color : #48f; 127 border-color : #48f; 141 border-color : #49f;
|
| D | manpage.css | 41 border-color : #48f; 54 border-color : #49f; 241 background : #44f;
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingSpotAtte/ |
| D | LightingSpotAtte.cpp | 164 static int f = 0; in DrawFrame() local 193 lpos0.y = 3.f * cosf(2.f * f / 60.f) + 5.f; in DrawFrame() 201 lpos0_dir.x = 0.5f * cosf(2.f * f / 60.f); in DrawFrame() 202 lpos0_dir.z = 0.5f * sinf(2.f * f / 60.f); in DrawFrame() 210 lpos1.y = 3.f * cosf(2.5f * f / 60.f) + 4.f; in DrawFrame() 216 lpos1_dir.x = 0.5f * cosf(2.5f * f / 60.f); in DrawFrame() 217 lpos1_dir.z = 0.5f * sinf(2.5f * f / 60.f); in DrawFrame() 225 lpos2.y = 3.f * cosf(3.f * f / 60.f) + 4.f; in DrawFrame() 231 lpos2_dir.x = 0.5f * cosf(3.f * f / 60.f); in DrawFrame() 232 lpos2_dir.z = 0.5f * sinf(3.f * f / 60.f); in DrawFrame() [all …]
|
| /CTR-SDK-4.2.7-SampleDemos/demo1/ |
| D | gx.cpp | 133 static u32 f = 0; in DrawFrame() local 153 nn::math::MTX34RotAxisDeg(&rot, &rotAxis, -6.f * (f%60)); in DrawFrame() 162 f++; in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LineSimple/ |
| D | LineSimple.cpp | 89 static int f = 0; in DrawFrame() local 104 nn::math::MTX34RotXYZDeg(&rot, 0.f, -6.f*f, 0.f); in DrawFrame() 121 f++; in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasColorSimple/ |
| D | GasColorSimple.cpp | 268 static int f = 0; in DrawFrame() local 307 nn::math::Vector3 trans(static_cast<f32>(f - 20), 0.f, 0.f); in DrawFrame() 330 if (++f == step) in DrawFrame() 331 f = 0; in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasColorOptimal/ |
| D | GasColorOptimal.cpp | 251 static int f = 0; in DrawFrame() local 293 nn::math::Vector3 trans(static_cast<f32>(f - 20), 0.f, 0.f); in DrawFrame() 318 if (++f == step) in DrawFrame() 319 f = 0; in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/Fog/ |
| D | Fog.cpp | 329 static int f = 0; in DrawFrame() local 335 float dx = f * (1.0f / (float)(step - 1)); in DrawFrame() 348 if (f == step - 1) in DrawFrame() 349 f=0; in DrawFrame() 351 f++; in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/ClipEquation/ |
| D | ClipEquation.cpp | 121 static int f = 0; in DrawFrame() local 145 nn::math::MTX34RotXYZDeg(&rot, 0.f, 0.f, static_cast<f32>(f)); in DrawFrame() 182 f++; in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/GasCessna/ |
| D | GasCessna.cpp | 349 static int f = 0; in DrawFrame() local 372 if (f == 0) in DrawFrame() 409 nn::math::Vector3 trans2(0.0f, -1.0f, static_cast<f32>(f - 20)); in DrawFrame() 431 if (++f == step) in DrawFrame() 434 f = 0; in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/PartsysGas/ |
| D | PartsysGas.cpp | 400 static int f = 0; in DrawFrame() local 421 if (f == 0) in DrawFrame() 484 if (++f == gas.pSys.NFrame) in DrawFrame() 485 f = 0; /* go to next gas pattern */ in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingDistanceAtte/ |
| D | LightingDistanceAtte.cpp | 153 static int f = 0; in DrawFrame() local 175 lpos0.y = 5.f * cosf(2.f * f / 60.f) + 7.f; in DrawFrame() 232 f++; in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/Api/CommandBufferJump/ |
| D | CommandBufferJump.cpp | 479 static int f = 0; in DrawFrame() local 487 if (f == 0) in DrawFrame() 490 int num_obj = (f / 60) % NUM_OBJ + 1; in DrawFrame() 504 … nn::math::MTX34RotXYZDeg(&rot, 0.f, static_cast<f32>((float)(360.f / NUM_OBJ * obj) - f), 0.f); in DrawFrame() 562 f++; in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingVertex/ |
| D | LightingVertex.cpp | 202 static int f = 0; in DrawFrame() local 260 nn::math::MTX34RotXYZDeg(&arr[0], 0.f, STEP * f / 2, 0.f); in DrawFrame() 286 f++; in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/Api/EarlyDepthTestSample/ |
| D | EarlyDepthTestSample.cpp | 148 static s32 f = 0; in DrawFrame() local 253 if ( f == 0 ) in DrawFrame() 269 f++; in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingToonApple/ |
| D | LightingToonApple.cpp | 309 static int f = 0; in DrawFrame() local 335 nn::math::MTX34RotXYZDeg(&rot, 0.f, static_cast<f32>(-f), 0.f); in DrawFrame() 366 f++; in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingFresnel/ |
| D | LightingFresnel.cpp | 255 static int f = 0; in DrawFrame() local 286 nn::math::MTX34RotXYZDeg(&rot, 0.f, -step*f, 0.f); in DrawFrame() 334 f++; in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingAniso/ |
| D | LightingAniso.cpp | 314 static int f = 0; in DrawFrame() local 326 nn::math::MTX34RotXYZDeg(&rot, 0.f, static_cast<f32>(-f), 0.f); in DrawFrame() 386 f++; in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingMicrofacet/ |
| D | LightingMicrofacet.cpp | 356 static int f = 0; in DrawFrame() local 385 nn::math::MTX34RotXYZDeg(&rot, 0.f, static_cast<f32>(-f), 0.f); in DrawFrame() 419 f++; in DrawFrame()
|
| /CTR-SDK-4.2.7-SampleDemos/gx/DMPGL/LightingSss/ |
| D | LightingSss.cpp | 364 static int f = 0; in DrawFrame() local 393 nn::math::MTX34RotXYZDeg(&rot, 0.f, static_cast<f32>(-f), 0.f); in DrawFrame() 444 f++; in DrawFrame()
|