~ Moved code around in files. SM.Base: + PostProcessing-system + OnInitialization() for Scenes. + Shader-Extensions + Added option to not react while unfocused to the window. + Added Screenshots to the window. + Connected the log system to the SM.OGL-action system. ~ Replaced IShader with abstract MaterialShader. ~ When a log compression folder doesn't exist, it will create one. SM.OGL: + Added support for UniformArrays + Added ShaderPreProcessing + Added Shader Extensions. + Added Debug actions. + SM.OGL settings ~ Framebuffer Size is automaticly changed, when the window and scale is set. SM2D: + Added easy shader drawing.
29 lines
No EOL
1.1 KiB
C#
29 lines
No EOL
1.1 KiB
C#
namespace SM.Data.Fonts
|
|
{
|
|
/// <summary>
|
|
/// Contains default char sets.
|
|
/// </summary>
|
|
public class FontCharStorage
|
|
{
|
|
/// <summary>
|
|
/// Contains the english alphabet and the common special character.
|
|
/// </summary>
|
|
public static readonly char[] SimpleUTF8 =
|
|
{
|
|
'!', '"', '#', '$', '%', '&', '\'', '(', ')', '*', '+', ',', '-', '.', '/', '0', '1', '2', '3', '4', '5',
|
|
'6',
|
|
'7', '8', '9', ':', ';', '<', '=', '>', '?', '@', 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K',
|
|
'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', '[', '\\', ']', '^', '_', '`',
|
|
'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u',
|
|
'v', 'w', 'x', 'y', 'z', '{', '|', '}', '~'
|
|
};
|
|
|
|
/// <summary>
|
|
/// Contains only numbers.
|
|
/// </summary>
|
|
public static readonly char[] Numbers =
|
|
{
|
|
'0', '1', '2', '3', '4', '5', '6', '7', '8', '9'
|
|
};
|
|
}
|
|
} |