Skip to content

Commit

Permalink
1.16
Browse files Browse the repository at this point in the history
Improvements in:
Syntax highlighter for SB code.
Markdown interpreter html generator.

Added documentation about SA Mobile, for the moment with two pages.
One about Widgets and another about the version of the game.

And some corrections to the Russian language, one thanks to [VitalRus95](https://github.com/VitalRus95) #2
  • Loading branch information
MatiDragon-YT committed Aug 18, 2022
1 parent d30c65e commit 4679d7a
Show file tree
Hide file tree
Showing 183 changed files with 793 additions and 284 deletions.
2 changes: 2 additions & 0 deletions en.proyect.hhp
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ en\scm-documentation\sa\weapons.html
en\scm-documentation\sa\weather.html
en\scm-documentation\sa\zones.html
en\scm-documentation\sa\scripts.html
en\scm-documentation\sa_mobile\version.html
en\scm-documentation\sa_mobile\widget.html
en\scm-documentation\vc\buttons.html
en\scm-documentation\vc\gangs.html
en\scm-documentation\vc\garages.html
Expand Down
12 changes: 6 additions & 6 deletions en/articles/mcp1.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<body>

:::center h3
Grand Theft Auto\
[orange][San Andreas]\
\
[red][Mission Coding with Sanny Builder Tutorial]\
[gray][Part I]\
[gray][Getting started]\
Grand Theft Auto
[orange][San Andreas]
\n
[red][Mission Coding with Sanny Builder Tutorial]
[gray][Part I]
[gray][Getting started]
\
\
:::
Expand Down
12 changes: 6 additions & 6 deletions en/articles/mcp2.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
<body>

:::center h3
Grand Theft Auto\
[orange][San Andreas]\
\
[red][Mission Coding with Sanny Builder Tutorial]\
[gray][Part II]\
[gray][Getting started]\
Grand Theft Auto
[orange][San Andreas]
\n
[red][Mission Coding with Sanny Builder Tutorial]
[gray][Part II]
[gray][Getting started]
\
\
:::
Expand Down
2 changes: 1 addition & 1 deletion en/cleo-3/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@

As it's not so easy to write an alternative to those opcodes, I decided to go another way. I wrote 4 functions that work like the 03C3, 03C4, 014F, 0151 opcodes, only taking a local variable. It allows to use status_text and timers in CLEO scripts and CLEO missions.

[red] [Warning!] For the functions to work correctly you need CLEO 3 v3.0.950 or higher.
[red][Warning!] For the functions to work correctly you need CLEO 3 v3.0.950 or higher.

The functions work only in GTA: SA v1.0

Expand Down
2 changes: 1 addition & 1 deletion en/coding/data-types.html
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
If the literal contains `"` you must write `\` before it.

```sb3
0662: write_debug_message "Hello, \"world\"! \n 'Here we go!'"
0662: write_debug_message "Hello, \\\"world\\\"! \\n 'Here we go!'"
```

Blank strings are also allowed: `" "`.
Expand Down
2 changes: 1 addition & 1 deletion en/coding/hex..end.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@

```sb3
hex
"\0\b\t\n\r\xDD"
"\\0\\b\\t\\n\\r\\xDD"
end
```

Expand Down
2 changes: 1 addition & 1 deletion en/edit-modes/enums.txt.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</head>
<body>

An **enumerated type** or **enum** is a finite set of constants (called _enum fields_) under a common prefix (_enum name_).
An **enumerated type** or **enum** is a finite set of constants (called *enum fields*) under a common prefix (*enum name*).

Enumerated types have a few advantages over ordinary constants. They don't pollute the global namespace and are the first-class citizens in the type system. Parameters with an enumerated type are limited on allowed values range which in turn helps to avoid errors caused by an invalid id usage.

Expand Down
8 changes: 4 additions & 4 deletions en/scm-documentation/ascii-character-codes.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@

|Character|id|
|-|
|Tabulador Horizontal (HT)|9|
|Salto de Línea (LF)|10|
|Retorno de Carro (CR)|13|
|Espacio|32|
|Horizontal Tab (HT)|9|
|Jump Line (LF)|10|
|Carrie Return (CR)|13|
|Space|32|
|!|33|
|"|34|
|#|35|
Expand Down
4 changes: 2 additions & 2 deletions en/scm-documentation/gta-limits.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
|**number of missions**|120|120|200|\s|\s|\s|
|**mission cleanup list**|50|50|75|\s|\s|\s|
|**model names (2nd segment)**|200|220|395|\s|\s|\s|
|**running scripts**|128|128|96|96|\s|\s|
|**running scripts**|128|128|96|96|128|\s|
|**local variables**|16+2 [timers](../coding/variables.md#timer-variables)|16+2 [timers](../coding/variables.md#timer-variables)|32+2 [timers](../coding/variables.md#timer-variables)\n1024 total in missions|40+2 [timers](../coding/variables.md#timer-variables)|96+2 [timers](../coding/variables.md#timer-variables)|\s|
|**gosub nesting levels**|4|6|8|8|\s|\s|
|**text draw**|2|48|96|96|\s|\s|
Expand All @@ -25,7 +25,7 @@
|**car generators**|160|185|500|\s|\s|\s|
|**radar blips**|32|75|175|250|\s|\s|
|**pickups**|336|336|620|620|\s|\s|
|**last opcode**|0481|05a8|0a4e|0a90|\s|\s|
|**last opcode**|0481|05a8|0a4e|0a90|0678|\s|
|**spheres**|16|16|16|\s|\s|\s|
|**car saving garage types**|16..18|16..18, 24..32|16..18, 24..32, 39..45|16..18, 24..32, 39..45|\s|\s|
|**garages**|32|32|50|\s|\s|\s|
Expand Down
40 changes: 40 additions & 0 deletions en/scm-documentation/sa/vehicle-mod.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<title>Vehicle mod</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="../../../style/style.css">
</head>
<body>
Returns a model id available for the vehicle's mod slot, or -1 otherwise
```sb3
06E5: $return = get_car $car possible_to_built_in_component_pool_index $area itemID
```

|Description|Area|
|-|
|Upgrade bonnet|0|
|Upgrade bonnet left right|1|
|Upgrade spoiler|2|
|Upgrade wing|3|
|Upgrade front bullbar|4|
|Upgrade rear bullbar|5|
|Upgrade front lights|6|
|Upgrade roof|7|
|Upgrade nitro|8|
|Upgrade hydraulics|9|
|Upgrade stereo|10|
|Replacement wheel|12|
|Replacement exhaust|13|
|Replacement front bumper|14|
|Replacement rear bumper|15|
|Replacement misc|16|

```sb3
// Car colour and paintjobs
MOD_GARAGE_PAINTJOB = 100
MOD_GARAGE_CAR_COLOUR = 101
```
<script src="../../../js/main.min.js"></script>
Loading

0 comments on commit 4679d7a

Please sign in to comment.