@wwawing/engine 3.10.0-alpha.2 → 3.10.0-alpha.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/wwa.js +1 -1
- package/lib/wwa_main.d.ts +2 -2
- package/lib/wwa_message.d.ts +2 -2
- package/package.json +9 -9
package/lib/wwa_main.d.ts
CHANGED
|
@@ -53,7 +53,7 @@ export declare class WWA {
|
|
|
53
53
|
private _prevFrameEventExected;
|
|
54
54
|
private _reservedMoveMacroTurn;
|
|
55
55
|
private _lastPage;
|
|
56
|
-
private
|
|
56
|
+
private _reservedPartsAppearances;
|
|
57
57
|
private _frameCoord;
|
|
58
58
|
private _battleEffectCoord;
|
|
59
59
|
private sounds;
|
|
@@ -163,7 +163,7 @@ export declare class WWA {
|
|
|
163
163
|
updateScore(scoreOption?: ScoreOptions): void;
|
|
164
164
|
private _execChoiceWindowObjectSellEvent;
|
|
165
165
|
private _execChoiceWindowRunningEvent;
|
|
166
|
-
generatePageAndReserveExecution(message: string, showChoice: boolean, isSystemMessage: boolean, partsID?: number, partsType?: PartsType, partsPosition?: Coord, scoreOption?: ScoreOptions | undefined):
|
|
166
|
+
generatePageAndReserveExecution(message: string, showChoice: boolean, isSystemMessage: boolean, partsID?: number, partsType?: PartsType, partsPosition?: Coord, scoreOption?: ScoreOptions | undefined): void;
|
|
167
167
|
generatePagesByRawMessage(message: string, partsId: number, partsType: PartsType, partsPosition: Coord, isSystemMessage: boolean, showChoice: boolean, scoreOption: ScoreOptions): Page[];
|
|
168
168
|
private parseMessageLines;
|
|
169
169
|
private createNewNode;
|
package/lib/wwa_message.d.ts
CHANGED
|
@@ -29,13 +29,13 @@ export declare class Junction extends Node {
|
|
|
29
29
|
constructor(branches?: Branch[]);
|
|
30
30
|
appendBranch(branch: Branch): void;
|
|
31
31
|
getLastUnconnectedBranch(): Branch | undefined;
|
|
32
|
-
evaluateAndGetNextNode(
|
|
32
|
+
evaluateAndGetNextNode(generateTokenValues: () => TokenValues): Node | undefined;
|
|
33
33
|
hasElseBranch(): boolean;
|
|
34
34
|
}
|
|
35
35
|
export declare class ParsedMessage extends Node {
|
|
36
36
|
macro?: Macro[];
|
|
37
37
|
next?: Node;
|
|
38
|
-
private
|
|
38
|
+
private messageSegments;
|
|
39
39
|
constructor(textOrMessageSegments: string | MessageSegments, macro?: Macro[], next?: Node);
|
|
40
40
|
isEmpty(): boolean;
|
|
41
41
|
generatePrintableMessage(): string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wwawing/engine",
|
|
3
|
-
"version": "3.10.0-alpha.
|
|
3
|
+
"version": "3.10.0-alpha.5",
|
|
4
4
|
"description": "World Wide Adventure: an RPG Engine.",
|
|
5
5
|
"main": "./lib/wwa.js",
|
|
6
6
|
"files": [
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
"@types/pug": "^2.0.6",
|
|
46
46
|
"@types/terser-webpack-plugin": "^5.2.0",
|
|
47
47
|
"@types/webpack": "^5.28.0",
|
|
48
|
-
"@wwawing/assets": "^3.10.0-alpha.
|
|
49
|
-
"@wwawing/common-interface": "^3.10.0-alpha.
|
|
50
|
-
"@wwawing/debug-server": "^3.10.0-alpha.
|
|
51
|
-
"@wwawing/event-emitter": "^3.10.0-alpha.
|
|
52
|
-
"@wwawing/loader": "^3.10.0-alpha.
|
|
53
|
-
"@wwawing/page-generator": "^3.10.0-alpha.
|
|
54
|
-
"@wwawing/styles": "^3.10.0-alpha.
|
|
48
|
+
"@wwawing/assets": "^3.10.0-alpha.5",
|
|
49
|
+
"@wwawing/common-interface": "^3.10.0-alpha.5",
|
|
50
|
+
"@wwawing/debug-server": "^3.10.0-alpha.5",
|
|
51
|
+
"@wwawing/event-emitter": "^3.10.0-alpha.5",
|
|
52
|
+
"@wwawing/loader": "^3.10.0-alpha.5",
|
|
53
|
+
"@wwawing/page-generator": "^3.10.0-alpha.5",
|
|
54
|
+
"@wwawing/styles": "^3.10.0-alpha.5",
|
|
55
55
|
"crypto-js": "^4.1.1",
|
|
56
56
|
"npm-run-all": "^4.1.5",
|
|
57
57
|
"pug": "^3.0.2",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"node": ">=16",
|
|
72
72
|
"npm": ">=8"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "315bc96ff213ae912c65cf70604d5af1f1034bbb"
|
|
75
75
|
}
|