David Wendt
|
359d3e4780
|
Propagate the RNG to the action context. This lets random work.
|
2019-09-16 20:04:30 -07:00 |
David Wendt
|
26c928b68f
|
Add a better error message for missing object methods
|
2019-09-16 20:04:30 -07:00 |
David Wendt
|
0f9db1744b
|
Add a backend for controlling the enclosing web browser.
|
2019-09-16 20:04:30 -07:00 |
Mike Welsh
|
3c38405a71
|
avm1: Update swf-rs and use byte slices for functions
|
2019-09-09 13:57:29 -07:00 |
Nathan Adams
|
a4cdbc4f70
|
Added `Math` unit tests, first avm tests :)
|
2019-09-02 22:19:09 +02:00 |
Nathan Adams
|
63f85446b7
|
Renamed builtins to globals, `_global` is a reference to the globals object
|
2019-09-02 20:45:19 +02:00 |
Nathan Adams
|
200129452a
|
Pass along `ActionContext` to functions
|
2019-09-02 19:28:38 +02:00 |
Nathan Adams
|
002272d7b5
|
Functions return `[type Function]` when converted to strings
|
2019-08-31 18:28:28 +02:00 |
Nathan Adams
|
7a18ece455
|
`DisplayObject`s all have a AVM1 `Value`. Added `toString()` default method for Objects (but not functions)
|
2019-08-31 17:54:15 +02:00 |
Nathan Adams
|
bd63a82e9e
|
Split off `Value` into its own file, for slightly less code clutter
|
2019-08-31 14:29:46 +02:00 |
Nathan Adams
|
2eca394a58
|
Implemented `typeof` for movieclips and functions
|
2019-08-31 14:09:37 +02:00 |
Nathan Adams
|
14786aeba6
|
Implemented more movie clip methods + added a basic macro to cut down on boilerplate for movie clip methods
|
2019-08-31 01:25:14 +02:00 |
Nathan Adams
|
2fd7d456a4
|
Movie clip access from AS. Functions are now callable objects, and receive `this`.
|
2019-08-30 20:37:48 +02:00 |
Nathan Adams
|
2378ea3881
|
Shuffled around some avm1 builtins & types
|
2019-08-28 21:43:20 -05:00 |
Nathan Adams
|
a74d1734af
|
Initial work on avm1 method calling, local and global variables.
This contains just enough AS1 support for early trivial loading screens to not crash (ie badgers badgers badgers)
|
2019-08-28 21:43:20 -05:00 |
Mike Welsh
|
6a5c5ab1df
|
chore: Add rustfmt.toml and rustfmt pass
|
2019-08-26 16:38:48 -07:00 |
Nathan Adams
|
06d9f39c0e
|
More verbose avm1 value conversion errors
|
2019-08-26 14:45:35 -05:00 |
Mike Welsh
|
8117b0cfdc
|
avm1: Remove some debug spew
|
2019-08-22 10:24:38 -07:00 |
Mike Welsh
|
b0eff353a9
|
tests: Add initial SWF tests
|
2019-08-22 09:54:40 -07:00 |
Mike Welsh
|
8be9b9089b
|
avm1: Stub out StartDrag/EndDrag
|
2019-08-19 22:27:38 -07:00 |
Mike Welsh
|
0143d9716e
|
core: Button work
|
2019-08-19 22:27:38 -07:00 |
Mike Welsh
|
91a0272773
|
avm1: Log errors/unimplemented actions
|
2019-08-19 22:27:38 -07:00 |
Mike Welsh
|
d8ddf78bdc
|
avm1: Implement _rotation and improve SetProperty
Implement _rotation and add SetProperty/GetProperty for these
values.
|
2019-08-19 22:27:38 -07:00 |
Mike Welsh
|
017cd563dc
|
avm1: Implement ActionPush for constant pool vals
|
2019-08-19 22:27:38 -07:00 |
Mike Welsh
|
e890ad33e6
|
avm1: Allow String for ActionGotoFrame2
|
2019-08-19 22:27:38 -07:00 |
Mike Welsh
|
fe086c11ff
|
core: Store clip frame labels
Bump swf-rs revision to allow for read_frame_label calls.
Also fix read_place_object to take an explicit length.
|
2019-08-19 22:27:38 -07:00 |
Mike Welsh
|
6c923930e6
|
avm1: Stub out ActionSetProperty
Rough impl of ActionSetProperty action. Not all properties
implemented. Add DisplayObject::matrix_mut.
|
2019-08-19 22:27:38 -07:00 |
Mike Welsh
|
20ec170552
|
avm1: Implement GetVariable/SetVariable
|
2019-08-19 22:27:38 -07:00 |
Mike Welsh
|
1b86162bf1
|
avm1: Fix warning in SetTarget
|
2019-08-19 22:27:37 -07:00 |
Mike Welsh
|
ce606cece8
|
core: Re-enable AVM1
|
2019-08-19 22:27:37 -07:00 |
Mike Welsh
|
4666d211a7
|
core: Add dyn to fix Rust 1.37 warnings
Omitting dyn on trait objects now emits a warning, so add missing
dyn where necessary.
|
2019-08-15 13:54:20 -07:00 |
Mike Welsh
|
2accd5bdd4
|
core: Remove audio struct
|
2019-08-09 16:03:13 -07:00 |
Mike Welsh
|
725cdae6c5
|
Begin AVM1 cleanup
|
2019-08-08 15:58:45 -07:00 |
Mike Welsh
|
ce5faefe1f
|
Work
|
2019-08-08 15:57:10 -07:00 |
Mike Welsh
|
12d6d3342b
|
core: Switch to rust-gc
|
2019-05-08 18:10:43 -07:00 |
Mike Welsh
|
e6e8536672
|
Clean up DisplayObject traits
|
2019-05-07 03:34:17 -07:00 |
Mike Welsh
|
60b673986b
|
Work
|
2019-05-06 23:31:34 -07:00 |
Mike Welsh
|
708175419a
|
Add AVM1 opcodes
|
2019-05-01 22:00:40 -07:00 |
Mike Welsh
|
d6e68dd43e
|
Add initial AVM1 implementation
|
2019-05-01 17:46:49 -07:00 |