Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Aurelijus1

Members
  • Posts

    67
  • Joined

  • Last visited

    Never

Posts posted by Aurelijus1

  1. i have fixed that problem adding this

    ```
    Public Sub RenderTextureByRects(TextureRec As DX8TextureRec, sRECT As RECT, drect As RECT, Optional Colour As Long = -1)

       ' If debug mode, handle error then exit out
       If Options.Debug = 1 Then On Error GoTo errorhandler

       RenderTexture TextureRec, drect.Left, drect.Top, sRECT.Left, sRECT.Top, drect.Right - drect.Left, drect.Bottom - drect.Top, sRECT.Right - sRECT.Left, sRECT.Bottom - sRECT.Top, Colour

       ' Error handler
       Exit Sub
    errorhandler:
       HandleError "RenderTextureByRects", "modGraphics", Err.Number, Err.Description, Err.Source, Err.HelpContext
       Err.Clear
       Exit Sub
    End Sub
    ```

    but now i'am having other problem **user defined type not defined on this line**
    ```
    Public Sub RenderTextureByRects(TextureRec As DX8TextureRec, sRECT As RECT, drect As RECT, Optional Colour As Long = -1)
    ```
  2. Maybe anyone have autotiles system tutorial ? I tryed copy it from other engine now i'am getting this error Method or Member Data Not Found on this line:

    ```
    Public Sub CalculateAutotile(ByVal x As Long, ByVal y As Long, ByVal layerNum As Long)

       ' Right, so we've split the tile block in to an easy to remember
       ' collection of letters. We now need to do the calculations to find
       ' out which little lettered block needs to be rendered. We do this
       ' by reading the surrounding tiles to check for matches.

       ' First we check to make sure an autotile situation is actually there.
       ' Then we calculate exactly which situation has arisen.
       ' The situations are "inner", "outer", "horizontal", "vertical" and "fill".

       ' Exit out if we don't have an auatotile
       If map.Tile(x, y).Autotile(layerNum) = 0 Then Exit Sub
    ```
  3. I'am using Windows 7 64 bit and when i try to add component Microsoft Rich Textbox Control 6.0 (SP6) i get error: **Object library not registered**
    i already tried to register it with CMD running as administrator and typing **regsvr32 c:/windows/syswow64/RICHTX32.OCX**
    then i get message that Dllregisterserver succeeded but when i try it add again I get same message that it's not registered…
×
×
  • Create New...