Skip to content

Commit 3cef0a1

Browse files
committed
Added autoclose setting
Updated changelog Updated to latest sprite editor
1 parent 86f5e0a commit 3cef0a1

File tree

6 files changed

+35
-5
lines changed

6 files changed

+35
-5
lines changed

CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
The following enhancements and changes have been made to Atari Dev Studio:
44

5+
## 0.1.7
6+
7+
* #6 [Done] - Added new drop-down selector in settings to choose what you want to display on the Status Bar (Full, Minimum, None) [thanks SmallRoomLabs]
8+
* #7 [Done] - Autoclose any existing Stella windows before opening a new one (new option in settings to override) [thanks SmallRoomLabs]
9+
* #8 [Fixed] - When a dasm compilation fails clean up files generated by compiler (.sym/.bin/.lst) [thanks SmallRoomLabs]
10+
* #9 [Fixed] - Fixed issue autosaving files before compile (async) [thanks SmallRoomLabs]
11+
* #11 [Done] - Updated label determination in dasm assembly syntax [thanks SmallRoomLabs]
12+
13+
Sprite Editor
14+
* Added ability to export all sprites in project to .png (2 bit 7800basic)
15+
* Added ability zoom editor with mousewheel
16+
* Added ability to set transparent background color in editor (not exported to .png) to help when designing sprites
17+
518
## 0.1.6
619

720
Sprite Editor

out/content/pages/spriteEditor/main.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

out/emulators/stellaEmulator.js

+6-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

out/emulators/stellaEmulator.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "atari-dev-studio",
33
"displayName": "Atari Dev Studio",
44
"description": "Homebrew game creation for the Atari 8-bit consoles",
5-
"version": "0.1.6",
5+
"version": "0.1.7",
66
"icon": "images/icon.png",
77
"preview": true,
88
"publisher": "chunkypixel",
@@ -257,6 +257,12 @@
257257
"description": "Specify (optional) command line arguments:",
258258
"scope": "resource"
259259
},
260+
"atari-dev-studio.emulator.stella.autoCloseExistingInstances": {
261+
"type": "boolean",
262+
"default": true,
263+
"description": "Automatically close any existing Stella instances before opening a new one",
264+
"scope": "resource"
265+
},
260266
"atari-dev-studio.emulator.a7800.path": {
261267
"type": "string",
262268
"default": "",

src/emulators/stellaEmulator.ts

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ import { EmulatorBase } from "./emulatorBase";
66

77
export class StellaEmulator extends EmulatorBase {
88

9+
// Features
10+
protected AutoCloseExistingInstances:boolean = true;
11+
912
constructor() {
1013
super("Stella","Stella",path.join(application.Path,"out","bin","emulators","stella"));
1114
}
@@ -29,6 +32,9 @@ export class StellaEmulator extends EmulatorBase {
2932
}
3033
}
3134

35+
// Other
36+
this.AutoCloseExistingInstances = this.Configuration!.get<boolean>(`emulator.${this.Id.toLowerCase()}.autoCloseExistingInstances`,true);
37+
3238
// Result
3339
return true;
3440
}
@@ -54,7 +60,7 @@ export class StellaEmulator extends EmulatorBase {
5460
]
5561

5662
// Kill any existing process
57-
await execute.KillProcessByNameAsync(this.Name);
63+
if (this.AutoCloseExistingInstances) await execute.KillProcessByNameAsync(this.Name);
5864

5965
// Process
6066
application.CompilerOutputChannel.appendLine(`Launching ${this.Name} emulator...`);

0 commit comments

Comments
 (0)