@wwawing/engine 3.6.0-alpha.4 → 3.6.2

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_data.d.ts CHANGED
@@ -338,8 +338,8 @@ export declare enum SystemSound {
338
338
  BGM_LB = 70,
339
339
  NO_SOUND = 99
340
340
  }
341
- export declare var speedList: number[];
342
- export declare var speedNameList: string[];
341
+ export declare const speedList: number[];
342
+ export declare const speedNameList: string[];
343
343
  export declare const StatusKind: readonly ["energy", "strength", "defence", "gold"];
344
344
  export declare type StatusKind = typeof StatusKind[number];
345
345
  export declare class WWAConsts {
package/lib/wwa_main.d.ts CHANGED
@@ -72,6 +72,7 @@ export declare class WWA {
72
72
  private _mapIDTable;
73
73
  private _mapObjectIDTable;
74
74
  wwaCustomEventEmitter: IEventEmitter;
75
+ private _scoreRates?;
75
76
  debug: boolean;
76
77
  private hoge;
77
78
  private _loadHandler;
@@ -102,7 +103,7 @@ export declare class WWA {
102
103
  onpasssuspendsavecalled(): void;
103
104
  onitemmenucalled(): void;
104
105
  onchangespeed(type: SpeedChange): void;
105
- isbattleSpeeIndexForQuickBattle(battleSpeedIndex: number): boolean;
106
+ isBattleSpeedIndexForQuickBattle(battleSpeedIndex: number): boolean;
106
107
  private _checkTurnKeyPressed;
107
108
  private _main;
108
109
  vibration(isStrong: boolean): void;
@@ -146,6 +147,7 @@ export declare class WWA {
146
147
  private _execObjectLocalGateEvent;
147
148
  private _execObjectUrlGateEvent;
148
149
  private _execObjectScoreEvent;
150
+ updateScore(): void;
149
151
  private _execChoiceWindowRunningEvent;
150
152
  setMessageQueue(message: string, showChoice: boolean, isSystemMessage: boolean, partsID?: number, partsType?: PartsType, partsPosition?: Coord, messageDisplayed?: boolean): boolean;
151
153
  getMessageQueueByRawMessage(message: string, partsID: number, partsType: PartsType, partsPosition: Coord, isSystemMessage?: boolean): ParsedMessage[];
@@ -165,5 +165,6 @@ export declare class Player extends PartsObject {
165
165
  getSpeedIndex(): number;
166
166
  speedUp(): number;
167
167
  speedDown(): number;
168
+ setSpeedIndex(speedIndex: number): number;
168
169
  constructor(wwa: WWA, pos: Position, camera: Camera, status: Status, em: number, moves: number, gameSpeedIndex: number);
169
170
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wwawing/engine",
3
- "version": "3.6.0-alpha.4",
3
+ "version": "3.6.2",
4
4
  "description": "World Wide Adventure: an RPG Engine.",
5
5
  "main": "./lib/wwa.js",
6
6
  "files": [
@@ -45,24 +45,24 @@
45
45
  "@types/pug": "^2.0.4",
46
46
  "@types/terser-webpack-plugin": "^5.0.3",
47
47
  "@types/webpack": "^5.28.0",
48
- "@wwawing/assets": "^3.6.0-alpha.4",
49
- "@wwawing/common-interface": "^3.6.0-alpha.4",
50
- "@wwawing/debug-server": "^3.6.0-alpha.4",
51
- "@wwawing/event-emitter": "^3.6.0-alpha.4",
52
- "@wwawing/loader": "^3.6.0-alpha.4",
53
- "@wwawing/page-generator": "^3.6.0-alpha.4",
54
- "@wwawing/styles": "^3.6.0-alpha.4",
48
+ "@wwawing/assets": "^3.6.2",
49
+ "@wwawing/common-interface": "^3.6.2",
50
+ "@wwawing/debug-server": "^3.6.2",
51
+ "@wwawing/event-emitter": "^3.6.2",
52
+ "@wwawing/loader": "^3.6.2",
53
+ "@wwawing/page-generator": "^3.6.2",
54
+ "@wwawing/styles": "^3.6.2",
55
55
  "crypto-js": "4.0.0",
56
56
  "npm-run-all": "^4.1.5",
57
57
  "pug": "^3.0.2",
58
58
  "shelljs": "^0.8.4",
59
59
  "shx": "^0.3.3",
60
- "terser-webpack-plugin": "^5.1.1",
60
+ "terser-webpack-plugin": "^5.3.0",
61
61
  "ts-loader": "^4.3.0",
62
- "ts-node": "^9.1.1",
63
- "typescript": "^4.2.4",
64
- "webpack": "^5.36.2",
65
- "webpack-cli": "^4.6.0"
62
+ "ts-node": "^10.4.0",
63
+ "typescript": "^4.5.4",
64
+ "webpack": "^5.65.0",
65
+ "webpack-cli": "^4.9.1"
66
66
  },
67
67
  "publishConfig": {
68
68
  "access": "public"
@@ -71,5 +71,5 @@
71
71
  "node": ">=14",
72
72
  "npm": ">=6"
73
73
  },
74
- "gitHead": "2b0de15c24d353c71ef97d133570311d37e7d0d1"
74
+ "gitHead": "0b9f1acd00d0ec0dc7b681c35870f28ef93d72a7"
75
75
  }