Skip to content

Commit

Permalink
Change version text to 'C Port - 0.0.1'
Browse files Browse the repository at this point in the history
The game editor still doesn't work, but everything else
works fine, with only some minor things to add or fix.

The most important differences from the Java version 0.6.3 are:
- a fixed amount of keys (8);
- the scroll and mouse buttons input;
- a new version of LuaG Library (2.0)
  • Loading branch information
Vulcalien committed Apr 8, 2022
1 parent 6a2b4b7 commit cfdd3f6
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
LuaG is a virtual console that runs lua games.

# C port
This project is a C port with improvements to the <!-- REMEMBER TO CHANGE THE LINK -->[Java version](https://github.com/Vulcalien/LuaG-Console).\
This project is a C port with improvements to the [Java version](https://github.com/Vulcalien/LuaG-Console-java).\
Cartridges made for the Java version of LuaG Console are supposed to work in the C port without any changes.

# Built With
Expand Down
2 changes: 1 addition & 1 deletion include/luag-console.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

#include <vulcalien/vulcalien.h>

#define LUAG_VERSION "C Port - 0.0.1-WIP"
#define LUAG_VERSION "C Port - 0.0.1"
#define COPYRIGHT_NOTICE "Copyright 2022 Vulcalien"

#define USERDATA_FOLDER "console-userdata"
Expand Down
10 changes: 5 additions & 5 deletions luag-lib/v1/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

## version 1.4
1. `spr` now has a 10th parameter: `color_mod` of type `int`.\
It is optional, and its default value is `0xffffff` (white).
2. `settransparent` can now be called without an argument.
This will remove the transparent color (aka color key).
It is optional, and its default value is `0xffffff` (white).
2. `settransparent` can now be called without an argument.\
This will remove the transparent color (aka color key).
3. mouse functions: `mouse` (or `mouse_down`), `mouse_pressed`,
`mouse_released`, `mouse_pos`, `scroll`.
4. `set_tile` returns true if the new tile is different from the old one,\
false otherwise
4. `set_tile` returns true if the new tile is different from the old one,
false otherwise.
2 changes: 1 addition & 1 deletion src/display.c
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ int display_init(void) {
}

window = SDL_CreateWindow(
"LuaG Console - C",
"LuaG Console",
SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED,
DISPLAY_WIDTH * 4, DISPLAY_HEIGHT * 4,
SDL_WINDOW_RESIZABLE | SDL_WINDOW_SHOWN
Expand Down

0 comments on commit cfdd3f6

Please sign in to comment.