Skip to content

Commit

Permalink
1.3.0 ウィンドウ退避のインターフェースを公開
Browse files Browse the repository at this point in the history
  • Loading branch information
elleonard committed Oct 6, 2023
1 parent 21dd755 commit f0ee772
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/codes/TextLog/DarkPlasma_TextLog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -561,15 +561,18 @@ function Window_Message_TextLogMixIn(windowClass: Window_Message) {

Window_Message_TextLogMixIn(Window_Message.prototype);

type _EvacuatedMessageAndSubWindows = typeof EvacuatedMessageAndSubWindows;
type _Game_EventTextLog = typeof Game_EventTextLog;
type _Game_LogMessage = typeof Game_LogMessage;
type _Scene_TextLog = typeof Scene_TextLog;
declare global {
var EvacuatedMessageAndSubWindows: _EvacuatedMessageAndSubWindows;
var Game_EventTextLog: _Game_EventTextLog;
var Game_LogMessage: _Game_LogMessage;
var Scene_TextLog: _Scene_TextLog;
}

globalThis.EvacuatedMessageAndSubWindows = EvacuatedMessageAndSubWindows;
globalThis.Game_EventTextLog = Game_EventTextLog;
globalThis.Game_LogMessage = Game_LogMessage;
globalThis.Scene_TextLog = Scene_TextLog;
6 changes: 6 additions & 0 deletions src/codes/TextLog/TextLog.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
/// <reference path="../../typings/rmmz.d.ts" />

declare interface EvacuatedMessageAndSubWindows {
_messageWindow: Window_Message;
_goldWindow: Window_Gold;
_nameBoxWindow: Window_NameBox;
_choiceListWindow: Window_ChoiceList;
_numberInputWindow: Window_NumberInput;

readonly messageWindow: Window_Message;
readonly goldWindow: Window_Gold;
readonly nameBoxWindow: Window_NameBox;
Expand Down
3 changes: 3 additions & 0 deletions src/codes/TextLog/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ DarkPlasma_TextLog:
year: 2022
license: MIT
histories:
- date: 2023/10/06
version: 1.3.0
description: 'ウィンドウ退避のインターフェースを公開'
- date: 2023/09/21
version: 1.2.1
description: 'リファクタ'
Expand Down

0 comments on commit f0ee772

Please sign in to comment.