Skip to content

Commit

Permalink
Version 0.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
PoshoDev committed Sep 1, 2020
1 parent f90e877 commit bab8a97
Show file tree
Hide file tree
Showing 18 changed files with 44 additions and 17 deletions.
7 changes: 7 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

### [v0.2.1](https://github.com/PoshoDev/PoshoLib/releases/tag/v0.2.1)

- **Minor Changes**
- Added descriptions to some functions.



### [v0.2](https://github.com/PoshoDev/PoshoLib/releases/tag/v0.2)

* **Major Changes**
Expand Down
10 changes: 5 additions & 5 deletions PoshoLib/PoshoLib.yyp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion PoshoLib/scripts/Posho_Buttons/Posho_Buttons.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions PoshoLib/scripts/Posho_Colors/Posho_Colors.gml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// @desc More colors.
function Posho_Colors()
{
#macro cl_white $ffffff
Expand Down
2 changes: 1 addition & 1 deletion PoshoLib/scripts/Posho_Colors/Posho_Colors.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions PoshoLib/scripts/Posho_DS_Grids/Posho_DS_Grids.gml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/// @desc Same as "ds_grid_get()".
/// @param grid The DS Grid to check.
/// @param x_ The X value of the grid to check.
/// @param y_ The Y value of the grid to check.
/// @return The value found in the coordinates.
function dsg(grid, x_, y_)
{
return ds_grid_get(grid, x_, y_);
Expand Down
2 changes: 1 addition & 1 deletion PoshoLib/scripts/Posho_DS_Grids/Posho_DS_Grids.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion PoshoLib/scripts/Posho_DS_Lists/Posho_DS_Lists.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion PoshoLib/scripts/Posho_Dates/Posho_Dates.gml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/// @desc
/// @desc Turns a string into a day of the week index (must be lowercase).
/// @param str The string to convert.
/// @return [int] The day of the week's index number (0 is Sunday, 6 is Saturday).
function weekday_get_int(str)
{
switch(str)
Expand All @@ -13,6 +15,10 @@ function weekday_get_int(str)
}
}


/// @desc Turns a string into a month index (must be lowercase).
/// @param str The string to convert.
/// @return [int] The month's index number (0 is January, 11 is December).
function month_get_int(str)
{
switch(str)
Expand Down
2 changes: 1 addition & 1 deletion PoshoLib/scripts/Posho_Dates/Posho_Dates.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion PoshoLib/scripts/Posho_Raycast/Posho_Raycast.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions PoshoLib/scripts/Posho_Shapes/Posho_Shapes.gml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
/// @desc Regular rectangle function, but uses width/height instead of absolute positions and takes color.
/// @param x The rectangle's start X.
/// @param y The rectangle's start Y.
/// @param w The rectangle's width.
/// @param h The rectangle's height.
/// @param color The color for the rectangle.
/// @param outline Whether to draw only the perimeter or not.
function draw_rect_col(x, y, w, h, color, outline)
{
draw_rectangle_color(x, y, x+w, y+h, color, color, color, color, outline);
Expand Down
2 changes: 1 addition & 1 deletion PoshoLib/scripts/Posho_Shapes/Posho_Shapes.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion PoshoLib/scripts/Posho_Time/Posho_Time.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions PoshoLib/scripts/Posho_Timers/Posho_Timers.gml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ function timer_init()


/// @desc Starts a timer.
/// @param secs The time in seconds.
function timer_set(secs)
{
dsl_add(timer, seconds(secs));
Expand Down
2 changes: 1 addition & 1 deletion PoshoLib/scripts/Posho_Timers/Posho_Timers.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion PoshoLib/scripts/Posho_Windows/Posho_Windows.yy

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bab8a97

Please sign in to comment.