Replace header ifdef guards with #pragma once

This commit is contained in:
Arceveti committed 2021-09-25 11:08:11 -07:00
1 parent 0649427337
commit 3a6c577a41
367 files changed
+651 -1765

No files matched your search

+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef COMMON0_H
#define COMMON0_H
#pragma once
#include "types.h"
@@ -190,5 +189,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef COMMON1_H
#define COMMON1_H
#pragma once
#include "types.h"
@@ -249,5 +248,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef GROUP0_H
#define GROUP0_H
#pragma once
#include "types.h"
@@ -341,5 +340,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef GROUP1_H
#define GROUP1_H
#pragma once
#include "types.h"
@@ -90,5 +89,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef GROUP10_H
#define GROUP10_H
#pragma once
#include "types.h"
@@ -93,5 +92,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef GROUP11_H
#define GROUP11_H
#pragma once
#include "types.h"
@@ -94,5 +93,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef GROUP12_H
#define GROUP12_H
#pragma once
#include "types.h"
@@ -134,5 +133,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef GROUP13_H
#define GROUP13_H
#pragma once
#include "types.h"
@@ -99,5 +98,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef GROUP14_H
#define GROUP14_H
#pragma once
#include "types.h"
@@ -132,5 +131,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef GROUP15_H
#define GROUP15_H
#pragma once
#include "types.h"
@@ -85,5 +84,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef GROUP16_H
#define GROUP16_H
#pragma once
#include "types.h"
@@ -34,5 +33,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef GROUP17_H
#define GROUP17_H
#pragma once
#include "types.h"
@@ -101,5 +100,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef GROUP2_H
#define GROUP2_H
#pragma once
#include "types.h"
@@ -27,5 +26,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef GROUP3_H
#define GROUP3_H
#pragma once
#include "types.h"
@@ -37,5 +36,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef GROUP4_H
#define GROUP4_H
#pragma once
#include "types.h"
@@ -104,5 +103,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef GROUP5_H
#define GROUP5_H
#pragma once
#include "types.h"
@@ -81,5 +80,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef GROUP6_H
#define GROUP6_H
#pragma once
#include "types.h"
@@ -83,5 +82,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef GROUP7_H
#define GROUP7_H
#pragma once
#include "types.h"
@@ -60,5 +59,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef GROUP8_H
#define GROUP8_H
#pragma once
#include "types.h"
@@ -25,5 +24,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef GROUP9_H
#define GROUP9_H
#pragma once
#include "types.h"
@@ -80,5 +79,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef BEHAVIOR_DATA_H
#define BEHAVIOR_DATA_H
#pragma once
#include "types.h"
@@ -530,5 +529,3 @@ extern const BehaviorScript bhvEndBirds1[];
extern const BehaviorScript bhvEndBirds2[];
extern const BehaviorScript bhvIntroScene[];
extern const BehaviorScript bhvUnusedFakeStar[];
#endif // BEHAVIOR_DATA_H
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef COMMAND_MACROS_BASE_H
#define COMMAND_MACROS_BASE_H
#pragma once
#include "platform_info.h"
@@ -24,5 +23,3 @@
#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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef COURSE_TABLE_H
#define COURSE_TABLE_H
#pragma once
// Start of the 3 cap courses in a row.
#define COURSE_CAP_COURSES COURSE_COTMC
@@ -28,5 +27,3 @@ enum CourseNum
#undef DEFINE_BONUS_COURSE
#define COURSE_IS_MAIN_COURSE(cmd) (cmd >= COURSE_MIN && cmd <= COURSE_STAGES_MAX)
#endif // COURSE_TABLE_H
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef DIALOG_IDS_H
#define DIALOG_IDS_H
#pragma once
enum DialogId {
DIALOG_NONE = -1,
@@ -175,5 +174,3 @@ enum DialogId {
DIALOG_169,
DIALOG_COUNT
};
#endif // DIALOG_IDS_H
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef EU_TRANSLATION_H
#define EU_TRANSLATION_H
#pragma once
// EU changes most text to arrays for each language. This define allows these
// differences to be combined.
@@ -16,5 +15,3 @@ 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
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef __FARCALL_H__
#define __FARCALL_H__
#pragma once
#ifdef __GNUC__
#define farcall(x) x
@@ -12,8 +11,6 @@
#define near
#endif
#endif
/*
How to use:
+1 -5
View File
@@ -1,5 +1,4 @@
#ifndef GEO_COMMANDS_H
#define GEO_COMMANDS_H
#pragma once
#include "command_macros_base.h"
@@ -446,6 +445,3 @@
CMD_BBH(GEO_BONE_ID, layer, 0x0000), \
CMD_HHHHHH(tx, ty, tz, rx, ry, rz), \
CMD_PTR(displayList)
#endif // GEO_COMMANDS_H
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef GFX_DIMENSIONS_H
#define GFX_DIMENSIONS_H
#pragma once
/*
@@ -37,5 +36,3 @@ 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
+1 -5
View File
@@ -1,5 +1,4 @@
#ifndef __GZIP_H__
#define __GZIP_H__
#pragma once
#ifndef NULL
@@ -54,6 +53,3 @@ extern int flush_window(void);
//
//
u32 expand_gzip(u8 *src_addr, u8 *dst_addr, u32 size, u32 outbytes_limit);
#endif
+1 -4
View File
@@ -1,6 +1,3 @@
#ifndef HELPER_MACROS_H
#define HELPER_MACROS_H
#pragma once
#define LIST_NEXT_ITEM(curItem, type) ((type *)((s32)curItem + sizeof(type)))
#endif // HELPER_MACROS_H
+1 -4
View File
@@ -7,8 +7,7 @@
/* revision 1.1 1999-02-12 */
#ifndef __HVQM2FILE_H__
#define __HVQM2FILE_H__
#pragma once
#include <HVQmd.h>
@@ -118,5 +117,3 @@ 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__ */
+1 -4
View File
@@ -7,8 +7,7 @@
/* revision 1.0 1998-10-14 */
#ifndef __HVQMD_H__
#define __HVQMD_H__
#pragma once
#include <ultra64.h>
@@ -18,5 +17,3 @@ typedef u16 CARD16;
typedef s16 INT16;
typedef u32 CARD32;
typedef s32 INT32;
#endif /* __HVQMD_H__ */
+1 -4
View File
@@ -7,8 +7,7 @@
/* revision 1.0 1998-12-17 */
#ifndef __ADPCMDEC_H__
#define __ADPCMDEC_H__
#pragma once
#include <ultra64.h>
@@ -28,6 +27,4 @@ void adpcmDecode(void *instream, u32 format, u32 samples, s16 *outstream, u32 ex
#define ADPCM_RESET 0
#define ADPCM_CONTINUE 1
#endif /* __ADPCMDEC_H__ */
/* end */
+1 -4
View File
@@ -6,8 +6,7 @@
/* revision 1.2 1999-03-26 */
#ifndef __HVQM2DEC_H__
#define __HVQM2DEC_H__
#pragma once
#include <ultra64.h>
#include <HVQM2File.h>
@@ -99,6 +98,4 @@ extern u8 hvqm2sp1DataStart[], hvqm2sp1DataEnd[];
extern u8 hvqm2sp2TextStart[], hvqm2sp2TextEnd[];
extern u8 hvqm2sp2DataStart[], hvqm2sp2DataEnd[];
#endif /* __HVQM2DEC_H__ */
/* end */
+1 -3
View File
@@ -6,8 +6,7 @@
*
**************************************************************************/
#ifndef __GL_IMAGE_H__
#define __GL_IMAGE_H__
#pragma once
#ifdef __cplusplus
extern "C" {
#endif
@@ -123,4 +122,3 @@ unsigned short *ibufalloc();
#ifdef __cplusplus
}
#endif
#endif /* !__GL_IMAGE_H__ */
+1 -4
View File
@@ -18,8 +18,7 @@
*
**************************************************************************/
#ifndef __R4300_H__
#define __R4300_H__
#pragma once
#include <PR/ultratypes.h>
@@ -449,5 +448,3 @@
#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 */
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef _ABI_H_
#define _ABI_H_
#pragma once
/**************************************************************************
* *
@@ -992,5 +991,3 @@ typedef short ENVMIX_STATE[40];
#endif
#endif /* _LANGUAGE_C */
#endif /* !_ABI_H_ */
+1 -4
View File
@@ -18,8 +18,7 @@
*
**************************************************************************/
#ifndef _DBGDEFS_H_
#define _DBGDEFS_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -34,5 +33,3 @@ typedef unsigned char TVuchar;
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef _EM_H_
#define _EM_H_
#pragma once
/**************************************************************************
* *
@@ -98,5 +97,3 @@ extern void emPause(void);
#endif /* _LANGUAGE_C */
#endif /* !_EM_H_ */
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef _GBI_POSLIGHT_H_
#define _GBI_POSLIGHT_H_
#pragma once
/* version 990705 */
#define G_LIGHTING_POSITIONAL 0x00400000
@@ -125,5 +124,3 @@ 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_ */
+1 -5
View File
@@ -17,8 +17,7 @@
*
**************************************************************************/
#ifndef _GBI_H_
#define _GBI_H_
#pragma once
#include <PR/ultratypes.h>
@@ -4800,6 +4799,3 @@ typedef union {
#endif
#endif /* _LANGUAGE_C */
#endif /* _GBI_H_ */
+85 -87
View File
@@ -9,8 +9,7 @@
$Id: gs2dex.h,v 1.1.1.1 2002/05/02 03:28:24 blythe Exp $
---------------------------------------------------------------------*/
#ifndef _GS2DEX_H_
#define _GS2DEX_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -40,66 +39,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];
@@ -114,24 +113,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 {
@@ -176,12 +175,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 */
@@ -190,12 +189,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 */
@@ -204,12 +203,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 */
@@ -322,7 +321,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))
@@ -388,6 +387,5 @@ extern void guS2DInitBg(uObjBg *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* _GS2DEX_H_ */
/*======== End of gs2dex.h ========*/
+1 -4
View File
@@ -44,8 +44,7 @@
*
**************************************************************************/
#ifndef _GT_H_
#define _GT_H_
#pragma once
/* this file should be #included AFTER gbi.h */
@@ -361,5 +360,3 @@ typedef union {
#ifdef _LANGUAGE_MAKEROM
#endif /* _LANGUAGE_MAKEROM */
#endif /* _GT_H_ */
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef _GU_H_
#define _GU_H_
#pragma once
/**************************************************************************
* *
@@ -265,5 +264,3 @@ void guSprite2DInit(uSprite *SpritePointer,
int SourceImageBitSize,
int SourceImageOffsetS,
int SourceImageOffsetT);
#endif /* !_GU_H_ */
+1 -3
View File
@@ -6,8 +6,7 @@
$Id: gzsort.h,v 1.1.1.1 2002/05/02 03:28:24 blythe Exp $
*---------------------------------------------------------------------*/
#ifndef _GZSORT_H_
#define _GZSORT_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -628,6 +627,5 @@ extern u64 gspZSort_pl_fifoDataStart[], gspZSort_pl_fifoDataEnd[];
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* _GZSORT_H_ */
/*======== End of gzsort.h ========*/
+1 -4
View File
@@ -7,8 +7,7 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#ifndef _LEO_H_
#define _LEO_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -276,5 +275,3 @@ extern void LeoBootGame(void *entry);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_LEO_H */
+1 -4
View File
@@ -7,8 +7,7 @@
*
**************************************************************************/
#ifndef _LEOSP_H_
#define _LEOSP_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -46,5 +45,3 @@ extern s32 LeoSysReadWrite(LEOCmd *cmdBlock, s32 direction,
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_LEOSP_H */
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef _ULTRA64_LIBAUDIO_H_
#define _ULTRA64_LIBAUDIO_H_
#pragma once
#include "abi.h"
@@ -47,5 +46,3 @@ typedef struct
} ALSeqFile;
void alSeqFileNew(ALSeqFile *f, u8 *base);
#endif
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef _MBI_H_
#define _MBI_H_
#pragma once
/**************************************************************************
* *
@@ -96,5 +95,3 @@
#ifndef NULL
#define NULL 0
#endif
#endif /* !_MBI_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2002/10/29 08:06:34 $
*---------------------------------------------------------------------*/
#ifndef _OS_H_
#define _OS_H_
#pragma once
#include <PR/os_thread.h>
#include <PR/os_message.h>
@@ -104,5 +103,3 @@ extern "C" {
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_H */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#ifndef _OS_AI_H_
#define _OS_AI_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -88,5 +87,3 @@ extern s32 osAiSetNextBuffer(void *, u32);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_AI_H_ */
+1 -4
View File
@@ -6,8 +6,7 @@
$Date: 2004/06/28 22:34:42 $
*---------------------------------------------------------------------*/
#ifndef _OS_BB_H_
#define _OS_BB_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -107,5 +106,3 @@ 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_ */
+1 -4
View File
@@ -2,8 +2,7 @@
Copyright (C) 2002 - 2004 BroadOn Communications.
*---------------------------------------------------------------------*/
#ifndef _OS_BB_H_
#define _OS_BB_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -26,5 +25,3 @@ 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_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#ifndef _OS_CACHE_H_
#define _OS_CACHE_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -92,5 +91,3 @@ extern void osWritebackDCacheAll(void);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_CACHE_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2004/10/29 00:51:42 $
*---------------------------------------------------------------------*/
#ifndef _OS_CONT_H_
#define _OS_CONT_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -215,5 +214,3 @@ extern void osContGetReadData(OSContPad *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_CONT_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2002/10/29 08:06:34 $
*---------------------------------------------------------------------*/
#ifndef _OS_CONVERT_H_
#define _OS_CONVERT_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -107,5 +106,3 @@ extern void * osPhysicalToVirtual(u32);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_CONVERT_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2002/10/29 08:06:34 $
*---------------------------------------------------------------------*/
#ifndef _OS_DEBUG_H_
#define _OS_DEBUG_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -113,5 +112,3 @@ extern OSTime osThreadProfileReadTimeTh(OSThread*);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_DEBUG_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#ifndef _OS_EEPROM_H_
#define _OS_EEPROM_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -103,5 +102,3 @@ extern s32 osEepromLongWrite(OSMesgQueue *, u8, u8 *, int);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_EEPROM_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#ifndef _OS_ERROR_H_
#define _OS_ERROR_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -82,5 +81,3 @@ extern "C" {
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_ERROR_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#ifndef _OS_EXCEPTION_H_
#define _OS_EXCEPTION_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -115,5 +114,3 @@ extern OSIntMask osSetIntMask(OSIntMask);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_EXCEPTION_H_ */
+1 -4
View File
@@ -6,8 +6,7 @@
$Date: 2002/10/29 08:06:34 $
*---------------------------------------------------------------------*/
#ifndef _OS_FLASH_H_
#define _OS_FLASH_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -67,5 +66,3 @@ extern s32 osFlashCheckEraseEnd(void);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_FLASH_H_ */
+1 -4
View File
@@ -7,8 +7,7 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#ifndef _OS_GBPAK_H_
#define _OS_GBPAK_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -103,5 +102,3 @@ extern s32 osGbpakCheckConnector(OSPfs *, u8 *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_GBPAK_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#ifndef _OS_GIO_H_
#define _OS_GIO_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -82,5 +81,3 @@ extern "C" {
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_GIO_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2004/06/28 22:34:42 $
*---------------------------------------------------------------------*/
#ifndef _OS_HOST_H_
#define _OS_HOST_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -166,5 +165,3 @@ extern void osResetRdb();
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_HOST_H_ */
+1 -4
View File
@@ -18,8 +18,7 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_H_
#define _OS_INTERNAL_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -45,5 +44,3 @@ extern "C" {
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_H */
+1 -4
View File
@@ -18,8 +18,7 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_DEBUG_H_
#define _OS_INTERNAL_DEBUG_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -39,5 +38,3 @@ extern int __osAtomicDec(unsigned int *p);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_DEBUG_H */
+1 -4
View File
@@ -18,8 +18,7 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_ERROR_H_
#define _OS_INTERNAL_ERROR_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -41,5 +40,3 @@ extern OSThread * __osGetNextFaultedThread(OSThread *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_ERROR_H */
+1 -4
View File
@@ -18,8 +18,7 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_EXCEPTION_H_
#define _OS_INTERNAL_EXCEPTION_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -45,5 +44,3 @@ extern void __osResetGlobalIntMask(OSHWIntr);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_EXCEPTION_H */
+1 -4
View File
@@ -18,8 +18,7 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_GIO_H_
#define _OS_INTERNAL_GIO_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -41,5 +40,3 @@ extern void __osGIORawInterrupt(s32);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_GIO_H */
+1 -4
View File
@@ -18,8 +18,7 @@
$Date: 2002/05/02 03:28:24 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_HOST_H_
#define _OS_INTERNAL_HOST_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -38,5 +37,3 @@ extern u32 __osRdbSend(u8 *buf, u32 size, u32 type);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_HOST_H */
+1 -4
View File
@@ -18,8 +18,7 @@
$Date: 2002/10/29 08:06:34 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_REG_H_
#define _OS_INTERNAL_REG_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -55,5 +54,3 @@ extern u32 __osGetFpcCsr(void);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_REG_H */
+1 -4
View File
@@ -18,8 +18,7 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_RSP_H_
#define _OS_INTERNAL_RSP_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -44,5 +43,3 @@ extern s32 __osSpRawStartDma(s32, u32, void *, u32);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_RSP_H */
+1 -4
View File
@@ -18,8 +18,7 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_SI_H_
#define _OS_INTERNAL_SI_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -42,5 +41,3 @@ extern s32 __osSiRawStartDma(s32, void *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_SI_H */
+1 -4
View File
@@ -18,8 +18,7 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_THREAD_H_
#define _OS_INTERNAL_THREAD_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -39,5 +38,3 @@ extern OSThread * __osGetActiveQueue(void);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_THREAD_H */
+1 -4
View File
@@ -18,8 +18,7 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#ifndef _OS_INTERNAL_TLB_H_
#define _OS_INTERNAL_TLB_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -43,5 +42,3 @@ extern u32 __osGetTLBLo1(s32);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_INTERNAL_TLB_H */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2004/11/16 01:47:19 $
*---------------------------------------------------------------------*/
#ifndef _OS_LIBC_H_
#define _OS_LIBC_H_
#pragma once
#include "os_pfs.h"
@@ -99,5 +98,3 @@ extern void osSyncPrintf(const char *fmt, ...);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_LIBC_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2004/06/28 22:34:42 $
*---------------------------------------------------------------------*/
#ifndef _OS_MESSAGE_H_
#define _OS_MESSAGE_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -163,5 +162,3 @@ extern void osSetEventMesg(OSEvent, OSMesgQueue *, OSMesg);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_MESSAGE_H_ */
+1 -4
View File
@@ -7,8 +7,7 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#ifndef _OS_MOTOR_H_
#define _OS_MOTOR_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -79,5 +78,3 @@ extern s32 osMotorStart(OSPfs *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_MOTOR_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#ifndef _OS_PFS_H_
#define _OS_PFS_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -170,5 +169,3 @@ extern s32 osPfsNumFiles(OSPfs *, s32 *, s32 *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_PFS_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#ifndef _OS_PI_H_
#define _OS_PI_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -220,5 +219,3 @@ extern s32 osEPiLinkHandle(OSPiHandle *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_PI_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#ifndef _OS_RDP_H_
#define _OS_RDP_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -88,5 +87,3 @@ extern s32 osDpSetNextBuffer(void *, u64);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_RDP_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#ifndef _OS_REG_H_
#define _OS_REG_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -86,5 +85,3 @@ extern u32 osGetCount(void);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_REG_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#ifndef _OS_RSP_H_
#define _OS_RSP_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -82,5 +81,3 @@ extern "C" {
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_RSP_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#ifndef _OS_SI_H_
#define _OS_SI_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -82,5 +81,3 @@ extern "C" {
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_SI_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#ifndef _OS_SYSTEM_H_
#define _OS_SYSTEM_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -114,5 +113,3 @@ extern s32 osAfterPreNMI(void);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_SYSTEM_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2004/02/06 02:16:48 $
*---------------------------------------------------------------------*/
#ifndef _OS_THREAD_H_
#define _OS_THREAD_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -170,5 +169,3 @@ extern OSPri osGetThreadPri(OSThread *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_THREAD_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#ifndef _OS_TIME_H_
#define _OS_TIME_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -110,5 +109,3 @@ extern int osStopTimer(OSTimer *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_TIME_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#ifndef _OS_TLB_H_
#define _OS_TLB_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -103,5 +102,3 @@ extern void osSetTLBASID(s32);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_TLB_H_ */
+1 -4
View File
@@ -26,8 +26,7 @@
$Date: 2004/09/03 03:52:47 $
*---------------------------------------------------------------------*/
#ifndef _OS_USB_H_
#define _OS_USB_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -168,5 +167,3 @@ extern s32 osBbUsbDevWrite(OSBbUsbHandle, u8 *, s32, u64);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_USB_H_ */
+1 -4
View File
@@ -7,10 +7,7 @@
$Date: 2002/10/29 08:06:34 $
*---------------------------------------------------------------------*/
#ifndef _OS_VERSION_H_
#define _OS_VERSION_H_
#pragma once
#define OS_MAJOR_VERSION "2.0K" /* major version */
#define OS_MINOR_VERSION 0 /* patch level */
#endif /* !_OS_VERSION_H_ */
+1 -4
View File
@@ -27,8 +27,7 @@
$Date: 2002/05/02 03:28:25 $
*---------------------------------------------------------------------*/
#ifndef _OS_VI_H_
#define _OS_VI_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -294,5 +293,3 @@ extern void osCreateViManager(OSPri);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_VI_H_ */
+1 -4
View File
@@ -7,8 +7,7 @@
$Date: 2002/10/29 08:06:34 $
*---------------------------------------------------------------------*/
#ifndef _OS_VOICE_H_
#define _OS_VOICE_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -104,5 +103,3 @@ extern void osVoiceCountSyllables(u8 *, u32 *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_VOICE_H_ */
+1 -4
View File
@@ -1,5 +1,4 @@
#ifndef _RAMROM_H
#define _RAMROM_H
#pragma once
/**************************************************************************
* *
@@ -114,5 +113,3 @@ typedef struct {
void __RamRomInit(int key, void *romaddr);
void __RamRomDestroy(int key);
#endif /* _EMULATOR */
#endif /* !_RAMROM_H */
+1 -5
View File
@@ -1,5 +1,4 @@
#ifndef _RCP_H_
#define _RCP_H_
#pragma once
/**************************************************************************
* *
@@ -880,6 +879,3 @@ The Indy development board use cartridge domain 1:
IO_READ(SP_STATUS_REG))
#endif
#endif /* _RCP_H_ */
+1 -4
View File
@@ -7,8 +7,7 @@
*
**************************************************************************/
#ifndef _RDB_H
#define _RDB_H
#pragma once
/* U64 side address */
#define RDB_BASE_REG 0xc0000000
@@ -103,5 +102,3 @@ extern unsigned int __osRdbWriteOK;
extern unsigned int __osRdbSendMessage;
#endif /* _LANGUAGE_C */
#endif /* !_RDB_H */
+1 -7
View File
@@ -27,8 +27,7 @@
**************************************************************************/
#ifndef _REGION_H_
#define _REGION_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
@@ -116,8 +115,3 @@ extern s32 osGetRegionBufSize(void *);
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* _REGION_H_ */
+1 -4
View File
@@ -18,8 +18,7 @@
*
**************************************************************************/
#ifndef _RMON_H_
#define _RMON_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -49,5 +48,3 @@ extern void rmonPrintf( const char *, ... );
#ifdef _LANGUAGE_C_PLUS_PLUS
}
#endif
#endif /* !_OS_H */
+1 -5
View File
@@ -17,8 +17,7 @@
*
**************************************************************************/
#ifndef _RSP_H_
#define _RSP_H_ 1
#pragma once
#define RSP_DMEM_BASE 0x04000000
#define RSP_IMEM_BASE 0x04001000
@@ -80,6 +79,3 @@
.name CMD_TMEM_BUSY, $c15
#endif
#endif
+1 -4
View File
@@ -15,8 +15,7 @@
*
**************************************************************************/
#ifndef _RSP_IPC_H_
#define _RSP_IPC_H_ 1
#pragma once
#if defined(_LANGUAGE_C) || defined(_LANGUAGE_C_PLUS_PLUS)
@@ -65,5 +64,3 @@ extern int sem_signal(int id);
extern int sem_op(int id, int value);
#endif
#endif
+1 -4
View File
@@ -20,8 +20,7 @@
*
**************************************************************************/
#ifndef _SP_H_
#define _SP_H_
#pragma once
#ifdef _LANGUAGE_C_PLUS_PLUS
extern "C" {
@@ -192,5 +191,3 @@ 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