ThomasT | 2012-09-17 03:09
Sauerbraten gui skin map image
8
points ]
 (1 vote)
This content requires the Development Branch of the game it was designed for, which can only be obtained from the SVN repository. If you do not understand this, you should wait until the next release of the game to download this content.
Gui skin map image for developing new skins for Sauerbraten

The guiskin_map.png image is derived from the patch list array gui::patches[] in src/engine/3dgui.cpp. It can be used to create a new gui skin for Sauerbraten.

The gui::patches[] array is divided into 4 patch sets:

    0 - 8    The main body.
    9        A small patch for the top, connecting selected and unselected tabs.
             (It is also used to complete the top edge when the tabs do not extend
             all the way across the top.)
    10-18    Selected tab.
    19-27    Unselected tab.

The main body, selected tab, and unselected tab patch sets form 3x3 non-uniform grids that divide each region into 9 patches: upper left, upper center, upper right, middle left, middle center, middle right, lower left, lower center, lower right.

The numbers on the patch map image correspond to the appropriate gui::patches[] array entry. (Note that the array index starts from 0.) The dimensions of each patch are pixel correct, so the image can be used directly as an underlay or overlay for guiding the development of the skin.

To create a new gui skin, the border for each region must pass through the outer patch of each patch set. The border must be designed so that if it is cut at the patch boundaries, the center parts and edge parts can be extended without noticeable seams.

GuiSkinMap.zip (17.41 KB)
8
points
 (1 vote)
User login
Users on Quadropolis
2 guests & no users online
20
points ]
 (2 votes)
Created 2016-07-28 12:06
3 years 35 weeks ago
afroninja
26
points ]
 (3 votes)
Created 2020-01-15 07:47
11 weeks 9 hours ago
7YearBitch
20
points ]
 (2 votes)
Created 2020-03-16 20:09
2 weeks 1 day ago
70
points ]
 (7 votes)
Created 2020-01-24 22:26
9 weeks 4 days ago
40
points ]
 (4 votes)
Created 2020-01-23 12:57
9 weeks 6 days ago
30
points ]
 (4 votes)
Created 2020-01-26 14:10
9 weeks 3 days ago
170
points ]
 (17 votes)
Created 2011-09-05 14:13
8 years 30 weeks ago
Sauce
71
points ]
 (8 votes)
Created 2018-08-22 19:15
1 year 31 weeks ago
Lord Kv
160
points ]
 (16 votes)
Created 2015-03-12 14:45
5 years 3 weeks ago
45
points ]
 (6 votes)
Created 2009-08-15 13:37
10 years 33 weeks ago
MisanthropX
74
points ]
 (8 votes)
Created 2019-12-05 20:57
16 weeks 5 days ago
Redon
105
points ]
 (11 votes)
Created 2019-10-24 21:41
22 weeks 5 days ago
10
points ]
 (1 vote)
Created 2019-10-26 11:09
22 weeks 4 days ago
25
points ]
 (3 votes)
Created 2019-10-11 23:29
24 weeks 4 days ago
10
points ]
 (1 vote)
Created 2019-10-16 01:26
24 weeks 15 hours ago
Gangler
37
points ]
 (4 votes)
Created 2019-10-10 16:26
24 weeks 6 days ago
34
points ]
 (4 votes)
Created 2019-10-08 02:25
25 weeks 1 day ago
5
points ]
 (1 vote)
Created 2019-10-08 13:32
25 weeks 1 day ago
Gangler
42
points ]
 (5 votes)
Created 2019-09-23 23:48
27 weeks 1 day ago
Fatality
39
points ]
 (4 votes)
Created 2019-09-28 02:57
26 weeks 4 days ago
Who's new
  • Antknee55
  • gmiz
  • impala97
  • Fixxxer
  • Gangler