mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
changed back camera position for internet tab and fixed some line endings
This commit is contained in:
parent
d1b8b18b3a
commit
6fd0de865c
|
@ -16,16 +16,16 @@ CCamera::CCamera()
|
|||
m_RotationCenter = vec2(0.0f, 0.0f);
|
||||
m_MenuCenter = vec2(0.0f, 0.0f);
|
||||
|
||||
m_Positions[POS_START] = vec2(500.0f, 500.0f);
|
||||
m_Positions[POS_INTERNET] = vec2(500.0f, 500.0f);
|
||||
m_Positions[POS_LAN] = vec2(1000.0f, 1000.0f);
|
||||
m_Positions[POS_FAVORITES] = vec2(2000.0f, 500.0f);
|
||||
m_Positions[POS_DEMOS] = vec2(1500.0f, 1000.0f);
|
||||
m_Positions[POS_SETTINGS_GENERAL] = vec2(1000.0f, 500.0f);
|
||||
m_Positions[POS_SETTINGS_PLAYER] = vec2(400.0f, 200.0f);
|
||||
m_Positions[POS_SETTINGS_TEE] = vec2(1100.0f, 300.0f);
|
||||
m_Positions[POS_SETTINGS_CONTROLS] = vec2(600.0f, 1000.0f);
|
||||
m_Positions[POS_SETTINGS_GRAPHICS] = vec2(500.0f, 750.0f);
|
||||
m_Positions[POS_START] = vec2(500.0f, 500.0f);
|
||||
m_Positions[POS_INTERNET] = vec2(1000.0f, 1000.0f);
|
||||
m_Positions[POS_LAN] = vec2(1000.0f, 1000.0f);
|
||||
m_Positions[POS_FAVORITES] = vec2(2000.0f, 500.0f);
|
||||
m_Positions[POS_DEMOS] = vec2(1500.0f, 1000.0f);
|
||||
m_Positions[POS_SETTINGS_GENERAL] = vec2(1000.0f, 500.0f);
|
||||
m_Positions[POS_SETTINGS_PLAYER] = vec2(400.0f, 200.0f);
|
||||
m_Positions[POS_SETTINGS_TEE] = vec2(1100.0f, 300.0f);
|
||||
m_Positions[POS_SETTINGS_CONTROLS] = vec2(600.0f, 1000.0f);
|
||||
m_Positions[POS_SETTINGS_GRAPHICS] = vec2(500.0f, 750.0f);
|
||||
m_Positions[POS_SETTINGS_SOUND] = vec2(1300.0f, 850.0f);
|
||||
|
||||
m_CurrentPosition = -1;
|
||||
|
|
|
@ -10,16 +10,16 @@ class CCamera : public CComponent
|
|||
public:
|
||||
enum
|
||||
{
|
||||
POS_START = 0,
|
||||
POS_INTERNET,
|
||||
POS_LAN,
|
||||
POS_FAVORITES,
|
||||
POS_DEMOS,
|
||||
POS_SETTINGS_GENERAL, // order here should be the same like enum for settings pages in menu
|
||||
POS_SETTINGS_PLAYER,
|
||||
POS_SETTINGS_TEE,
|
||||
POS_SETTINGS_CONTROLS,
|
||||
POS_SETTINGS_GRAPHICS,
|
||||
POS_START = 0,
|
||||
POS_INTERNET,
|
||||
POS_LAN,
|
||||
POS_FAVORITES,
|
||||
POS_DEMOS,
|
||||
POS_SETTINGS_GENERAL, // order here should be the same like enum for settings pages in menu
|
||||
POS_SETTINGS_PLAYER,
|
||||
POS_SETTINGS_TEE,
|
||||
POS_SETTINGS_CONTROLS,
|
||||
POS_SETTINGS_GRAPHICS,
|
||||
POS_SETTINGS_SOUND,
|
||||
|
||||
NUM_POS,
|
||||
|
|
Loading…
Reference in a new issue