Skip to content

Commit

Permalink
flash player 16 api sync
Browse files Browse the repository at this point in the history
  • Loading branch information
ncannasse committed Mar 1, 2015
1 parent e09ed5e commit 5a58ba1
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 3 deletions.
4 changes: 2 additions & 2 deletions extra/extract.hxml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
-debug
-swf-lib library.swf
-swf test.swf
-swf-version 11.8
--macro patchTypes("../doc/extract.patch")
-swf-version 15
--macro patchTypes("../extra/extract.patch")
--gen-hx-classes
2 changes: 1 addition & 1 deletion genxml.ml
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ let generate_type com t =
let print_meta ml =
List.iter (fun (m,pl,_) ->
match m with
| Meta.DefParam | Meta.CoreApi | Meta.Used | Meta.MaybeUsed | Meta.FlatEnum -> ()
| Meta.DefParam | Meta.CoreApi | Meta.Used | Meta.MaybeUsed | Meta.FlatEnum | Meta.Value | Meta.DirectlyUsed -> ()
| _ ->
match pl with
| [] -> p "@%s " (fst (MetaInfo.to_string m))
Expand Down
1 change: 1 addition & 0 deletions std/flash/display3D/Context3D.hx
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ package flash.display3D;
function setColorMask(red : Bool, green : Bool, blue : Bool, alpha : Bool) : Void;
function setCulling(triangleFaceToCull : Context3DTriangleFace) : Void;
function setDepthTest(depthMask : Bool, passCompareMode : Context3DCompareMode) : Void;
@:require(flash16) function setFillMode( fillMode : Context3DFillMode ) : Void;
function setProgram(program : Program3D) : Void;
@:require(flash11_2) function setProgramConstantsFromByteArray(programType : Context3DProgramType, firstRegister : Int, numRegisters : Int, data : flash.utils.ByteArray, byteArrayOffset : UInt) : Void;
function setProgramConstantsFromMatrix(programType : Context3DProgramType, firstRegister : Int, matrix : flash.geom.Matrix3D, transposedMatrix : Bool = false) : Void;
Expand Down
6 changes: 6 additions & 0 deletions std/flash/display3D/Context3DFillMode.hx
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package flash.display3D;

@:fakeEnum(String) @:require(flash16) extern enum Context3DFillMode {
SOLID;
WIREFRAME;
}
1 change: 1 addition & 0 deletions std/flash/display3D/Context3DProfile.hx
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ package flash.display3D;
BASELINE_CONSTRAINED;
BASELINE_EXTENDED;
STANDARD;
STANDARD_CONSTRAINED;
}
1 change: 1 addition & 0 deletions std/flash/media/AVCaptionStyle.hx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package flash.media;
extern class AVCaptionStyle {
var backgroundColor : String;
var backgroundOpacity : String;
var bottomInset : String;
var edgeColor : String;
var fillColor : String;
var fillOpacity : String;
Expand Down

0 comments on commit 5a58ba1

Please sign in to comment.