Projects > Game Development

Direct2d button

(1/4) > >>

BugCatcher:
 Here is a direct2d button cut out of my game engine. Code as is. Com tables not a 100% complete. Just the ones I've used.

jj2007:

--- Code: ---includes/d2d1.inc(3) : Error A2106: Cannot open file: "c:/Dx32Includes/d2dbasetypes.inc" [ENOENT]
 includes/d2d1.inc(3): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(4) : Error A2106: Cannot open file: "c:/Dx32Includes/dcommon.inc" [ENOENT]
 includes/d2d1.inc(4): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(78) : Error A2210: Syntax error: color
 includes/d2d1.inc(78): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(83) : Error A2210: Syntax error: transform
 includes/d2d1.inc(83): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(93) : Error A2210: Syntax error: startPoint
 includes/d2d1.inc(93): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(94) : Error A2210: Syntax error: endPoint
 includes/d2d1.inc(94): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(98) : Error A2210: Syntax error: center
 includes/d2d1.inc(98): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(99) : Error A2210: Syntax error: gradientOriginOffset
 includes/d2d1.inc(99): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(163) : Error A2210: Syntax error: point1
 includes/d2d1.inc(163): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(164) : Error A2210: Syntax error: point2
 includes/d2d1.inc(164): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(165) : Error A2210: Syntax error: point3
 includes/d2d1.inc(165): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(169) : Error A2210: Syntax error: point1
 includes/d2d1.inc(169): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(170) : Error A2210: Syntax error: point2
 includes/d2d1.inc(170): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(171) : Error A2210: Syntax error: point3
 includes/d2d1.inc(171): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(193) : Error A2210: Syntax error: point
 includes/d2d1.inc(193): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(194) : Error A2210: Syntax error: size_
 includes/d2d1.inc(194): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(201) : Error A2210: Syntax error: point1
 includes/d2d1.inc(201): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(202) : Error A2210: Syntax error: point2
 includes/d2d1.inc(202): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(206) : Error A2210: Syntax error: point_
 includes/d2d1.inc(206): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(212) : Error A2210: Syntax error: rect_
 includes/d2d1.inc(212): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(233) : Error A2210: Syntax error: contentBounds
 includes/d2d1.inc(233): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(236) : Error A2210: Syntax error: maskTransform
 includes/d2d1.inc(236): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(289) : Error A2210: Syntax error: pixelSize
 includes/d2d1.inc(289): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(301) : Error A2210: Syntax error: tag1
 includes/d2d1.inc(301): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(302) : Error A2210: Syntax error: tag2
 includes/d2d1.inc(302): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(303) : Error A2210: Syntax error: transform
 includes/d2d1.inc(303): Included by
  Tmp_File.asm(5): Main line code
includes/d2d1.inc(490) : Error A2102: Symbol not defined : D2D1_POINT_2F
 STDMETHOD(2)[Dx32MacroHelpers.inc]: Macro called from
  includes/d2d1.inc(490): Included by
   Tmp_File.asm(5): Main line code
includes/d2d1.inc(491) : Error A2102: Symbol not defined : D2D1_POINT_2F
 STDMETHOD(2)[Dx32MacroHelpers.inc]: Macro called from
  includes/d2d1.inc(491): Included by
   Tmp_File.asm(5): Main line code
includes/d2d1.inc(507) : Error A2102: Symbol not defined : D2D1_POINT_2F
 STDMETHOD(2)[Dx32MacroHelpers.inc]: Macro called from
  includes/d2d1.inc(507): Included by
   Tmp_File.asm(5): Main line code
includes/d2d1.inc(508) : Error A2102: Symbol not defined : D2D1_POINT_2F
 STDMETHOD(2)[Dx32MacroHelpers.inc]: Macro called from
  includes/d2d1.inc(508): Included by
   Tmp_File.asm(5): Main line code
includes/d2d1.inc(551) : Error A2102: Symbol not defined : D2D1_POINT_2F
 STDMETHOD(2)[Dx32MacroHelpers.inc]: Macro called from
  includes/d2d1.inc(551): Included by
   Tmp_File.asm(5): Main line code
includes/d2d1.inc(552) : Error A2102: Symbol not defined : D2D1_POINT_2F
 STDMETHOD(2)[Dx32MacroHelpers.inc]: Macro called from
  includes/d2d1.inc(552): Included by
   Tmp_File.asm(5): Main line code
includes/d2d1.inc(754) : Error A2102: Symbol not defined : D2D1_SIZE_U
 STDMETHOD(2)[Dx32MacroHelpers.inc]: Macro called from
  includes/d2d1.inc(754): Included by
   Tmp_File.asm(5): Main line code
