mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Delete the misnamed GlobalControl.cpp/h, move the (ugly) projection hack code that was there into VertexShaderManager where it belongs.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4644 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -20,6 +20,30 @@
|
||||
|
||||
#include "VertexShaderGen.h"
|
||||
|
||||
enum
|
||||
{
|
||||
PROJECTION_HACK_NONE = 0,
|
||||
PROJECTION_HACK_ZELDA_TP_BLOOM_HACK = 1,
|
||||
PROJECTION_HACK_SONIC_AND_THE_BLACK_KNIGHT = 2,
|
||||
PROJECTION_HACK_BLEACH_VERSUS_CRUSADE = 3,
|
||||
PROJECTION_HACK_FINAL_FANTASY_CC_ECHO_OF_TIME = 4,
|
||||
PROJECTION_HACK_HARVESTMOON_MM = 5,
|
||||
PROJECTION_HACK_BATEN_KAITOS = 6,
|
||||
PROJECTION_HACK_BATEN_KAITOS_ORIGIN = 7,
|
||||
PROJECTION_HACK_SKIES_OF_ARCADIA = 8
|
||||
};
|
||||
|
||||
struct ProjectionHack
|
||||
{
|
||||
bool enabled;
|
||||
float value;
|
||||
ProjectionHack() { }
|
||||
ProjectionHack(bool new_enabled, float new_value)
|
||||
: enabled(new_enabled), value(new_value) {}
|
||||
};
|
||||
|
||||
void UpdateProjectionHack(int hackIdx);
|
||||
|
||||
// The non-API dependent parts.
|
||||
class VertexShaderManager
|
||||
{
|
||||
|
Reference in New Issue
Block a user