Revert "Replace header ifdef guards with #pragma once"

This reverts commit 3a6c577a41.
This commit is contained in:
Arceveti committed 2021-09-26 11:34:20 -07:00
1 parent df165f80c9
commit 25e74c3e0a
367 files changed
+1765 -651

No files matched your search

+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef COMMON0_H
#define COMMON0_H
#include "types.h"
@@ -189,3 +190,5 @@ extern const Collision purple_switch_seg8_collision_0800C7A8[];
extern const GeoLayout test_platform_geo[];
extern const Gfx unknown_seg8_dl_08026260[];
extern const Collision unknown_seg8_collision_080262F8[];
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef COMMON1_H
#define COMMON1_H
#include "types.h"
@@ -246,3 +247,5 @@ extern const Gfx wooden_signpost_seg3_dl_0302DC40[];
extern const Gfx wooden_signpost_seg3_dl_0302DCD0[];
extern const Gfx wooden_signpost_seg3_dl_0302DD08[];
extern const Collision wooden_signpost_seg3_collision_0302DD80[];
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef GROUP0_H
#define GROUP0_H
#include "types.h"
@@ -340,3 +341,5 @@ extern const Gfx white_particle_small_dl_begin[];
extern const Gfx white_particle_small_dl_end[];
extern const Gfx white_particle_small_dl[];
extern const Gfx white_particle_small_unused_dl[];
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef GROUP1_H
#define GROUP1_H
#include "types.h"
@@ -89,3 +90,5 @@ extern const Gfx yoshi_egg_seg5_dl_05009880[];
extern const Gfx yoshi_egg_seg5_dl_05009898[];
extern const Gfx yoshi_egg_seg5_dl_050098B0[];
extern const Gfx yoshi_egg_seg5_dl_050098C8[];
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef GROUP10_H
#define GROUP10_H
#include "types.h"
@@ -92,3 +93,5 @@ extern const Gfx yoshi_seg5_dl_050222A8[];
extern const Gfx yoshi_seg5_dl_05022408[];
extern const Gfx yoshi_seg5_dl_05022608[];
extern const struct Animation *const yoshi_seg5_anims_05024100[];
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef GROUP11_H
#define GROUP11_H
#include "types.h"
@@ -93,3 +94,5 @@ extern const Gfx wiggler_seg5_dl_0500E608[];
extern const Gfx wiggler_seg5_dl_0500E640[];
extern const Gfx wiggler_seg5_dl_0500E678[];
extern const struct Animation *const wiggler_seg5_anims_0500EC8C[];
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef GROUP12_H
#define GROUP12_H
#include "types.h"
@@ -133,3 +134,5 @@ extern const Gfx impact_smoke_seg6_dl_06062D18[];
extern const GeoLayout bowser_1_yellow_sphere_geo[];
extern const Gfx yellow_sphere_seg6_dl_0601F388[];
extern const Gfx yellow_sphere_seg6_dl_0601F3C0[];
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef GROUP13_H
#define GROUP13_H
#include "types.h"
@@ -98,3 +99,5 @@ extern const Gfx water_mine_seg6_dl_0600D3F8[];
extern const GeoLayout water_ring_geo[];
extern const Gfx water_ring_seg6_dl_06013AC0[];
extern const struct Animation *const water_ring_seg6_anims_06013F7C[];
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef GROUP14_H
#define GROUP14_H
#include "types.h"
@@ -131,3 +132,5 @@ extern const Gfx whomp_seg6_dl_0601FFA0[];
extern const Gfx whomp_seg6_dl_06020038[];
extern const struct Animation *const whomp_seg6_anims_06020A04[];
extern const Collision whomp_seg6_collision_06020A0C[];
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef GROUP15_H
#define GROUP15_H
#include "types.h"
@@ -84,3 +85,5 @@ extern const Gfx toad_seg6_dl_06008890[];
extern const Gfx toad_seg6_dl_06008A90[];
extern const Gfx toad_seg6_dl_06008BD8[];
extern const struct Animation *const toad_seg6_anims_0600FB58[];
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef GROUP16_H
#define GROUP16_H
#include "types.h"
@@ -33,3 +34,5 @@ extern const Gfx moneybag_seg6_dl_06005750[];
extern const Gfx moneybag_seg6_dl_06005980[];
extern const Gfx moneybag_seg6_dl_060059F0[];
extern const struct Animation *const moneybag_seg6_anims_06005E5C[];
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef GROUP17_H
#define GROUP17_H
#include "types.h"
@@ -100,3 +101,5 @@ extern const Gfx swoop_seg6_dl_06006BD0[];
extern const Gfx swoop_seg6_dl_06006CC8[];
extern const Gfx swoop_seg6_dl_06006D00[];
extern const struct Animation *const swoop_seg6_anims_060070D0[];
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef GROUP2_H
#define GROUP2_H
#include "types.h"
@@ -26,3 +27,5 @@ extern const Gfx bully_seg5_dl_05003EA8[];
extern const Gfx bully_seg5_dl_05003F80[];
extern const Gfx bully_seg5_dl_05003FC8[];
extern const struct Animation *const bully_seg5_anims_0500470C[];
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef GROUP3_H
#define GROUP3_H
#include "types.h"
@@ -36,3 +37,5 @@ extern const GeoLayout water_bomb_geo[];
extern const GeoLayout water_bomb_shadow_geo[];
extern const Gfx water_bubble_seg5_dl_05010D30[];
extern const Gfx water_bubble_seg5_dl_05011000[];
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef GROUP4_H
#define GROUP4_H
#include "types.h"
@@ -103,3 +104,5 @@ extern const struct Animation *const unagi_seg5_anims_05012824[];
// whirlpool
extern const Gfx whirlpool_seg5_dl_05013B58[];
extern const Gfx whirlpool_seg5_dl_05013CB8[];
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef GROUP5_H
#define GROUP5_H
#include "types.h"
@@ -80,3 +81,5 @@ extern const Gfx pokey_seg5_dl_050130B0[];
extern const Gfx tornado_seg5_dl_05014450[];
extern const Gfx tornado_seg5_dl_050145C0[];
extern const GeoLayout tweester_geo[];
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef GROUP6_H
#define GROUP6_H
#include "types.h"
@@ -82,3 +83,5 @@ extern const Gfx ukiki_seg5_dl_0500CFF0[];
extern const Gfx ukiki_seg5_dl_0500D078[];
extern const Gfx ukiki_seg5_dl_0500D108[];
extern const struct Animation *const ukiki_seg5_anims_05015784[];
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef GROUP7_H
#define GROUP7_H
#include "types.h"
@@ -59,3 +60,5 @@ extern const Gfx spindrift_seg5_dl_05002B30[];
extern const Gfx spindrift_seg5_dl_05002C98[];
extern const Gfx spindrift_seg5_dl_05002D08[];
extern const struct Animation *const spindrift_seg5_anims_05002D68[];
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef GROUP8_H
#define GROUP8_H
#include "types.h"
@@ -24,3 +25,5 @@ extern const Gfx springboard_checkerboard_seg5_dl_050016B8[];
extern const Gfx springboard_spring_seg5_dl_05001800[];
extern const Gfx springboard_checkerboard_seg5_dl_05001900[];
extern const Collision springboard_collision_05001A28[];
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef GROUP9_H
#define GROUP9_H
#include "types.h"
@@ -79,3 +80,5 @@ extern const Gfx small_key_seg5_dl_05006A08[];
extern const Gfx small_key_seg5_dl_05006A28[];
extern const Gfx small_key_seg5_dl_05006A48[];
extern const Gfx small_key_seg5_dl_05006A68[];
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef BEHAVIOR_DATA_H
#define BEHAVIOR_DATA_H
#include "types.h"
@@ -529,3 +530,5 @@ extern const BehaviorScript bhvEndBirds1[];
extern const BehaviorScript bhvEndBirds2[];
extern const BehaviorScript bhvIntroScene[];
extern const BehaviorScript bhvUnusedFakeStar[];
#endif // BEHAVIOR_DATA_H
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef COMMAND_MACROS_BASE_H
#define COMMAND_MACROS_BASE_H
#include "platform_info.h"
@@ -23,3 +24,5 @@
#define CMD_PTR(a) ((uintptr_t)(a))
#define CMD_HHHHHH(a, b, c, d, e, f) CMD_HH(a, b), CMD_HH(c, d), CMD_HH(e, f)
#endif // COMMAND_MACROS_BASE_H
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef COURSE_TABLE_H
#define COURSE_TABLE_H
// Start of the 3 cap courses in a row.
#define COURSE_CAP_COURSES COURSE_COTMC
@@ -27,3 +28,5 @@ enum CourseNum
#undef DEFINE_BONUS_COURSE
#define COURSE_IS_MAIN_COURSE(cmd) (cmd >= COURSE_MIN && cmd <= COURSE_STAGES_MAX)
#endif // COURSE_TABLE_H
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef DIALOG_IDS_H
#define DIALOG_IDS_H
enum DialogId {
DIALOG_NONE = -1,
@@ -174,3 +175,5 @@ enum DialogId {
DIALOG_169,
DIALOG_COUNT
};
#endif // DIALOG_IDS_H
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef EU_TRANSLATION_H
#define EU_TRANSLATION_H
// EU changes most text to arrays for each language. This define allows these
// differences to be combined.
@@ -15,3 +16,5 @@ extern void *act_name_table_eu_fr[];
extern void *dialog_table_eu_de[];
extern void *course_name_table_eu_de[];
extern void *act_name_table_eu_de[];
#endif // EU_TRANSLATION_H
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef __FARCALL_H__
#define __FARCALL_H__
#ifdef __GNUC__
#define farcall(x) x
@@ -11,6 +12,8 @@
#define near
#endif
#endif
/*
How to use:
+5 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef GEO_COMMANDS_H
#define GEO_COMMANDS_H
#include "command_macros_base.h"
@@ -445,3 +446,6 @@
CMD_BBH(GEO_BONE_ID, layer, 0x0000), \
CMD_HHHHHH(tx, ty, tz, rx, ry, rz), \
CMD_PTR(displayList)
#endif // GEO_COMMANDS_H
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef GFX_DIMENSIONS_H
#define GFX_DIMENSIONS_H
/*
@@ -36,3 +37,5 @@ Note that RECT commands must be enhanced to support negative coordinates with th
// If screen is taller than it is wide, radius should be equal to SCREEN_HEIGHT since we scale horizontally
#define GFX_DIMENSIONS_FULL_RADIUS (SCREEN_HEIGHT * (GFX_DIMENSIONS_ASPECT_RATIO > 1 ? GFX_DIMENSIONS_ASPECT_RATIO : 1))
#endif // GFX_DIMENSIONS_H
+5 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef __GZIP_H__
#define __GZIP_H__
#ifndef NULL
@@ -53,3 +54,6 @@ extern int flush_window(void);
//
//
u32 expand_gzip(u8 *src_addr, u8 *dst_addr, u32 size, u32 outbytes_limit);
#endif
+4 -1
View File
@@ -1,3 +1,6 @@
#pragma once
#ifndef HELPER_MACROS_H
#define HELPER_MACROS_H
#define LIST_NEXT_ITEM(curItem, type) ((type *)((s32)curItem + sizeof(type)))
#endif // HELPER_MACROS_H
+4 -1
View File
@@ -7,7 +7,8 @@
/* revision 1.1 1999-02-12 */
#pragma once
#ifndef __HVQM2FILE_H__
#define __HVQM2FILE_H__
#include <HVQmd.h>
@@ -117,3 +118,5 @@ typedef struct {
#define HVQM2_NESTSIZE_L 70 /* Number of elements on long side */
#define HVQM2_NESTSIZE_S 38 /* Number of elements on shot side */
#define HVQM2_NESTSIZE (HVQM2_NESTSIZE_L * HVQM2_NESTSIZE_S)
#endif /* __HVQM2FILE_H__ */
+4 -1
View File
@@ -7,7 +7,8 @@
/* revision 1.0 1998-10-14 */
#pragma once
#ifndef __HVQMD_H__
#define __HVQMD_H__
#include <ultra64.h>
@@ -17,3 +18,5 @@ typedef u16 CARD16;
typedef s16 INT16;
typedef u32 CARD32;
typedef s32 INT32;
#endif /* __HVQMD_H__ */
+4 -1
View File
@@ -7,7 +7,8 @@
/* revision 1.0 1998-12-17 */
#pragma once
#ifndef __ADPCMDEC_H__
#define __ADPCMDEC_H__
#include <ultra64.h>
@@ -27,4 +28,6 @@ void adpcmDecode(void *instream, u32 format, u32 samples, s16 *outstream, u32 ex
#define ADPCM_RESET 0
#define ADPCM_CONTINUE 1
#endif /* __ADPCMDEC_H__ */
/* end */
+4 -1
View File
@@ -6,7 +6,8 @@
/* revision 1.2 1999-03-26 */
#pragma once
#ifndef __HVQM2DEC_H__
#define __HVQM2DEC_H__
#include <ultra64.h>
#include <HVQM2File.h>
@@ -98,4 +99,6 @@ extern u8 hvqm2sp1DataStart[], hvqm2sp1DataEnd[];
extern u8 hvqm2sp2TextStart[], hvqm2sp2TextEnd[];
extern u8 hvqm2sp2DataStart[], hvqm2sp2DataEnd[];
#endif /* __HVQM2DEC_H__ */
/* end */
+3 -1
View File
@@ -6,7 +6,8 @@
*
**************************************************************************/
#pragma once
#ifndef __GL_IMAGE_H__
#define __GL_IMAGE_H__
#ifdef __cplusplus
extern "C" {
#endif
@@ -122,3 +123,4 @@ unsigned short *ibufalloc();
#ifdef __cplusplus
}
#endif
#endif /* !__GL_IMAGE_H__ */
+4 -1
View File
@@ -18,7 +18,8 @@
*
**************************************************************************/
#pragma once
#ifndef __R4300_H__
#define __R4300_H__
#include <PR/ultratypes.h>
@@ -448,3 +449,5 @@
#define FPCSR_RM_RZ 0x00000001 /* round to zero */
#define FPCSR_RM_RP 0x00000002 /* round to positive infinity */
#define FPCSR_RM_RM 0x00000003 /* round to negative infinity */
#endif /* __R4300_H */
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef _ABI_H_
#define _ABI_H_
/**************************************************************************
* *
@@ -991,3 +992,5 @@ typedef short ENVMIX_STATE[40];
#endif
#endif /* _LANGUAGE_C */
#endif /* !_ABI_H_ */
+4 -1
View File
@@ -18,7 +18,8 @@
*
**************************************************************************/
#pragma once
#ifndef _DBGDEFS_H_
#define _DBGDEFS_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -33,3 +34,5 @@ typedef unsigned char TVuchar;
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef _EM_H_
#define _EM_H_
/**************************************************************************
* *
@@ -97,3 +98,5 @@ extern void emPause(void);
#endif /* _LANGUAGE_C */
#endif /* !_EM_H_ */
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef _GBI_POSLIGHT_H_
#define _GBI_POSLIGHT_H_
/* version 990705 */
#define G_LIGHTING_POSITIONAL 0x00400000
@@ -124,3 +125,5 @@ typedef struct {
_gdSPDefPosLight(r5,g5,b5,x5,y5,z5,c5,l5,q5), \
_gdSPDefPosLight(r6,g6,b6,x6,y6,z6,c6,l6,q6), \
_gdSPDefPosLight(r7,g7,b7,x7,y7,z7,c7,l7,q7)} }
#endif /* _GBI_POSLIGHT_H_ */
+5 -1
View File
@@ -17,7 +17,8 @@
*
**************************************************************************/
#pragma once
#ifndef _GBI_H_
#define _GBI_H_
#include <PR/ultratypes.h>
@@ -4799,3 +4800,6 @@ typedef union {
#endif
#endif /* _LANGUAGE_C */
#endif /* _GBI_H_ */
+87 -85
View File
@@ -9,7 +9,8 @@
$Id: gs2dex.h,v 1.1.1.1 2002/05/02 03:28:24 blythe Exp $
---------------------------------------------------------------------*/
#pragma once
#ifndef _GS2DEX_H_
#define _GS2DEX_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -39,66 +40,66 @@ extern "C" {
/* Non scalable background plane */
typedef struct {
u16 imageX; /* �ƥ�������κ������ X ��ɸ (u10.5) */
u16 imageW; /* �ƥ���������� (u10.2) */
s16 frameX; /* ž�������ե졼��κ������(s10.2) */
u16 frameW; /* ž�������ե졼����� (u10.2) */
u16 imageX; /* テクスチャの左上位置 X 座標 (u10.5) */
u16 imageW; /* テクスチャの幅 (u10.2) */
s16 frameX; /* 転送されるフレームの左上位置(s10.2) */
u16 frameW; /* 転送されるフレームの幅 (u10.2) */
u16 imageY; /* �ƥ�������κ������ Y ��ɸ (u10.5) */
u16 imageH; /* �ƥ�������ι⤵ (u10.2) */
s16 frameY; /* ž�������ե졼��κ������(s10.2) */
u16 frameH; /* ž�������ե졼��ι⤵ (u10.2) */
u16 imageY; /* テクスチャの左上位置 Y 座標 (u10.5) */
u16 imageH; /* テクスチャの高さ (u10.2) */
s16 frameY; /* 転送されるフレームの左上位置(s10.2) */
u16 frameH; /* 転送されるフレームの高さ (u10.2) */
u64 *imagePtr; /* DRAM ��Υƥ������㥽�������ɥ쥹 */
u16 imageLoad; /* LoadBlock, LoadTile �Τɤ������Ѥ��뤫 */
u8 imageFmt; /* �ƥ�����Υե����ޥå� G_IM_FMT_* */
u8 imageSiz; /* �ƥ�����Υ����� G_IM_SIZ_* */
u16 imagePal; /* �ѥ�å��ֹ� */
u16 imageFlip; /* ���᡼���κ���ȿž G_BG_FLAG_FLIPS ��ȿž */
u64 *imagePtr; /* DRAM 上のテクスチャソースアドレス */
u16 imageLoad; /* LoadBlock, LoadTile のどちらを使用するか */
u8 imageFmt; /* テクセルのフォーマット G_IM_FMT_* */
u8 imageSiz; /* テクセルのサイズ G_IM_SIZ_* */
u16 imagePal; /* パレット番号 */
u16 imageFlip; /* イメージの左右反転 G_BG_FLAG_FLIPS で反転 */
/* �ʲ��Ͻ�����롼���� guS2DInitBg() ������ꤵ���Τǥ桼������
�ꤹ��ɬ�פϤʤ� */
u16 tmemW; /* frame 1 �饤��� TMEM �� Word ������
LoadBlock �λ� GS_PIX2TMEM(imageW/4,imageSiz)
LoadTile �λ� GS_PIX2TMEM(frameW/4,imageSiz)+1 */
u16 tmemH; /* ���٤˥����ɤǤ��� TMEM �⤵ (s13.2) 4����
�̾�ƥ�������λ� 512/tmemW*4
CI �ƥ�������λ� 256/tmemW*4 */
u16 tmemLoadSH; /* SH ��
LoadBlock �λ� tmemSize/2-1
LoadTile �λ� tmemW*16-1 */
u16 tmemLoadTH; /* TH �� or Stride ��
LoadBlock �λ� GS_CALC_DXT(tmemW)
LoadTile �λ� tmemH-1 */
u16 tmemSizeW; /* image 1 �饤��ʬ�� imagePtr �Υ����å���
LoadBlock �λ� tmemW*2
LoadTile �λ� GS_PIX2TMEM(imageW/4,imageSiz)*2 */
u16 tmemSize; /* �����ɰ��ʬ�� imagePtr �Υ����å���
/* 以下は初期化ルーチン guS2DInitBg() 内で設定されるのでユーザが設
定する必要はない */
u16 tmemW; /* frame 1 ラインの TMEM 幅 Word サイズ
LoadBlock の時 GS_PIX2TMEM(imageW/4,imageSiz)
LoadTile の時 GS_PIX2TMEM(frameW/4,imageSiz)+1 */
u16 tmemH; /* 一度にロードできる TMEM 高さ (s13.2) 4倍値
通常テクスチャの時 512/tmemW*4
CI テクスチャの時 256/tmemW*4 */
u16 tmemLoadSH; /* SH 値
LoadBlock の時 tmemSize/2-1
LoadTile の時 tmemW*16-1 */
u16 tmemLoadTH; /* TH 値 or Stride 値
LoadBlock の時 GS_CALC_DXT(tmemW)
LoadTile の時 tmemH-1 */
u16 tmemSizeW; /* image 1 ライン分の imagePtr のスキップ値
LoadBlock の時 tmemW*2
LoadTile の時 GS_PIX2TMEM(imageW/4,imageSiz)*2 */
u16 tmemSize; /* ロード一回分の imagePtr のスキップ値
= tmemSizeW*tmemH */
} uObjBg_t; /* 40 bytes */
/* Scalable background plane */
typedef struct {
u16 imageX; /* �ƥ�������κ������ X ��ɸ (u10.5) */
u16 imageW; /* �ƥ���������� (u10.2) */
s16 frameX; /* ž�������ե졼��κ������(s10.2) */
u16 frameW; /* ž�������ե졼����� (u10.2) */
u16 imageX; /* テクスチャの左上位置 X 座標 (u10.5) */
u16 imageW; /* テクスチャの幅 (u10.2) */
s16 frameX; /* 転送されるフレームの左上位置(s10.2) */
u16 frameW; /* 転送されるフレームの幅 (u10.2) */
u16 imageY; /* �ƥ�������κ������ Y ��ɸ (u10.5) */
u16 imageH; /* �ƥ�������ι⤵ (u10.2) */
s16 frameY; /* ž�������ե졼��κ������(s10.2) */
u16 frameH; /* ž�������ե졼��ι⤵ (u10.2) */
u16 imageY; /* テクスチャの左上位置 Y 座標 (u10.5) */
u16 imageH; /* テクスチャの高さ (u10.2) */
s16 frameY; /* 転送されるフレームの左上位置(s10.2) */
u16 frameH; /* 転送されるフレームの高さ (u10.2) */
u64 *imagePtr; /* DRAM ��Υƥ������㥽�������ɥ쥹 */
u16 imageLoad; /* LoadBlock, LoadTile �Τɤ������Ѥ��뤫 */
u8 imageFmt; /* �ƥ�����Υե����ޥå� G_IM_FMT_* */
u8 imageSiz; /* �ƥ�����Υ����� G_IM_SIZ_* */
u16 imagePal; /* �ѥ�å��ֹ� */
u16 imageFlip; /* ���᡼���κ���ȿž G_BG_FLAG_FLIPS ��ȿž */
u64 *imagePtr; /* DRAM 上のテクスチャソースアドレス */
u16 imageLoad; /* LoadBlock, LoadTile のどちらを使用するか */
u8 imageFmt; /* テクセルのフォーマット G_IM_FMT_* */
u8 imageSiz; /* テクセルのサイズ G_IM_SIZ_* */
u16 imagePal; /* パレット番号 */
u16 imageFlip; /* イメージの左右反転 G_BG_FLAG_FLIPS で反転 */
u16 scaleW; /* X �������������� (u5.10) */
u16 scaleH; /* Y �������������� (u5.10) */
s32 imageYorig; /* image �ˤ������������ (s20.5) */
u16 scaleW; /* X 方向スケール値 (u5.10) */
u16 scaleH; /* Y 方向スケール値 (u5.10) */
s32 imageYorig; /* image における描画始点 (s20.5) */
u8 padding[4];
@@ -113,24 +114,24 @@ typedef union {
/*---------------------------------------------------------------------------*
* 2D Objects
*---------------------------------------------------------------------------*/
#define G_OBJ_FLAG_FLIPS 1<<0 /* S ����ȿž */
#define G_OBJ_FLAG_FLIPT 1<<4 /* T ����ȿž */
#define G_OBJ_FLAG_FLIPS 1<<0 /* S 方向反転 */
#define G_OBJ_FLAG_FLIPT 1<<4 /* T 方向反転 */
typedef struct {
s16 objX; /* s10.2 OBJ ����ü X ��ɸ */
u16 scaleW; /* u5.10 ��������������� */
u16 imageW; /* u10.5 �ƥ���������� (S ������Ĺ��) */
u16 paddingX; /* ̤���� ��� 0 */
s16 objY; /* s10.2 OBJ ����ü Y ��ɸ */
u16 scaleH; /* u5.10 �⤵������������� */
u16 imageH; /* u10.5 �ƥ�������ι⤵ (T ������Ĺ��) */
u16 paddingY; /* ̤���� ��� 0 */
u16 imageStride; /* �ƥ�������ޤ��֤��� (64bit word ñ��) */
u16 imageAdrs; /* TMEM ��Υƥ���������Ƭ���� (64bit word ñ��) */
u8 imageFmt; /* �ƥ�����Υե����ޥå� G_IM_FMT_* */
u8 imageSiz; /* �ƥ�����Υ����� G_IM_SIZ_* */
u8 imagePal; /* �ѥ�å��ֹ� 0-7 */
u8 imageFlags; /* ɽ���ե饰 G_OBJ_FLAG_FLIP* */
s16 objX; /* s10.2 OBJ 左上端 X 座標 */
u16 scaleW; /* u5.10 幅方向スケーリング */
u16 imageW; /* u10.5 テクスチャの幅 (S 方向の長さ) */
u16 paddingX; /* 未使用 常に 0 */
s16 objY; /* s10.2 OBJ 左上端 Y 座標 */
u16 scaleH; /* u5.10 高さ方向スケーリング */
u16 imageH; /* u10.5 テクスチャの高さ (T 方向の長さ) */
u16 paddingY; /* 未使用 常に 0 */
u16 imageStride; /* テクセルの折り返し幅 (64bit word 単位) */
u16 imageAdrs; /* TMEM 内のテクスチャ先頭位置 (64bit word 単位) */
u8 imageFmt; /* テクセルのフォーマット G_IM_FMT_* */
u8 imageSiz; /* テクセルのサイズ G_IM_SIZ_* */
u8 imagePal; /* パレット番号 0-7 */
u8 imageFlags; /* 表示フラグ G_OBJ_FLAG_FLIP* */
} uObjSprite_t; /* 24 bytes */
typedef union {
@@ -175,12 +176,12 @@ typedef union {
#define GS_TB_TLINE(pix,siz) (GS_CALC_DXT(GS_PIX2TMEM((pix),(siz))))
typedef struct {
u32 type; /* Type ���� G_OBJLT_TXTRBLOCK */
u64 *image; /* DRAM ��Υƥ������㥽�������ɥ쥹 */
u16 tmem; /* ��������� TMEM ��ɥ��ɥ쥹 (8byteWORD) */
u16 tsize; /* Texture ������ �ޥ��� GS_TB_TSIZE() �ǻ��� */
u16 tline; /* Texture 1 �饤���� �ޥ��� GS_TB_TLINE() �ǻ��� */
u16 sid; /* STATE ID 4 ���ܿ��� 0,4,8,12 �Τɤ줫 */
u32 type; /* Type 種別 G_OBJLT_TXTRBLOCK */
u64 *image; /* DRAM 上のテクスチャソースアドレス */
u16 tmem; /* ロード先の TMEM ワードアドレス (8byteWORD) */
u16 tsize; /* Texture サイズ マクロ GS_TB_TSIZE() で指定 */
u16 tline; /* Texture 1 ライン幅 マクロ GS_TB_TLINE() で指定 */
u16 sid; /* STATE ID 4 の倍数で 0,4,8,12 のどれか */
u32 flag; /* STATE flag */
u32 mask; /* STATE mask */
} uObjTxtrBlock_t; /* 24 bytes */
@@ -189,12 +190,12 @@ typedef struct {
#define GS_TT_THEIGHT(pix,siz) (((pix)<<2)-1)
typedef struct {
u32 type; /* Type ���� G_OBJLT_TXTRTILE */
u64 *image; /* DRAM ��Υƥ������㥽�������ɥ쥹 */
u16 tmem; /* ��������� TMEM ��ɥ��ɥ쥹 (8byteWORD) */
u16 twidth; /* Texture �� �ޥ��� GS_TT_TWIDTH() �ǻ��� */
u16 theight; /* Texture �⤵ �ޥ��� GS_TT_THEIGHT() �ǻ��� */
u16 sid; /* STATE ID 4 ���ܿ��� 0,4,8,12 �Τɤ줫 */
u32 type; /* Type 種別 G_OBJLT_TXTRTILE */
u64 *image; /* DRAM 上のテクスチャソースアドレス */
u16 tmem; /* ロード先の TMEM ワードアドレス (8byteWORD) */
u16 twidth; /* Texture 幅 マクロ GS_TT_TWIDTH() で指定 */
u16 theight; /* Texture 高さ マクロ GS_TT_THEIGHT() で指定 */
u16 sid; /* STATE ID 4 の倍数で 0,4,8,12 のどれか */
u32 flag; /* STATE flag */
u32 mask; /* STATE mask */
} uObjTxtrTile_t; /* 24 bytes */
@@ -203,12 +204,12 @@ typedef struct {
#define GS_PAL_NUM(num) ((num)-1)
typedef struct {
u32 type; /* Type ���� G_OBJLT_TLUT */
u64 *image; /* DRAM ��Υƥ������㥽�������ɥ쥹 */
u16 phead; /* ��������Ƭ�Υѥ�å��ֹ� 256 �ʾ� 511 �ʲ� */
u16 pnum; /* �����ɤ���ѥ�åȿ� - 1 */
u16 zero; /* ��� 0 ���������� */
u16 sid; /* STATE ID 4 ���ܿ��� 0,4,8,12 �Τɤ줫 */
u32 type; /* Type 種別 G_OBJLT_TLUT */
u64 *image; /* DRAM 上のテクスチャソースアドレス */
u16 phead; /* ロード先頭のパレット番号 256 以上 511 以下 */
u16 pnum; /* ロードするパレット数 - 1 */
u16 zero; /* 常に 0 を代入する */
u16 sid; /* STATE ID 4 の倍数で 0,4,8,12 のどれか */
u32 flag; /* STATE flag */
u32 mask; /* STATE mask */
} uObjTxtrTLUT_t; /* 24 bytes */
@@ -321,7 +322,7 @@ typedef struct {
/*---------------------------------------------------------------------------*
* Set general status
*---------------------------------------------------------------------------*/
#define G_MW_GENSTAT 0x08 /* G_MW_FOG ��Ʊ���ͤʤΤ����� */
#define G_MW_GENSTAT 0x08 /* G_MW_FOG と同じ値なので注意 */
#define gSPSetStatus(pkt, sid, val) \
gMoveWd((pkt), G_MW_GENSTAT, (sid), (val))
@@ -387,5 +388,6 @@ extern void guS2DInitBg(uObjBg *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* _GS2DEX_H_ */
/*======== End of gs2dex.h ========*/
+4 -1
View File
@@ -44,7 +44,8 @@
*
**************************************************************************/
#pragma once
#ifndef _GT_H_
#define _GT_H_
/* this file should be #included AFTER gbi.h */
@@ -360,3 +361,5 @@ typedef union {
#ifdef _LANGUAGE_MAKEROM
#endif /* _LANGUAGE_MAKEROM */
#endif /* _GT_H_ */
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef _GU_H_
#define _GU_H_
/**************************************************************************
* *
@@ -264,3 +265,5 @@ void guSprite2DInit(uSprite *SpritePointer,
int SourceImageBitSize,
int SourceImageOffsetS,
int SourceImageOffsetT);
#endif /* !_GU_H_ */
+3 -1
View File
@@ -6,7 +6,8 @@
$Id: gzsort.h,v 1.1.1.1 2002/05/02 03:28:24 blythe Exp $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _GZSORT_H_
#define _GZSORT_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -627,5 +628,6 @@ extern u64 gspZSort_pl_fifoDataStart[], gspZSort_pl_fifoDataEnd[];
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* _GZSORT_H_ */
/*======== End of gzsort.h ========*/
+4 -1
View File
@@ -7,7 +7,8 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _LEO_H_
#define _LEO_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -275,3 +276,5 @@ extern void LeoBootGame(void *entry);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_LEO_H */
+4 -1
View File
@@ -7,7 +7,8 @@
*
**************************************************************************/
#pragma once
#ifndef _LEOSP_H_
#define _LEOSP_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -45,3 +46,5 @@ extern s32 LeoSysReadWrite(LEOCmd *cmdBlock, s32 direction,
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_LEOSP_H */
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef _ULTRA64_LIBAUDIO_H_
#define _ULTRA64_LIBAUDIO_H_
#include "abi.h"
@@ -46,3 +47,5 @@ typedef struct
} ALSeqFile;
void alSeqFileNew(ALSeqFile *f, u8 *base);
#endif
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef _MBI_H_
#define _MBI_H_
/**************************************************************************
* *
@@ -95,3 +96,5 @@
#ifndef NULL
#define NULL 0
#endif
#endif /* !_MBI_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2002/10/29 08:06:34 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_H_
#define _OS_H_
#include <PR/os_thread.h>
#include <PR/os_message.h>
@@ -103,3 +104,5 @@ extern "C" {
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_H */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_AI_H_
#define _OS_AI_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -87,3 +88,5 @@ extern s32 osAiSetNextBuffer(void *, u32);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_AI_H_ */
+4 -1
View File
@@ -6,7 +6,8 @@
$Date: 2004/06/28 22:34:42 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_BB_H_
#define _OS_BB_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -106,3 +107,5 @@ extern void osBbRtcGet(u8* year, u8* month, u8* day, u8* dow, u8* hour, u8* min,
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_BB_H_ */
+4 -1
View File
@@ -2,7 +2,8 @@
Copyright (C) 2002 - 2004 BroadOn Communications.
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_BB_H_
#define _OS_BB_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -25,3 +26,5 @@ extern void osBbRtcGet(u8* year, u8* month, u8* day, u8* dow, u8* hour, u8* min,
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_BB_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_CACHE_H_
#define _OS_CACHE_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -91,3 +92,5 @@ extern void osWritebackDCacheAll(void);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_CACHE_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2004/10/29 00:51:42 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_CONT_H_
#define _OS_CONT_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -214,3 +215,5 @@ extern void osContGetReadData(OSContPad *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_CONT_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2002/10/29 08:06:34 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_CONVERT_H_
#define _OS_CONVERT_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -106,3 +107,5 @@ extern void * osPhysicalToVirtual(u32);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_CONVERT_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2002/10/29 08:06:34 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_DEBUG_H_
#define _OS_DEBUG_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -112,3 +113,5 @@ extern OSTime osThreadProfileReadTimeTh(OSThread*);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_DEBUG_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_EEPROM_H_
#define _OS_EEPROM_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -102,3 +103,5 @@ extern s32 osEepromLongWrite(OSMesgQueue *, u8, u8 *, int);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_EEPROM_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_ERROR_H_
#define _OS_ERROR_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -81,3 +82,5 @@ extern "C" {
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_ERROR_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_EXCEPTION_H_
#define _OS_EXCEPTION_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -114,3 +115,5 @@ extern OSIntMask osSetIntMask(OSIntMask);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_EXCEPTION_H_ */
+4 -1
View File
@@ -6,7 +6,8 @@
$Date: 2002/10/29 08:06:34 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_FLASH_H_
#define _OS_FLASH_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -66,3 +67,5 @@ extern s32 osFlashCheckEraseEnd(void);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_FLASH_H_ */
+4 -1
View File
@@ -7,7 +7,8 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_GBPAK_H_
#define _OS_GBPAK_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -102,3 +103,5 @@ extern s32 osGbpakCheckConnector(OSPfs *, u8 *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_GBPAK_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_GIO_H_
#define _OS_GIO_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -81,3 +82,5 @@ extern "C" {
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_GIO_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2004/06/28 22:34:42 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_HOST_H_
#define _OS_HOST_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -165,3 +166,5 @@ extern void osResetRdb();
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_HOST_H_ */
+4 -1
View File
@@ -18,7 +18,8 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_INTERNAL_H_
#define _OS_INTERNAL_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -44,3 +45,5 @@ extern "C" {
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_H */
+4 -1
View File
@@ -18,7 +18,8 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_INTERNAL_DEBUG_H_
#define _OS_INTERNAL_DEBUG_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -38,3 +39,5 @@ extern int __osAtomicDec(unsigned int *p);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_DEBUG_H */
+4 -1
View File
@@ -18,7 +18,8 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_INTERNAL_ERROR_H_
#define _OS_INTERNAL_ERROR_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -40,3 +41,5 @@ extern OSThread * __osGetNextFaultedThread(OSThread *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_ERROR_H */
+4 -1
View File
@@ -18,7 +18,8 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_INTERNAL_EXCEPTION_H_
#define _OS_INTERNAL_EXCEPTION_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -44,3 +45,5 @@ extern void __osResetGlobalIntMask(OSHWIntr);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_EXCEPTION_H */
+4 -1
View File
@@ -18,7 +18,8 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_INTERNAL_GIO_H_
#define _OS_INTERNAL_GIO_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -40,3 +41,5 @@ extern void __osGIORawInterrupt(s32);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_GIO_H */
+4 -1
View File
@@ -18,7 +18,8 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_INTERNAL_HOST_H_
#define _OS_INTERNAL_HOST_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -37,3 +38,5 @@ extern u32 __osRdbSend(u8 *buf, u32 size, u32 type);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_HOST_H */
+4 -1
View File
@@ -18,7 +18,8 @@
$Date: 2002/10/29 08:06:34 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_INTERNAL_REG_H_
#define _OS_INTERNAL_REG_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -54,3 +55,5 @@ extern u32 __osGetFpcCsr(void);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_REG_H */
+4 -1
View File
@@ -18,7 +18,8 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_INTERNAL_RSP_H_
#define _OS_INTERNAL_RSP_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -43,3 +44,5 @@ extern s32 __osSpRawStartDma(s32, u32, void *, u32);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_RSP_H */
+4 -1
View File
@@ -18,7 +18,8 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_INTERNAL_SI_H_
#define _OS_INTERNAL_SI_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -41,3 +42,5 @@ extern s32 __osSiRawStartDma(s32, void *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_SI_H */
+4 -1
View File
@@ -18,7 +18,8 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_INTERNAL_THREAD_H_
#define _OS_INTERNAL_THREAD_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -38,3 +39,5 @@ extern OSThread * __osGetActiveQueue(void);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_THREAD_H */
+4 -1
View File
@@ -18,7 +18,8 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_INTERNAL_TLB_H_
#define _OS_INTERNAL_TLB_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -42,3 +43,5 @@ extern u32 __osGetTLBLo1(s32);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_TLB_H */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2004/11/16 01:47:19 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_LIBC_H_
#define _OS_LIBC_H_
#include "os_pfs.h"
@@ -98,3 +99,5 @@ extern void osSyncPrintf(const char *fmt, ...);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_LIBC_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2004/06/28 22:34:42 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_MESSAGE_H_
#define _OS_MESSAGE_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -162,3 +163,5 @@ extern void osSetEventMesg(OSEvent, OSMesgQueue *, OSMesg);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_MESSAGE_H_ */
+4 -1
View File
@@ -7,7 +7,8 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_MOTOR_H_
#define _OS_MOTOR_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -78,3 +79,5 @@ extern s32 osMotorStart(OSPfs *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_MOTOR_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_PFS_H_
#define _OS_PFS_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -169,3 +170,5 @@ extern s32 osPfsNumFiles(OSPfs *, s32 *, s32 *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_PFS_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_PI_H_
#define _OS_PI_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -219,3 +220,5 @@ extern s32 osEPiLinkHandle(OSPiHandle *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_PI_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_RDP_H_
#define _OS_RDP_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -87,3 +88,5 @@ extern s32 osDpSetNextBuffer(void *, u64);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_RDP_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_REG_H_
#define _OS_REG_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -85,3 +86,5 @@ extern u32 osGetCount(void);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_REG_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_RSP_H_
#define _OS_RSP_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -81,3 +82,5 @@ extern "C" {
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_RSP_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_SI_H_
#define _OS_SI_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -81,3 +82,5 @@ extern "C" {
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_SI_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_SYSTEM_H_
#define _OS_SYSTEM_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -113,3 +114,5 @@ extern s32 osAfterPreNMI(void);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_SYSTEM_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2004/02/06 02:16:48 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_THREAD_H_
#define _OS_THREAD_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -169,3 +170,5 @@ extern OSPri osGetThreadPri(OSThread *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_THREAD_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_TIME_H_
#define _OS_TIME_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -109,3 +110,5 @@ extern int osStopTimer(OSTimer *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_TIME_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_TLB_H_
#define _OS_TLB_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -102,3 +103,5 @@ extern void osSetTLBASID(s32);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_TLB_H_ */
+4 -1
View File
@@ -26,7 +26,8 @@
$Date: 2004/09/03 03:52:47 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_USB_H_
#define _OS_USB_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -167,3 +168,5 @@ extern s32 osBbUsbDevWrite(OSBbUsbHandle, u8 *, s32, u64);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_USB_H_ */
+4 -1
View File
@@ -7,7 +7,10 @@
$Date: 2002/10/29 08:06:34 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_VERSION_H_
#define _OS_VERSION_H_
#define OS_MAJOR_VERSION "2.0K" /* major version */
#define OS_MINOR_VERSION 0 /* patch level */
#endif /* !_OS_VERSION_H_ */
+4 -1
View File
@@ -27,7 +27,8 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_VI_H_
#define _OS_VI_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -293,3 +294,5 @@ extern void osCreateViManager(OSPri);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_VI_H_ */
+4 -1
View File
@@ -7,7 +7,8 @@
$Date: 2002/10/29 08:06:34 $
*---------------------------------------------------------------------*/
#pragma once
#ifndef _OS_VOICE_H_
#define _OS_VOICE_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -103,3 +104,5 @@ extern void osVoiceCountSyllables(u8 *, u32 *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_VOICE_H_ */
+4 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef _RAMROM_H
#define _RAMROM_H
/**************************************************************************
* *
@@ -113,3 +114,5 @@ typedef struct {
void __RamRomInit(int key, void *romaddr);
void __RamRomDestroy(int key);
#endif /* _EMULATOR */
#endif /* !_RAMROM_H */
+5 -1
View File
@@ -1,4 +1,5 @@
#pragma once
#ifndef _RCP_H_
#define _RCP_H_
/**************************************************************************
* *
@@ -879,3 +880,6 @@ The Indy development board use cartridge domain 1:
IO_READ(SP_STATUS_REG))
#endif
#endif /* _RCP_H_ */
+4 -1
View File
@@ -7,7 +7,8 @@
*
**************************************************************************/
#pragma once
#ifndef _RDB_H
#define _RDB_H
/* U64 side address */
#define RDB_BASE_REG 0xc0000000
@@ -102,3 +103,5 @@ extern unsigned int __osRdbWriteOK;
extern unsigned int __osRdbSendMessage;
#endif /* _LANGUAGE_C */
#endif /* !_RDB_H */
+7 -1
View File
@@ -27,7 +27,8 @@
**************************************************************************/
#pragma once
#ifndef _REGION_H_
#define _REGION_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
@@ -115,3 +116,8 @@ extern s32 osGetRegionBufSize(void *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* _REGION_H_ */
+4 -1
View File
@@ -18,7 +18,8 @@
*
**************************************************************************/
#pragma once
#ifndef _RMON_H_
#define _RMON_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -48,3 +49,5 @@ extern void rmonPrintf( const char *, ... );
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_H */
+5 -1
View File
@@ -17,7 +17,8 @@
*
**************************************************************************/
#pragma once
#ifndef _RSP_H_
#define _RSP_H_ 1
#define RSP_DMEM_BASE 0x04000000
#define RSP_IMEM_BASE 0x04001000
@@ -79,3 +80,6 @@
.name CMD_TMEM_BUSY, $c15
#endif
#endif
+4 -1
View File
@@ -15,7 +15,8 @@
*
**************************************************************************/
#pragma once
#ifndef _RSP_IPC_H_
#define _RSP_IPC_H_ 1
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
@@ -64,3 +65,5 @@ extern int sem_signal(int id);
extern int sem_op(int id, int value);
#endif
#endif
+4 -1
View File
@@ -20,7 +20,8 @@
*
**************************************************************************/
#pragma once
#ifndef _SP_H_
#define _SP_H_
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -191,3 +192,5 @@ void spFinish( Gfx **glistp );
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* _SP_H_ */
Loaded 100 of 367 files, more files were not shown because too many files have changed in this diff. Show more