includes/d2d1.inc(788) : Error A2102: Symbol not defined : D2D1_TAG
 STDMETHOD(2)[Dx32MacroHelpers.inc]: Macro called from
  includes/d2d1.inc(788): Included by
   Tmp_File.asm(5): Main line code
includes/wincodec.inc(823) : Error A2084: Colon is expected
 STDMETHOD(3)[Dx32MacroHelpers.inc]: Macro called from
  includes/wincodec.inc(823): Included by
   Tmp_File.asm(6): Main line code
includes/wincodec.inc(823) : Error A2210: Syntax error: Commit
 STDMETHOD(4)[Dx32MacroHelpers.inc]: Macro called from
  includes/wincodec.inc(823): Included by
   Tmp_File.asm(6): Main line code
includes/dxgi.inc(3) : Error A2106: Cannot open file: "c:/Dx32Includes/dxgicommon.inc" [ENOENT]
 includes/dxgi.inc(3): Included by
  Tmp_File.asm(7): Main line code
includes/dxgi.inc(4) : Error A2106: Cannot open file: "c:/Dx32Includes/dxgitype.inc" [ENOENT]
 includes/dxgi.inc(4): Included by
  Tmp_File.asm(7): Main line code
includes/dxgi.inc(5) : Error A2106: Cannot open file: "c:/Dx32Includes/dxgiformat.inc" [ENOENT]
 includes/dxgi.inc(5): Included by
  Tmp_File.asm(7): Main line code
includes/dxgi.inc(57) : Error A2167: Missing quotation mark in string
 includes/dxgi.inc(57): Included by
  Tmp_File.asm(7): Main line code
includes/dxgi.inc(133) : Error A2210: Syntax error: RefreshRate
 includes/dxgi.inc(133): Included by
  Tmp_File.asm(7): Main line code
includes/dxgi.inc(134) : Error A2210: Syntax error: Format
 includes/dxgi.inc(134): Included by
  Tmp_File.asm(7): Main line code
includes/dxgi.inc(141) : Error A2210: Syntax error: SampleDesc
 includes/dxgi.inc(141): Included by
  Tmp_File.asm(7): Main line code
includes/dxgi.inc(219) : Error A2102: Symbol not defined : DXGI_FORMAT
 STDMETHOD(2)[Dx32MacroHelpers.inc]: Macro called from
  includes/dxgi.inc(219): Included by
   Tmp_File.asm(7): Main line code
includes/dxgi.inc(266) : Error A2084: Colon is expected
 STDMETHOD(3)[Dx32MacroHelpers.inc]: Macro called from
  includes/dxgi.inc(266): Included by
   Tmp_File.asm(7): Main line code
includes/dxgi.inc(266) : Error A2210: Syntax error: Unmap
 STDMETHOD(4)[Dx32MacroHelpers.inc]: Macro called from
  includes/dxgi.inc(266): Included by
   Tmp_File.asm(7): Main line code
includes/dxgi.inc(320) : Error A2102: Symbol not defined : DXGI_FORMAT
 STDMETHOD(2)[Dx32MacroHelpers.inc]: Macro called from
  includes/dxgi.inc(320): Included by
   Tmp_File.asm(7): Main line code
includes/dxgi.inc(322) : Error A2084: Colon is expected
 STDMETHOD(3)[Dx32MacroHelpers.inc]: Macro called from
  includes/dxgi.inc(322): Included by
   Tmp_File.asm(7): Main line code
includes/dxgi.inc(322) : Error A2210: Syntax error: WaitForVBlank
 STDMETHOD(4)[Dx32MacroHelpers.inc]: Macro called from
  includes/dxgi.inc(322): Included by
   Tmp_File.asm(7): Main line code
includes/dxgi.inc(324) : Error A2084: Colon is expected
 STDMETHOD(3)[Dx32MacroHelpers.inc]: Macro called from
  includes/dxgi.inc(324): Included by
   Tmp_File.asm(7): Main line code
includes/dxgi.inc(324) : Error A2210: Syntax error: ReleaseOwnership
 STDMETHOD(4)[Dx32MacroHelpers.inc]: Macro called from
  includes/dxgi.inc(324): Included by
   Tmp_File.asm(7): Main line code
includes/dxgi.inc(324) : Fatal error A1113: Too many errors

--- End code ---

zedd151:
Hmmm.


Tried to reassemble but apparently some of the include files have hard coded paths
Running Windows 7, 32 bit btw.

BugCatcher:
Ya I forgot the embeded includes. Me bad

BugCatcher:
Fixed (hopefully)

Navigation

[0] Message Index

[#] Next page

Go to full version