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
10
points ]
 (1 vote)
Created 2019-05-17 21:51
4 days 22 hours ago
Kretrens
35
points ]
 (4 votes)
Created 2019-05-08 05:38
2 weeks 15 hours ago
Sauce
45
points ]
 (5 votes)
Created 2018-08-22 19:15
39 weeks 1 hour ago
65
points ]
 (8 votes)
Created 2018-07-12 17:59
44 weeks 6 days ago
7YearBitch
47
points ]
 (6 votes)
Created 2019-03-07 23:20
10 weeks 5 days ago
Ao1 Pointblank
57
points ]
 (6 votes)
Created 2019-04-28 17:57
3 weeks 3 days ago
17
points ]
 (2 votes)
Created 2018-12-04 15:42
24 weeks 1 day ago
Created 2019-04-24 04:01
4 weeks 16 hours ago
80
points ]
 (8 votes)
Created 2010-07-14 21:46
8 years 44 weeks ago
Fatality
60
points ]
 (7 votes)
Created 2019-04-01 02:30
7 weeks 2 days ago
Ao1 Pointblank
Created 2019-03-04 15:01
11 weeks 2 days ago
84
points ]
 (9 votes)
Created 2010-07-21 06:51
8 years 43 weeks ago
Ao1 Pointblank
81
points ]
 (9 votes)
Created 2018-03-22 02:14
1 year 8 weeks ago
Ao1 Pointblank
25
points ]
 (3 votes)
Created 2019-02-20 05:31
13 weeks 15 hours ago
Ao1 Pointblank
36
points ]
 (4 votes)
Created 2018-12-10 05:31
23 weeks 2 days ago
26
points ]
 (3 votes)
Created 2018-12-04 15:24
24 weeks 1 day ago
Ao1 Pointblank
35
points ]
 (4 votes)
Created 2018-12-04 15:12
24 weeks 1 day ago
5
points ]
 (1 vote)
Created 2019-02-11 05:26
14 weeks 2 days ago
Fatality
20
points ]
 (2 votes)
Created 2019-02-14 21:25
13 weeks 5 days ago
Fatality
30
points ]
 (3 votes)
Created 2019-02-12 03:56
14 weeks 1 day ago
Who's new
  • impala97
  • Fixxxer
  • Gangler
  • DON
  • sevnnseven