📄 pmp_gu.h
字号:
/*
PMP Mod
Copyright (C) 2006 jonny
Homepage: http://jonny.leffe.dnsalias.com
E-mail: jonny@leffe.dnsalias.com
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
/*
gu routines
*/
#ifndef pmp_gu_h
#define pmp_gu_h
#define number_of_luminosity_boosts 16
#include <string.h>
#include <pspkernel.h>
#include <pspgu.h>
#include "aspect_ratio.h"
#include "texture_subdivision.h"
#include "pmp_interface.h"
#include "pmp_parse.h"
#include "gu_font.h"
extern struct pmp_sub_parse_struct subtitle_parser;
struct vertex_struct
{
short texture_x;
short texture_y;
float vertex_x;
float vertex_y;
float vertex_z;
};
extern unsigned int __attribute__((aligned(16))) pmp_gu_list[262144];
extern void *pmp_gu_draw_buffer;
extern void *pmp_gu_avc_buffer;
void pmp_gu_start();
void pmp_gu_end();
void pmp_gu_wait();
void pmp_gu_draw(unsigned int aspect_ratio, unsigned int zoom, unsigned int luminosity_boost, unsigned int show_interface, unsigned int show_subtitle, unsigned int frame_number, void *video_frame_buffer);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -