Skip to content

Commit

Permalink
Merge pull request #213 from zerasul/develop
Browse files Browse the repository at this point in the history
* Adding configuration for use GDK, GENDEV or MARSDEV alternate environment variables
* Adding configuration for use alternative makefile
* Added import TMX file command
* Added import Json Tmx File command
* updated some outdated dependencies and improved code
  • Loading branch information
zerasul authored Oct 11, 2020
2 parents 69c032f + 37260ef commit eec8d69
Show file tree
Hide file tree
Showing 16 changed files with 2,419 additions and 862 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

This is the change Log of Genesis Code. For more information you can see the [Documentation page](https://zerasul.github.io/genesis-code-docs/).

## 1.3.0

* [Adding configuration for use GDK, GENDEV or MARSDEV alternate environment variables](https://github.com/zerasul/genesis-code/issues/136)
* [Adding configuration for use alternative makefile](https://github.com/zerasul/genesis-code/issues/137)
* [Added import TMX file command](https://github.com/zerasul/genesis-code/issues/132)
* [Added import Json Tmx File command](https://github.com/zerasul/genesis-code/issues/132)
* updated some outdated dependencies and improved code

## 1.2.2

* [Updated for use with SGDK 1.51](https://github.com/zerasul/genesis-code/issues/128)
Expand Down
23 changes: 22 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,16 @@ With this extension, you can use easily a few commands for help you create aweso
* SGDK Resource Files Code Completion.
* Added remote debugging configuration for use with GDB.
* Compatible with [MarsDev](https://github.com/andwn/marsdev) Toolchain.
* Import TMX file command: Uses a [TMX file format](https://doc.mapeditor.org/en/stable/reference/tmx-map-format/) for generate a C header file for your projects.
* Import Json TMX file command: Uses a [Tmx Json File Format](https://doc.mapeditor.org/en/stable/reference/json-map-format/) for generate a C Header file for Your project).
* Added configuration for use alternative MakeFile.
* Added configuration for use alernative environment variables for GDK, GENDEV or MARSDEV.

![vscodegif](vscodegif.gif)

## Requirements

To use this extension you need to install SGDK(windows) or GENDEV(linux) projects on your system and configure the GDK or GENDEV enviroment variables.
To use this extension you need to install SGDK(windows)/GENDEV(linux) or MARSDEV projects on your system and configure the GDK or GENDEV enviroment variables.

## Extension Settings

Expand All @@ -44,14 +48,31 @@ You can select the toolchain type for use with genesis code:

![genesiscodeconfigtoolchain](genesiscodeconfigtoolchain.png)

You can set an alternative MakeFile on the configuration panel. When the compile or clean command is called the alternative Makefile will be used instead the default makefile.

![genesiscodemakefile](makefile.png)

Also, you can set an alternative value for the environment variables of GDK, GENDEV or MARSDEV.

![envvariables](envvariables.png)

## Known Issues

* In MacOs the _compile & Run project_ command, the emulator is not running in background. We are working in this issue.
* In linux systems, you can't compile with debug options using SGDK/GENDEV toolchain.
* In Linux Systems, when you create a new project there is no launch.json file for SGDK/GENDEV toolchain.
* On MacOs Systems, for the SGDK/GENDEV ToolchainType you can't use custom Makefile or custom Enviroment variables; this is due to the use of Wine.

## Release Notes

### 1.3.0

* Added import TMX file command; it generates a C Header File with the information of the TMX file. For more info about the TMX format, please see [Tiled Documentation](https://doc.mapeditor.org/en/stable/reference/tmx-map-format/).
* Added import Json Tmx File command; it generates a C Header File with the information of the json TMX file. For more info about the json Tmx Format, please see [Tiled Documentation](https://doc.mapeditor.org/en/stable/reference/json-map-format/).
* Added custom makefile configuration; now you can set an alternartive for the default makefile.
* Added configuration for GDK, GENDEV or MARSDEV custom variables.
* Updated some dependencies and improved code.

### 1.2.2

* Updated for use with SGDK 1.51; added new features for SGDK Resource Files autocompletion (for use with the last version of rescomp tool).
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ steps:

- task: NodeTool@0
inputs:
versionSpec: '8.x'
versionSpec: '10.x'
displayName: 'Install Node.js'

- bash: |
Expand Down
Binary file added envvariables.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added makefile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit eec8d69

Please sign in to comment.