Skip to content

Commit

Permalink
feat: Added the SpriteInfo type
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-coster committed Jul 13, 2023
1 parent 52e18ee commit d88b29f
Show file tree
Hide file tree
Showing 5 changed files with 475 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/parser/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from './jsdoc.js';
export * from './objects.lib.js';
export * from './lib.objects.js';
export * from './project.asset.js';
export { Code } from './project.code.js';
export type { Diagnostic } from './project.diagnostics.js';
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/parser/src/project.asset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import {
yyObjectEventSchema,
yySchemas,
} from '@bscotch/yy';
import type { ObjectEvent, ObjectEventName } from './lib.objects.js';
import { logger } from './logger.js';
import type { ObjectEvent, ObjectEventName } from './objects.lib.js';
import { Code } from './project.code.js';
import { Project } from './project.js';
import { Signifier } from './signifiers.js';
Expand Down
2 changes: 2 additions & 0 deletions packages/parser/src/project.native.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { GmlSpec, GmlSpecConstant, gmlSpecSchema } from './project.spec.js';
import { Signifier } from './signifiers.js';
import { Type, type StructType } from './types.js';
import { primitiveNames } from './types.primitives.js';
import { addSpriteInfoStruct } from './types.sprites.js';
import { assert } from './util.js';

export class Native {
Expand All @@ -23,6 +24,7 @@ export class Native {
const type = new Type(name);
this.types.set(name, type);
});
addSpriteInfoStruct(this.types);
}

get version() {
Expand Down
Loading

0 comments on commit d88b29f

Please sign in to comment.