Engine
0.0.6
Game engine in lua
Loading...
Searching...
No Matches
color.lua
Go to the documentation of this file.
1
--! @defgroup
std
2
--! @{
3
--! @defgroup
color
4
--! @{
5
6
local
white
= 0xFFFFFFFF
7
local
lightgray
= 0xC8CCCCFF
8
local
gray
= 0x828282FF
9
local
darkgray
= 0x505050FF
10
local
yellow
= 0xFDF900FF
11
local
gold
= 0xFFCB00FF
12
local
orange
= 0xFFA100FF
13
local
pink
= 0xFF6DC2FF
14
local
red
= 0xE62937FF
15
local
maroon
= 0xBE2137FF
16
local
green
= 0x00E430FF
17
local
lime
= 0x009E2FFF
18
local
darkgreen
= 0x00752CFF
19
local
skyblue
= 0x66BFFFFF
20
local
blue
= 0x0079F1FF
21
local
darkblue
= 0x0052ACFF
22
local
purple
= 0xC87AFFFF
23
local
violet
= 0x873CBEFF
24
local
darkpurple
= 0x701F7EFF
25
local
beige
= 0xD3B083FF
26
local
brown
= 0x7F6A4FFF
27
local
darkbrown
= 0x4C3F2FFF
28
local
black
= 0x000000FF
29
local
blank
= 0x00000000
30
local
magenta
= 0xFF00FFFF
31
32
--! @}
33
--! @}
34
35
local function
install
(
std
)
36
std
=
std
or {}
37
std
.color =
std
.color or {}
38
std
.color.white =
white
39
std
.color.lightgray =
lightgray
40
std
.color.gray =
gray
41
std
.color.darkgray =
darkgray
42
std
.color.yellow =
yellow
43
std
.color.gold =
gold
44
std
.color.orange =
orange
45
std
.color.pink =
pink
46
std
.color.red =
red
47
std
.color.maroon =
maroon
48
std
.color.green =
green
49
std
.color.lime =
lime
50
std
.color.darkgreen =
darkgreen
51
std
.color.skyblue =
skyblue
52
std
.color.blue =
blue
53
std
.color.darkblue =
darkblue
54
std
.color.purple =
purple
55
std
.color.violet =
violet
56
std
.color.darkpurple =
darkpurple
57
std
.color.beige =
beige
58
std
.color.brown =
brown
59
std
.color.darkbrown =
darkbrown
60
std
.color.black =
black
61
std
.color.blank =
blank
62
std
.color.magenta =
magenta
63
return
std
.color
64
end
65
66
local P = {
67
install
=
install
68
}
69
70
return
P
install
local function install(std)
darkbrown
local darkbrown
Definition
color.lua:27
magenta
local magenta
Definition
color.lua:30
lightgray
local lightgray
Definition
color.lua:7
maroon
local maroon
Definition
color.lua:15
pink
local pink
Definition
color.lua:13
green
local green
Definition
color.lua:16
orange
local orange
Definition
color.lua:12
yellow
local yellow
Definition
color.lua:10
lime
local lime
Definition
color.lua:17
brown
local brown
Definition
color.lua:26
darkpurple
local darkpurple
Definition
color.lua:24
white
local white
Definition
color.lua:6
blue
local blue
Definition
color.lua:20
gray
local gray
Definition
color.lua:8
blank
local blank
Definition
color.lua:29
beige
local beige
Definition
color.lua:25
gold
local gold
Definition
color.lua:11
purple
local purple
Definition
color.lua:22
darkgreen
local darkgreen
Definition
color.lua:18
skyblue
local skyblue
Definition
color.lua:19
violet
local violet
Definition
color.lua:23
red
local red
Definition
color.lua:14
darkblue
local darkblue
Definition
color.lua:21
black
local black
Definition
color.lua:28
darkgray
local darkgray
Definition
color.lua:9
std
local std
Definition
main.lua:18
color
local function color(c)
src
lib
object
color.lua
Generated by
1.12.0