Skip to content

Commit

Permalink
fix scoreboard
Browse files Browse the repository at this point in the history
  • Loading branch information
McDiod committed Feb 1, 2017
1 parent b1523bc commit fc07a1b
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 43 deletions.
43 changes: 0 additions & 43 deletions dialogs/baseRsc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,46 +88,3 @@ class mcd_RscPicture
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
};


class KillCamText
{
access = 0;
type = CT_STATIC;
idc = -1;
style = ST_CENTER;
w = 0.1; h = 0.05;
font = "PuristaMedium";
sizeEx = 0.08;
colorBackground[] = {0,0,0,0};
colorText[] = {1,1,1,1};
text = "";
fixedWidth = 0;
shadow = 0;
};

class ScoreBoardItem
{
access = 0;
type = CT_STATIC;
idc = -1;
style = ST_LEFT;
x = sb_totalX + sb_scoreW + sb_itemSpacingX;
w = sb_itemW;
h = sb_itemH;
font = "PuristaLight";
sizeEx = (0.04 * TEXT_SCALE);
colorBackground[] = {0,0,0,0};
colorText[] = {1,1,1,1};
text = "";
fixedWidth = 0;
shadow = 0;
};

class ScoreBoardScore: ScoreBoardItem
{
style = ST_CENTER;
x = sb_totalX;
w = sb_scoreW;
text = "";
};
16 changes: 16 additions & 0 deletions dialogs/killcam/title.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
class KillCamText
{
access = 0;
type = CT_STATIC;
idc = -1;
style = ST_CENTER;
w = 0.1; h = 0.05;
font = "PuristaMedium";
sizeEx = 0.08;
colorBackground[] = {0,0,0,0};
colorText[] = {1,1,1,1};
text = "";
fixedWidth = 0;
shadow = 0;
};

class KillCamTitle
{
idd = KILLCAMTITLE_DIALOG;
Expand Down
26 changes: 26 additions & 0 deletions dialogs/scoreboard/title.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
class ScoreBoardItem
{
access = 0;
type = CT_STATIC;
idc = -1;
style = ST_LEFT;
x = sb_totalX + sb_scoreW + sb_itemSpacingX;
w = sb_itemW;
h = sb_itemH;
font = "PuristaLight";
sizeEx = (0.04 * TEXT_SCALE);
colorBackground[] = {0,0,0,0};
colorText[] = {1,1,1,1};
text = "";
fixedWidth = 0;
shadow = 0;
};

class ScoreBoardScore: ScoreBoardItem
{
style = ST_CENTER;
x = sb_totalX;
w = sb_scoreW;
text = "";
};

class ScoreBoard
{
idd = SCOREBOARD_DIALOG;
Expand Down

0 comments on commit fc07a1b

Please sign in to comment.