Index: src/common/scripts.c
===================================================================
--- src/common/scripts.c (revision 31675)
+++ src/common/scripts.c (working copy)
@@ -376,10 +376,10 @@
0, /* V_STRING */
0, /* V_TRANSLATION_STRING */
0, /* V_LONGSTRING */
- sizeof(byte), /* V_ALIGN */
- sizeof(byte), /* V_BLEND */
- sizeof(byte), /* V_STYLE */
- sizeof(byte), /* V_FADE */
+ sizeof(align_t), /* V_ALIGN */
+ sizeof(blend_t), /* V_BLEND */
+ sizeof(style_t), /* V_STYLE */
+ sizeof(fade_t), /* V_FADE */
sizeof(int), /* V_SHAPE_SMALL */
0, /* V_SHAPE_BIG */
sizeof(byte), /* V_DMGTYPE */
Index: src/client/ui/ui_windows.c
===================================================================
--- src/client/ui/ui_windows.c (revision 31675)
+++ src/client/ui/ui_windows.c (working copy)
@@ -286,7 +286,7 @@
vec2_t source;
vec2_t destination;
uiNode_t *node;
- byte pointPosition;
+ align_t pointPosition;
size_t writtenBytes;
int result;
Index: src/client/ui/node/ui_node_abstractnode.c
===================================================================
--- src/client/ui/node/ui_node_abstractnode.c (revision 31675)
+++ src/client/ui/node/ui_node_abstractnode.c (working copy)
@@ -68,7 +68,7 @@
* @param [in] pointDirection
* @note For example we can request the right-bottom corner with ALIGN_LR (low, right)
*/
-void UI_NodeGetPoint (const uiNode_t* node, vec2_t pos, byte pointDirection)
+void UI_NodeGetPoint (const uiNode_t* node, vec2_t pos, align_t pointDirection)
{
switch (pointDirection % 3) {
case 0: /* left */
Index: src/client/ui/node/ui_node_abstractnode.h
===================================================================
--- src/client/ui/node/ui_node_abstractnode.h (revision 31675)
+++ src/client/ui/node/ui_node_abstractnode.h (working copy)
@@ -49,7 +49,7 @@
void UI_GetNodeAbsPos(const struct uiNode_s* node, vec2_t pos);
void UI_NodeAbsoluteToRelativePos(const struct uiNode_s* node, int *x, int *y);
void UI_NodeRelativeToAbsolutePoint(const uiNode_t* node, vec2_t pos);
-void UI_NodeGetPoint(const uiNode_t* node, vec2_t pos, byte pointDirection);
+void UI_NodeGetPoint(const uiNode_t* node, vec2_t pos, align_t pointDirection);
/* navigation */
struct uiNode_s *UI_GetNode(const struct uiNode_s* const node, const char *name);