Skip to content

Commit dee16b8

Browse files
authored
fix markdown formatting in existing documentation (TheSuperHackers#13)
1 parent de23f31 commit dee16b8

27 files changed

+456
-292
lines changed

.markdownlint.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ MD033: # Disallow inline HTML, with some exceptions
99
allowed_elements:
1010
- details
1111
- summary
12+
- br
1213
MD041: true # First line should be h1
1314
MD046: true # Enforce code block style
1415
MD025: true # Disallow multiple h1 headers

Asset/Art/cameo_sizes.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
1-
## Description:
2-
These are the default sizes of the unit portraits and it's button
1+
# Cameo & General Portrait Sizes
2+
3+
These are the default sizes of the unit portraits and it's button
34
images that are you used in the game; If you want to have more crisp
45
button image and unit portrait visuals, just double the resolution listed below.
56

6-
## Cameo sizes:
7+
## Cameo Sizes
8+
79
Small Cameo - 62 X 50
810
Large Portrait - 122 X 98
911

10-
## General portrait sizes
12+
## General Portrait Sizes
13+
1114
Small Portait - 118 X 117
12-
Large Portrait - 334 X 330
15+
Large Portrait - 334 X 330

Asset/Art/dds/dds-files-and-dxt-compression.md

Lines changed: 120 additions & 48 deletions
Large diffs are not rendered by default.

Asset/Art/w3d/3dsmax/readme.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# 3DSMAX
22

33
After installing Autodesk 3ds Max, install following scripts:
4-
* [3DSMAX7 BFME2 W3D Scripts](https://github.com/TheSuperHackers/GeneralsTools/blob/main/Tools/w3d/3dsmax7_bfme2_mod_sdk.zip)
5-
* [3DSMAX W3D Importer](https://github.com/TheSuperHackers/GeneralsTools/blob/main/Tools/w3d/coolfile_w3d_importer.zip)
4+
5+
- [3DSMAX7 BFME2 W3D Scripts](<https://github.com/TheSuperHackers/GeneralsTools/blob/main/Tools/w3d/3dsmax7_bfme2_mod_sdk.zip>)
6+
- [3DSMAX W3D Importer](<https://github.com/TheSuperHackers/GeneralsTools/blob/main/Tools/w3d/coolfile_w3d_importer.zip>)
67

78
## Configure W3D Importer
89

@@ -20,7 +21,8 @@ To import W3D File, select **File > Import W3D**.
2021

2122
To unload it, select **File > Reset**.
2223

23-
Note: the W3D Importer does not necessarily produce perfect imports. Vertices counts may differ between the original W3D mesh and the imported W3D mesh. If the mesh looks ok, you can use it however.
24+
Note: the W3D Importer does not necessarily produce perfect imports. Vertices counts may differ between the original W3D
25+
mesh and the imported W3D mesh. If the mesh looks ok, you can use it however.
2426

2527
![3dsmax8_import_w3d.png](images/3dsmax8_import_w3d.png)
2628

@@ -30,10 +32,10 @@ To Export W3D File, select **File > Export** and choose the W3D file format in t
3032

3133
![3dsmax8_export_w3d.png](images/3dsmax8_export_w3d.png)
3234

33-
3435
## Rescale W3D Animation
3536

36-
To rescale a W3D animation, import the W3D file, click on the **Time Configuration** button at the bottom, hit **Re-scale Time** button and then specify the new Frame Length.
37+
To rescale a W3D animation, import the W3D file, click on the **Time Configuration** button at the bottom, hit
38+
**Re-scale Time** button and then specify the new Frame Length.
3739

3840
Note: 30 frames correspond the 1 game second.
3941

Asset/GUI/WND_Controls/checkbox.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ The following section lists the default values and available textures for each t
1515

1616
### ENABLEDDRAWDATA
1717

18-
* `Active-Unchecked`
19-
* `Active-Checked`
18+
- `Active-Unchecked`
19+
- `Active-Checked`
2020

2121
### DISABLEDDRAWDATA
2222

23-
* `Disabled-Unchecked`
24-
* `Disabled-Checked`
23+
- `Disabled-Unchecked`
24+
- `Disabled-Checked`
2525

2626
### HILITEDRAWDATA
2727

28-
* `Active-HiLighted`
29-
* `Active-Checked`
28+
- `Active-HiLighted`
29+
- `Active-Checked`
3030

3131
## Example
3232

@@ -90,8 +90,8 @@ Here's an example from the `OptionsMenu.wnd` file:
9090

9191
## See also
9292

93-
* [Default control](user.md)
94-
* [Texturing](../texturing.md)
95-
* [Statuses](../statuses.md)
93+
- [Default control](user.md)
94+
- [Texturing](../texturing.md)
95+
- [Statuses](../statuses.md)
9696

9797
[Category:](../Categories.md) [Controls](../Controls.md)

Asset/GUI/WND_Controls/combobox.md

Lines changed: 22 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
# ComboBox Control
2+
23
The **ComboBox** control is used for creating a dropdown list. You can define the position, size,
3-
and appearance of the <b>ComboBox</b>.
4+
and appearance of the **ComboBox**.
45

56
## Available tags
7+
68
In addition to the [default control tags](user.md), the following tags are available.
9+
710
- The control does not have a `TEXT` tag. Unlike controls such as checkboxes, which include a text label,
811
this control is self-contained and does not display or use a text label.
912

@@ -33,13 +36,15 @@ this control is self-contained and does not display or use a text label.
3336
| `SLIDERTHUMBHILITEDRAWDATA` | Visual texture for the slider thumb (handle) when highlighted. |
3437

3538
## Default values
39+
3640
The following section list the default values and available textures for each tag
41+
3742
<details>
3843
<summary>Click to expand</summary>
3944

4045
### COMBOBOXDATA
41-
### COMBOBOXDATA
42-
- **ISEDITABLE**: Defines whether the combobox is editable.
46+
47+
- **ISEDITABLE**: Defines whether the combobox is editable.
4348
0 = non-editable (only dropdown selection allowed), 1 = editable (user can type in the field).
4449
- **MAXCHARS**: The maximum number of characters allowed in the edit field when the combobox is editable (e.g., 16).
4550
- **MAXDISPLAY**: The maximum number of items to display at once in the dropdown list without scrolling (e.g., 2).
@@ -49,53 +54,62 @@ The following section list the default values and available textures for each ta
4954
0 = allows all characters, 1 = allows only letters and numbers.
5055

5156
### ENABLEDDRAWDATA, DISABLEDDRAWDATA, HILITEDRAWDATA
57+
5258
- NoImage / NoImage / ListBoxHiliteSelectedItemLeftEnd
5359
- NoImage / NoImage / ListBoxHiliteSelectedItemRightEnd
5460
- NoImage / NoImage / ListBoxHiliteSelectedItemRepeatingCenter
5561
- NoImage / NoImage / ListBoxHiliteSelectedItemSmallRepeatingCenter
5662

5763
### COMBOBOXDROPDOWNBUTTONENABLEDDRAWDATA, COMBOBOXDROPDOWNBUTTONDISABLEDDRAWDATA, COMBOBOXDROPDOWNBUTTONHILITEDRAWDATA
64+
5865
- VSliderDownButtonEnabled / VSliderDownButtonDisabled / VSliderDownButtonHilite
5966
- VSliderDownButtonHiliteSelected / NoImage / VSliderDownButtonHiliteSelected
6067

6168
### COMBOBOXEDITBOXENABLEDDRAWDATA, COMBOBOXEDITBOXDISABLEDDRAWDATA, COMBOBOXEDITBOXHILITEDRAWDATA
69+
6270
- TextEntryEnabledLeftEnd / TextEntryDisabledLeftEnd / TextEntryHiliteLeftEnd
6371
- TextEntryEnabledRightEnd / TextEntryDisabledRightEnd / TextEntryHiliteRightEnd
6472
- TextEntryEnabledRepeatingCenter / TextEntryDisabledRepeatingCenter / TextEntryHiliteRepeatingCenter
6573
- TextEntryEnabledSmallRepeatingCenter / TextEntryDisabledSmallRepeatingCenter / TextEntryHiliteSmallRepeatingCenter
6674

6775
### COMBOBOXLISTBOXENABLEDDRAWDATA, COMBOBOXLISTBOXDISABLEDDRAWDATA, COMBOBOXLISTBOXHILITEDRAWDATA
76+
6877
- BlackSquare
6978
- ListBoxHiliteItemLeftEnd / NoImage / ListBoxHiliteSelectedItemLeftEnd
7079
- ListBoxHiliteItemRightEnd / NoImage / ListBoxHiliteSelectedItemRightEnd
7180
- ListBoxHiliteItemRepeatingCenter / NoImage / ListBoxHiliteSelectedItemRepeatingCenter
7281
- ListBoxHiliteItemSmallRepeatingCenter / NoImage / ListBoxHiliteSelectedItemSmallRepeatingCenter
7382

7483
### LISTBOXENABLEDDOWNBUTTONDRAWDATA, LISTBOXDISABLEDDOWNBUTTONDRAWDATA, LISTBOXHILITEDOWNBUTTONDRAWDATA
84+
7585
- VSliderDownButtonEnabled / VSliderDownButtonDisabled / VSliderDownButtonHilite
7686
- VSliderDownButtonHiliteSelected / NoImage / VSliderDownButtonHiliteSelected
7787

7888
### LISTBOXENABLEDSLIDERDRAWDATA, LISTBOXDISABLEDSLIDERDRAWDATA, LISTBOXHILITESLIDERDRAWDATA
89+
7990
- NoImage
8091

8192
### SLIDERTHUMBENABLEDDRAWDATA, SLIDERTHUMBDISABLEDDRAWDATA, SLIDERTHUMBHILITEDRAWDATA
93+
8294
- ScrollBarThumbEnabled / ScrollBarThumbDisabled / ScrollBarThumbHilite
8395
- ScrollBarThumbHiliteSelected / NoImage / ScrollBarThumbHiliteSelected
8496

8597
</details>
8698

8799
## Known Issues
88100

89-
1. **Item text color cannot be changed:**
101+
1. **Item text color cannot be changed:**
90102
It is currently not possible to change the color of the text (for list items). By default, the text color is white.
91103

92-
2. **Clicking items outside container boundaries:**
104+
2. **Clicking items outside container boundaries:**
93105
If the ComboBox is inside a window container and the list extends beyond the window's boundaries,
94106
it is not possible to click on items that are outside of the visible area of the container.
95107
This may cause issues when interacting with the ComboBox.
96108

97109
## Example
110+
98111
Here example from IP address ComboBox in the `OptionsMenu.wnd` file:
112+
99113
<details>
100114
<summary>Click to expand</summary>
101115

@@ -346,7 +360,8 @@ END
346360
</details>
347361

348362
## See also
349-
* [Default control](user.md)
350-
* [Texturing](../texturing.md)
363+
364+
- [Default control](user.md)
365+
- [Texturing](../texturing.md)
351366

352367
[Category:](../Categories.md) [Controls](../Controls.md)

Asset/GUI/WND_Controls/entryfiled.md

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,36 +19,36 @@ The following section list the default values and available textures for each ta
1919

2020
### TEXTENTRYDATA
2121

22-
* `MAXLEN`: An integer that defines the maximum length of the input text. (e.g. `64`)
23-
* `SECRETTEXT`: A Boolean value that defines if input text should be hidden.
22+
- `MAXLEN`: An integer that defines the maximum length of the input text. (e.g. `64`)
23+
- `SECRETTEXT`: A Boolean value that defines if input text should be hidden.
2424
(`0` = normal, `1` = hidden, displayed as asterisks).
25-
* `NUMERICALONLY`: A Boolean value that defines if the entry field allows only numbers.
25+
- `NUMERICALONLY`: A Boolean value that defines if the entry field allows only numbers.
2626
(`0` = allows all characters, `1` = only numbers).
27-
* `ALPHANUMERICALONLY`: A Boolean value that defines if the entry field allows only letters and numbers.
27+
- `ALPHANUMERICALONLY`: A Boolean value that defines if the entry field allows only letters and numbers.
2828
(`0` = allows all characters, `1` = only letters and numbers).
29-
* `ASCIIONLY`: A Boolean value that defines if the entry field allows only ASCII characters.
29+
- `ASCIIONLY`: A Boolean value that defines if the entry field allows only ASCII characters.
3030
(`0` = allows non-ASCII, `1` = only ASCII).
3131

3232
### ENABLEDDRAWDATA
3333

34-
* `TextEntryEnabledLeftEnd`
35-
* `TextEntryEnabledRightEnd`
36-
* `TextEntryEnabledRepeatingCenter`
37-
* `TextEntryEnabledSmallRepeatingCenter`
34+
- `TextEntryEnabledLeftEnd`
35+
- `TextEntryEnabledRightEnd`
36+
- `TextEntryEnabledRepeatingCenter`
37+
- `TextEntryEnabledSmallRepeatingCenter`
3838

3939
### DISABLEDDRAWDATA
4040

41-
* `TextEntryDisabledLeftEnd`
42-
* `TextEntryDisabledRightEnd`
43-
* `TextEntryDisabledRepeatingCenter`
44-
* `TextEntryDisabledSmallRepeatingCenter`
41+
- `TextEntryDisabledLeftEnd`
42+
- `TextEntryDisabledRightEnd`
43+
- `TextEntryDisabledRepeatingCenter`
44+
- `TextEntryDisabledSmallRepeatingCenter`
4545

4646
### HILITEDRAWDATA
4747

48-
* `TextEntryHiliteLeftEnd`
49-
* `TextEntryHiliteRightEnd`
50-
* `TextEntryHiliteRepeatingCenter`
51-
* `TextEntryHiliteSmallRepeatingCenter`
48+
- `TextEntryHiliteLeftEnd`
49+
- `TextEntryHiliteRightEnd`
50+
- `TextEntryHiliteRepeatingCenter`
51+
- `TextEntryHiliteSmallRepeatingCenter`
5252

5353
</details>
5454

@@ -114,11 +114,12 @@ WINDOW
114114
ASCIIONLY: 1;
115115
END
116116
```
117+
117118
</details>
118119

119120
## See also
120121

121-
* [Default control](user.md)
122-
* [Texturing](../texturing.md)
122+
- [Default control](user.md)
123+
- [Texturing](../texturing.md)
123124

124125
[Category:](../Categories.md) [Controls](../Controls.md)

Asset/GUI/WND_Controls/progressbar.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ The following section list the default values and available textures for each ta
1414

1515
### ENABLEDDRAWDATA
1616

17-
* `LoadingBar_L`
18-
* `LoadingBar_R`
19-
* `LoadingBar_C`
20-
* `LoadingBar_DePowered`
21-
* `LoadingBar_Progress`
22-
* `NoImage`
17+
- `LoadingBar_L`
18+
- `LoadingBar_R`
19+
- `LoadingBar_C`
20+
- `LoadingBar_DePowered`
21+
- `LoadingBar_Progress`
22+
- `NoImage`
2323

2424
### DISABLEDDRAWDATA, HILITEDRAWDATA
2525

26-
* `NoImage` (Usually `NoImage` is used for all parts)
26+
- `NoImage` (Usually `NoImage` is used for all parts)
2727

2828
## Example
2929

@@ -85,8 +85,7 @@ END
8585

8686
## See also
8787

88-
* [Default control](user.md)
89-
* [Texturing](../texturing.md)
88+
- [Default control](user.md)
89+
- [Texturing](../texturing.md)
9090

9191
[Category:](../Categories.md) [Controls](../Controls.md)
92-

Asset/GUI/WND_Controls/pushbutton.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,30 @@ You can define the position, size, and appearance of the button,
55
as well as how it behaves in different states (enabled, disabled, highlighted).
66

77
## Available Tags
8+
89
The PushButton control does not include any unique tags beyond the [default control tags](/user.md).
910
It uses the same general set of tags applicable to all controls.
1011

1112
## Default values and usage
13+
1214
The following section list the default values and available textures for each tag
1315
<details>
1416
<summary>Click to expand</summary>
1517

1618
### ENABLEDDRAWDATA
19+
1720
- Buttons-Left
1821
- Buttons-Middle
1922
- Buttons-Right
2023

2124
### DISABLEDDRAWDATA
25+
2226
- Buttons-Disabled-Left
2327
- Buttons-Disabled-Middle
2428
- Buttons-Disabled-Right
2529

2630
### HILITEDRAWDATA
31+
2732
- Buttons-HiLite-Left
2833
- Buttons-HiLite-Middle
2934
- Buttons-HiLite-Right
@@ -34,6 +39,7 @@ The following section list the default values and available textures for each ta
3439
</details>
3540

3641
## Example
42+
3743
Here example from Accept button in `OptionsMenu.wnd` file:
3844
<details>
3945
<summary>Click to expand</summary>
@@ -88,10 +94,12 @@ WINDOW
8894
IMAGE: NoImage, COLOR: 255 255 255 0, BORDERCOLOR: 255 255 255 0;
8995
END
9096
```
97+
9198
</details>
9299

93100
## See also
94-
* [Default control](user.md)
95-
* [Texturing](../texturing.md)
101+
102+
- [Default control](user.md)
103+
- [Texturing](../texturing.md)
96104

97105
[Category:](../Categories.md) [Controls](../Controls.md)

0 commit comments

Comments
 (0)