Skip to content
This repository has been archived by the owner on Sep 22, 2024. It is now read-only.

Commit

Permalink
0.5.0
Browse files Browse the repository at this point in the history
- Improved texture system
- Fixed block animation bug
- Added MSYS2 support to Makefile (`MSYS2=y`)
- Makefile now uses `COMPONENT=[...]`
- Fixed a Makefile bug where the Windows resource file was not being compiled in
- Basic 2D UI
  • Loading branch information
PQCraft committed Nov 18, 2022
1 parent 4e3c4f6 commit dda6a11
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
8 changes: 6 additions & 2 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
### NEED TO DO:
- Attempt to fix a small input bug
- When press key A, press key B, release key B, release key A, action B is fired
- Flesh out UI
- Text formatting (bold, italic, underline, and strikethrough)
- More UI elements (buttons, text boxes, etc)
- UI interaction (elem states, tooltips, etc)
- Add `fit_to_text` attrib
- Add `fit_width_to_text` and `fit_height_to_text` attrib
- Add items to hotbar
- Add physics in `src/physics/`
- Use ticks https://gafferongames.com/post/fix_your_timestep/ and add interpolation
- Add AABB collision in `collision.(c|h)`
Expand Down Expand Up @@ -43,8 +46,9 @@
### IN-PROGRESS:

### DONE:
- Basic 2D UI
- Improved texture system
- Fixed block animation bug
- Added MSYS2 support to Makefile (`MSYS2=y`)
- Makefile now uses `COMPONENT=[...]`
- Fixed a Makefile bug where the Windows resource file was not being compiled in
- Basic 2D UI
4 changes: 2 additions & 2 deletions src/main/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
#define MAIN_VERSION_H

#define VER_MAJOR 0
#define VER_MINOR 4
#define VER_PATCH 5
#define VER_MINOR 5
#define VER_PATCH 0

#define _STR(x) #x
#define STR(x) _STR(x)
Expand Down
1 change: 1 addition & 0 deletions src/renderer/ui.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <math.h>

#define idValid(x) isUIIdValid(elemdata, x)
#define elemValid(x) isUIElemValid(elemdata, x)
Expand Down

0 comments on commit dda6a11

Please sign in to comment.