It is currently 27 Apr 2024, 06:16
   
Text Size

More Art Mod Opportunities

Discuss Upcoming Releases, Coding New Cards, Etc.
PLEASE DO NOT REPORT BUGS HERE!

Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins

Re: More Art Mod Opportunities

Postby jatill » 02 Nov 2009, 17:05

That's actually much worse than the 1 I had previously. Do we not see the same thing, you think?
jatill
DEVELOPER
 
Posts: 2118
Joined: 24 Feb 2009, 16:35
Has thanked: 5 times
Been thanked: 17 times

Re: More Art Mod Opportunities

Postby mathusalem » 02 Nov 2009, 17:43

arf, that's possible, for example on your screen the box is 1 pixel off on the right and one down, but on my screen it is Off differently, it's more like 1 to the left. and the y value seems to match.
User avatar
mathusalem
 
Posts: 459
Joined: 24 Feb 2009, 21:00
Has thanked: 6 times
Been thanked: 4 times

Re: More Art Mod Opportunities

Postby jatill » 02 Nov 2009, 17:45

mathusalem wrote:arf, that's possible, for example on your screen the box is 1 pixel off on the right and one down, but on my screen it is Off differently, it's more like 1 to the left. and the y value seems to match.
I guess I'll just go with the closest one I have for now, then.
jatill
DEVELOPER
 
Posts: 2118
Joined: 24 Feb 2009, 16:35
Has thanked: 5 times
Been thanked: 17 times

Re: More Art Mod Opportunities

Postby mathusalem » 02 Nov 2009, 17:52

ok, I tried by doing things the other way around (sliding the image 1 pixel up

tell me if that's better.
http://rapidshare.com/files/301463972/Winbk_Shellbox16.bmp
User avatar
mathusalem
 
Posts: 459
Joined: 24 Feb 2009, 21:00
Has thanked: 6 times
Been thanked: 4 times

Re: More Art Mod Opportunities

Postby jatill » 02 Nov 2009, 18:36

That one behaves like the original one (i.e.: needs to be moves down and to the right 1)
jatill
DEVELOPER
 
Posts: 2118
Joined: 24 Feb 2009, 16:35
Has thanked: 5 times
Been thanked: 17 times

Re: More Art Mod Opportunities

Postby mathusalem » 02 Nov 2009, 18:40

jatill wrote:That one behaves like the original one (i.e.: needs to be moves down and to the right 1)
ARGH !
User avatar
mathusalem
 
Posts: 459
Joined: 24 Feb 2009, 21:00
Has thanked: 6 times
Been thanked: 4 times

Re: More Art Mod Opportunities

Postby gmzombie » 03 Nov 2009, 00:31

what about just adjusting the cords ont eh shellbox in the game? wouldnt that do the same thing>?
can I maze of ith your snowstorm?

http://home.comcast.net/~gmzombie/index.html old stuff in here. don't use this stuff right now till I get time to get back into it and readjust.
gmzombie
 
Posts: 857
Joined: 26 Feb 2009, 01:05
Location: Wyoming, Mi
Has thanked: 200 times
Been thanked: 51 times

Re: More Art Mod Opportunities

Postby jatill » 03 Nov 2009, 12:52

gmzombie wrote:what about just adjusting the cords ont eh shellbox in the game? wouldnt that do the same thing>?
Probably. No idea where that code is, though.
jatill
DEVELOPER
 
Posts: 2118
Joined: 24 Feb 2009, 16:35
Has thanked: 5 times
Been thanked: 17 times

Re: More Art Mod Opportunities

Postby gmzombie » 04 Nov 2009, 01:34

i dont know if this is any help but i thought id post it anyways for the 5 buttons...i dont know how to read it but maybe you do. i took this cause i seen the winbk shell animation in there
Code: Select all
signed int __stdcall sub_4CC770(HWND hDlg, int a2, WPARAM wParam, LPARAM lParam)
{
  signed int result; // eax@5
  HGDIOBJ v5; // eax@12
  HWND v6; // eax@28
  HWND v7; // eax@28
  HBITMAP v8; // eax@33
  HWND v9; // eax@42
  HWND v10; // eax@43
  HWND v11; // eax@51
  HWND v12; // eax@51
  HWND v13; // eax@64
  HWND v14; // eax@64
  HWND v15; // eax@70
  HWND v16; // eax@70
  HWND v17; // eax@77
  HWND v18; // eax@77
  HGDIOBJ v19; // eax@98
  HGDIOBJ v20; // eax@103
  HBITMAP v21; // eax@110
  _DWORD v22; // eax@112
  HDC v23; // eax@125
  HDC v24; // eax@145
  HWND v25; // eax@154
  HDC v26; // eax@168
  HCURSOR v27; // eax@184
  int v28; // ST30_4@198
  int v29; // eax@198
  HDC v30; // eax@215
  int v31; // ST30_4@223
  int v32; // eax@223
  HDC v33; // eax@229
  HDC hdc; // [sp+51Ch] [bp-2Ch]@6
  RECT *lprc; // [sp+534h] [bp-14h]@6
  int nSavedDC; // [sp+520h] [bp-28h]@6
  struct tagRECT rcDst; // [sp+524h] [bp-24h]@9
  struct tagRECT Rect; // [sp+538h] [bp-10h]@10
  int v39; // [sp+510h] [bp-38h]@15
  WPARAM v40; // [sp+514h] [bp-34h]@15
  int v41; // [sp+50Ch] [bp-3Ch]@17
  int v42; // [sp+508h] [bp-40h]@17
  LONG v43; // [sp+504h] [bp-44h]@26
  RECT *lprcSrc; // [sp+518h] [bp-30h]@30
  const CHAR FileName; // [sp+3E4h] [bp-164h]@33
  HANDLE h; // [sp+3E0h] [bp-168h]@33
  _BYTE pv; // [sp+4ECh] [bp-5Ch]@34
  signed int v48; // [sp+4F0h] [bp-58h]@34
  _DWORD v49; // [sp+4F4h] [bp-54h]@34
  int v50; // [sp+3DCh] [bp-16Ch]@62
  struct tagPOINT Points; // [sp+3CCh] [bp-17Ch]@77
  signed int v52; // [sp+3ACh] [bp-19Ch]@80
  WPARAM v53; // [sp+3A4h] [bp-1A4h]@82
  LPARAM v54; // [sp+3A0h] [bp-1A8h]@82
  WPARAM v55; // [sp+39Ch] [bp-1ACh]@87
  LPARAM v56; // [sp+394h] [bp-1B4h]@87
  int v57; // [sp+398h] [bp-1B0h]@87
  int v58; // [sp+390h] [bp-1B8h]@92
  WPARAM v59; // [sp+38Ch] [bp-1BCh]@92
  COLORREF color; // [sp+388h] [bp-1C0h]@94
  const CHAR szHelp; // [sp+280h] [bp-2C8h]@100
  HDC hdcDest; // [sp+218h] [bp-330h]@101
  int v63; // [sp+25Ch] [bp-2ECh]@101
  int rc; // [sp+270h] [bp-2D8h]@101
  int x1; // [sp+260h] [bp-2E8h]@101
  int y1; // [sp+264h] [bp-2E4h]@101
  int right; // [sp+268h] [bp-2E0h]@101
  int bottom; // [sp+26Ch] [bp-2DCh]@101
  struct tagPAINTSTRUCT Paint; // [sp+21Ch] [bp-32Ch]@101
  HDC v70; // [sp+214h] [bp-334h]@101
  int yDest; // [sp+274h] [bp-2D4h]@102
  _DWORD v72; // [sp+278h] [bp-2D0h]@102
  _DWORD v73; // [sp+27Ch] [bp-2CCh]@102
  _BYTE v74; // [sp+E8h] [bp-460h]@110
  void *v75; // [sp+1F0h] [bp-358h]@110
  _BYTE v76; // [sp+1F8h] [bp-350h]@111
  signed int v77; // [sp+1FCh] [bp-34Ch]@111
  int v78; // [sp+200h] [bp-348h]@111
  int wSrc; // [sp+210h] [bp-338h]@113
  int hSrc; // [sp+1F4h] [bp-354h]@113
  int xDest; // [sp+D8h] [bp-470h]@113
  int v82; // [sp+DCh] [bp-46Ch]@113
  _DWORD v83; // [sp+E0h] [bp-468h]@113
  _DWORD v84; // [sp+E4h] [bp-464h]@113
  struct tagPOINT pt; // [sp+C8h] [bp-480h]@125
  HDC hDC; // [sp+D0h] [bp-478h]@125
  _BYTE v87; // [sp+B8h] [bp-490h]@125
  signed int v88; // [sp+B4h] [bp-494h]@125
  int v89; // [sp+D4h] [bp-474h]@125
  POINT v90; // [sp+A4h] [bp-4A4h]@145
  HDC v91; // [sp+ACh] [bp-49Ch]@145
  signed int v92; // [sp+84h] [bp-4C4h]@145
  int v93; // [sp+B0h] [bp-498h]@145
  DWORD dwMilliseconds; // [sp+14h] [bp-534h]@151
  struct tagMSG Msg; // [sp+88h] [bp-4C0h]@152
  POINT v96; // [sp+74h] [bp-4D4h]@168
  HDC v97; // [sp+7Ch] [bp-4CCh]@168
  _DWORD v98; // [sp+44h] [bp-504h]@171
  int v99; // [sp+4Ch] [bp-4FCh]@171
  LPARAM v100; // [sp+48h] [bp-500h]@171
  int nPos; // [sp+50h] [bp-4F8h]@171
  unsigned int v102; // [sp+Ch] [bp-53Ch]@171
  HCURSOR hCursor; // [sp+40h] [bp-508h]@184
  signed int v104; // [sp+3Ch] [bp-50Ch]@185
  WPARAM v105; // [sp+38h] [bp-510h]@208
  LPARAM v106; // [sp+34h] [bp-514h]@212
  HDC v107; // [sp+30h] [bp-518h]@215
  LRESULT v108; // [sp+2Ch] [bp-51Ch]@223
  _BYTE v109; // [sp+1Ch] [bp-52Ch]@229
  HDC v110; // [sp+18h] [bp-530h]@229

  if ( (unsigned int)a2 > 0xF )
  {
    if ( (unsigned int)a2 <= 0x13 )
    {
      if ( a2 != 19 )
      {
        if ( a2 == 16 )
        {
          j_DestroyWindow(hDlg);
          return 0;
        }
        return j_DefWindowProcA(hDlg, a2, wParam, lParam);
      }
      if ( dword_4EED1C )
        j_PostMessageA(hDlg, 0x501u, 0, 0);
      return 1;
    }
    if ( (unsigned int)a2 <= 0x1C )
    {
      if ( a2 == 28 )
      {
        if ( wParam )
          sub_4CFB80(1);
        else
          sub_4CFB80(0);
        return 0;
      }
      if ( a2 == 24 )
      {
        v105 = wParam;
        if ( wParam )
        {
          if ( !dword_6086CC )
          {
            sub_4CEF00(
              hDlg,
              (int)&dword_60871C,
              &dword_6086E8,
              (int)&dword_608718,
              (int)&dword_6086B8,
              (int)&dword_6086E4,
              (int)&dword_6086D0,
              (int)&dword_608700,
              (int)&dword_6086E0,
              (int)&dword_60870C,
              (int)&dword_6086A4,
              (int)&dword_608714,
              (int)&dword_6086B0,
              (int)&dword_6086AC);
            dword_6086CC = 1;
          }
        }
        return 0;
      }
      return j_DefWindowProcA(hDlg, a2, wParam, lParam);
    }
    if ( (unsigned int)a2 <= 0x2B )
    {
      if ( a2 != 43 )
      {
        if ( a2 == 36 )
        {
          v106 = lParam;
          *(_DWORD *)(lParam + 24) = 50;
          *(_DWORD *)(v106 + 28) = 50;
          return 0;
        }
        return j_DefWindowProcA(hDlg, a2, wParam, lParam);
      }
      v58 = lParam;
      v59 = wParam;
      if ( wParam - 100 != dword_62C038 && v59 - 200 != dword_62C038 )
        color = dword_62C2D0;
      else
        color = dword_62C2D4;
      j_InflateRect((LPRECT)(v58 + 28), -4, -4);
      if ( dword_62C2C4 )
      {
        sub_467420(v58, dword_62C2C4, (int)dword_62C2C8, dword_62C2CC, color, 0);
      }
      else
      {
        v19 = j_GetStockObject(2);
        sub_4673C0(v58, v19, (int)dword_62C2C8, dword_62C2CC, color, 0);
      }
      return 1;
    }
    if ( (unsigned int)a2 <= 0x111 )
    {
      if ( a2 == 273 )
      {
        v39 = (unsigned __int16)wParam;
        v40 = wParam >> 16;
        if ( (signed int)(unsigned __int16)wParam < 50 || dword_786394 + 50 < v39 )
        {
          if ( dword_7370C0 != -1 )
          {
            if ( v39 >= 100 )
            {
              if ( dword_629544[558 * dword_7370C0] + 100 > v39 )
              {
                v50 = dword_62C038;
                dword_62C038 = v39 - 100;
                if ( v40 == 2 )
                {
                  sub_4CFB80(0);
                  j_LockWindowUpdate(hDlg);
                  lprcSrc = (RECT *)&dword_628C90[558 * dword_7370C0];
                  if ( v50 != -1 )
                  {
                    v13 = j_GetDlgItem(hDlg, v50 + 100);
                    j_InvalidateRect(v13, 0, 0);
                    v14 = j_GetDlgItem(hDlg, v50 + 200);
                    j_InvalidateRect(v14, 0, 0);
                    if ( *(&lprcSrc[16].bottom + 54 * v50) )
                      (*(int (__thiscall **)(RECT *))((int (__thiscall **)(_DWORD))&lprcSrc[17].top + 54 * v50))(lprcSrc);
                  }
                  j_CheckRadioButton(hDlg, 100, 109, dword_62C038 + 100);
                  if ( dword_62C038 >= nPos )
                  {
                    if ( nPos + dword_609140 - 1 >= dword_62C038 )
                    {
                      v15 = j_GetDlgItem(hDlg, dword_62C038 + 100);
                      j_InvalidateRect(v15, 0, 0);
                      v16 = j_GetDlgItem(hDlg, dword_62C038 + 200);
                      j_InvalidateRect(v16, 0, 0);
                    }
                    else
                    {
                      nPos = sub_4CF810(hDlg, dword_7370C0, dword_62C038 - dword_609140 + 1);
                    }
                  }
                  else
                  {
                    nPos = sub_4CF810(hDlg, dword_7370C0, dword_62C038);
                  }
                  sub_4CF5B0(dword_7370C0);
                  if ( *(&lprcSrc[16].bottom + 54 * dword_62C038) )
                  {
                    dword_628538 = (HWND)(*(int (__cdecl **)(RECT *))((int (__cdecl **)(_DWORD))&lprcSrc[17].left
                                                                    + 54 * dword_62C038))(&stru_6090A0);
                    if ( dword_628538 )
                    {
                      if ( !dword_608710 )
                      {
                        dword_608710 = 1;
                        sub_4CFB30(hDlg, dword_60871C, &rcSrc);
                      }
                      j_ShowWindow(dword_628538, 5);
                    }
                  }
                  else
                  {
                    j_CopyRect((struct tagRECT *)&Points, &stru_6090A0);
                    j_MapWindowPoints(hDlg, 0, &Points, 2u);
                    (*(int (__cdecl **)(struct tagPOINT *))((int (__cdecl **)(_DWORD))&lprcSrc[17].right
                                                          + 54 * dword_62C038))(&Points);
                    v17 = j_GetDlgItem(hDlg, dword_62C038 + 100);
                    j_InvalidateRect(v17, 0, 0);
                    v18 = j_GetDlgItem(hDlg, dword_62C038 + 200);
                    j_InvalidateRect(v18, 0, 0);
                    dword_62C038 = -1;
                  }
                  j_LockWindowUpdate(0);
                  sub_4CFB80(1);
                }
              }
            }
          }
        }
        else
        {
          v41 = dword_7370C0;
          v42 = v39 - 50;
          dword_7370C0 = -1;
          if ( v39 - 50 == dword_7370C0 && v40 != 2 )
          {
            if ( v42 == v41 )
            {
              if ( v41 != -1 )
              {
                j_LockWindowUpdate(hDlg);
                sub_4CFB30(hDlg, dword_60871C, (RECT *)&dword_628C90[558 * v41]);
                v43 = 0;
                while ( dword_629544[558 * v41] > v43 )
                {
                  v11 = j_GetDlgItem(hDlg, v43 + 100);
                  j_ShowWindow(v11, 0);
                  v12 = j_GetDlgItem(hDlg, v43 + 200);
                  j_ShowWindow(v12, 0);
                  ++v43;
                }
                if ( v41 != -1 )
                {
                  if ( dword_62C038 != -1 )
                  {
                    if ( *(int *)((char *)&dword_628D9C[558 * v41] + 216 * dword_62C038) )
                    {
                      (*(int (__thiscall **)(int))((char *)&dword_628DA4[558 * v41] + 216 * dword_62C038))(216 * dword_62C038);
                      dword_628538 = 0;
                      dword_62C038 = -1;
                    }
                  }
                }
                j_LockWindowUpdate(0);
              }
              dword_7370C0 = -1;
              dword_608710 = 0;
              j_InvalidateRect(hDlg, 0, 1);
            }
          }
          else
          {
            sub_4CFB80(0);
            if ( v41 != -1 )
            {
              j_LockWindowUpdate(hDlg);
              sub_4CFB30(hDlg, dword_60871C, (RECT *)&dword_628C90[558 * v41]);
              if ( v41 != -1 )
              {
                if ( dword_62C038 != -1 )
                {
                  if ( *(int *)((char *)&dword_628D9C[558 * v41] + 216 * dword_62C038) )
                  {
                    (*(int (__thiscall **)(_DWORD))((char *)&dword_628DA4[558 * v41] + 216 * dword_62C038))(216 * dword_62C038);
                    dword_628538 = 0;
                    dword_62C038 = -1;
                  }
                }
              }
              if ( *(&dword_6086B8 + v41) )
              {
                sub_466A00(*(&dword_6086B8 + v41));
                *(&dword_6086B8 + v41) = 0;
              }
              v43 = 0;
              while ( dword_629544[558 * v41] > v43 )
              {
                v6 = j_GetDlgItem(hDlg, v43 + 100);
                j_ShowWindow(v6, 0);
                v7 = j_GetDlgItem(hDlg, v43 + 200);
                j_ShowWindow(v7, 0);
                ++v43;
              }
              j_LockWindowUpdate(0);
              j_UpdateWindow(hDlg);
            }
            dword_7370C0 = v42;
            sub_4CF540(dword_7370C0);
            dword_6086B4 = 0;
            lprcSrc = (RECT *)&dword_628C90[558 * dword_7370C0];
            if ( !dword_608710 )
            {
              dword_608710 = 1;
              sub_4CFB30(hDlg, dword_60871C, &rcSrc);
            }
            if ( !*(&dword_6086B8 + dword_7370C0) )
            {
              j_sprintf(&FileName, "%s\\WINBK_ShellSphereAnimation16-%d.bmp", dword_7876F0, dword_7370C0 + 1);
              v8 = sub_466720(&FileName, 0);
              *(&dword_6086B8 + dword_7370C0) = v8;
              h = v8;
              if ( v8 )
              {
                j_GetObjectA(h, 24, &pv);
                dword_6090C8[4 * dword_7370C0] = v48 / 12 + dword_6090C0[4 * dword_7370C0];
                dword_6090CC[4 * dword_7370C0] = v49 + dword_6090C4[4 * dword_7370C0];
              }
            }
            j_SelectObject(dword_6086D8, *(&dword_6086B8 + dword_7370C0));
            sub_4CFB30(hDlg, dword_60871C, lprcSrc);
            v43 = 0;
            while ( lprcSrc[139].top > v43 )
            {
              j_SetDlgItemTextA(hDlg, v43 + 100, (LPCSTR)&lprcSrc[4].top + 216 * v43);
              j_SetDlgItemTextA(hDlg, v43 + 200, (LPCSTR)&lprcSrc[10].right + 216 * v43);
              if ( *(&lprcSrc[16].bottom + 54 * v43) )
                j_SendDlgItemMessageA(hDlg, v43 + 100, 0xF4u, 0x40000004u, 1);
              else
                j_SendDlgItemMessageA(hDlg, v43 + 100, 0xF4u, 0x4000000Bu, 1);
              ++v43;
            }
            sub_4CF610(hDlg);
            nPos = 0;
            sub_4CF810(hDlg, dword_7370C0, nPos);
            if ( lprcSrc[139].top <= dword_609140 )
            {
              v10 = j_GetDlgItem(hDlg, 99);
              j_ShowScrollBar(v10, 2, 0);
            }
            else
            {
              v9 = j_GetDlgItem(hDlg, 99);
              j_ShowScrollBar(v9, 2, 1);
            }
            if ( lprcSrc[16].bottom )
              j_SendMessageA(hDlg, 0x111u, 0x20064u, 0);
            sub_4CFB80(1);
          }
        }
        return 0;
      }
      if ( a2 == 126 )
      {
        hCursor = j_GetCursor();
        v27 = j_LoadCursorA(0, (LPCSTR)0x7F02);
        j_SetCursor(v27);
        if ( dword_7A2FDC == wParam )
        {
          v104 = 0;
        }
        else
        {
          v104 = 1;
          dword_7A2FDC = wParam;
        }
        if ( v104 )
        {
          sub_4CF1B0(
            hDlg,
            dword_60871C,
            (int)dword_608718,
            (int)&dword_6086B8,
            (int)dword_6086E4,
            (int)dword_6086D0,
            (int)dword_60870C,
            dword_6086A4,
            dword_608714);
          sub_4CF4D0((BOOL)&dword_62C2C0);
          sub_4CEF00(
            hDlg,
            (int)&dword_60871C,
            &dword_6086E8,
            (int)&dword_608718,
            (int)&dword_6086B8,
            (int)&dword_6086E4,
            (int)&dword_6086D0,
            (int)&dword_608700,
            (int)&dword_6086E0,
            (int)&dword_60870C,
            (int)&dword_6086A4,
            (int)&dword_608714,
            (int)&dword_6086B0,
            (int)&dword_6086AC);
          sub_4CF3A0();
          if ( dword_7370C0 != -1 )
          {
            if ( dword_62C038 != -1 )
            {
              if ( *(int *)((char *)&dword_628D9C[558 * dword_7370C0] + 216 * dword_62C038) )
              {
                if ( dword_628538 )
                  j_SendMessageA(dword_628538, 0x499u, wParam, lParam);
              }
            }
          }
        }
        if ( j_IsIconic(hDlg) || !j_IsWindowVisible(hDlg) )
        {
          dword_4EED1C = 1;
        }
        else
        {
          j_InvalidateRect(hDlg, 0, 1);
          j_MoveWindow(hDlg, 1, 0, (unsigned __int16)lParam - 1, (unsigned int)lParam >> 16, 1);
        }
        j_SetCursor(hCursor);
        return 0;
      }
      return j_DefWindowProcA(hDlg, a2, wParam, lParam);
    }
    if ( (unsigned int)a2 <= 0x135 )
    {
      if ( a2 != 309 )
      {
        if ( a2 == 274 )
        {
          if ( (unsigned __int16)(wParam & 0xFFF0) == 61488 )
          {
            v31 = sub_4171F0();
            v32 = sub_4171D0();
            j_MoveWindow(hDlg, 1, 0, v32 - 1, v31, 1);
            v108 = 0;
          }
          else
          {
            v108 = j_DefWindowProcA(hDlg, a2, wParam, lParam);
          }
          return v108;
        }
        if ( a2 == 275 )
        {
          if ( wParam == 1 )
          {
            if ( dword_7370C0 != -1 )
            {
              dword_6086B4 = (dword_6086B4 + 1) % 12;
              j_CopyRect((struct tagRECT *)&v109, (const RECT *)&dword_6090C0[4 * dword_7370C0]);
              v33 = j_GetDC(hDlg);
              v110 = v33;
              sub_4CFA30(v33, hDlg, dword_60871C);
              j_LPtoDP(v110, (struct tagPOINT *)&v109, 2);
              j_ReleaseDC(hDlg, v110);
              j_InvalidateRect(hDlg, (const RECT *)&v109, 1);
            }
          }
          return 0;
        }
        if ( a2 == 277 )
        {
          v98 = (unsigned __int16)wParam;
          v99 = wParam >> 16;
          v100 = lParam;
          nPos = nPos;
          v102 = (unsigned __int16)wParam;
          if ( v102 <= 7 )
          {
            switch ( v102 )
            {
              case 0u:
                --nPos;
                break;
              case 1u:
                ++nPos;
                break;
              case 2u:
                nPos -= dword_609140;
                break;
              case 3u:
                nPos += dword_609140;
                break;
              case 4u:
              case 5u:
                nPos = v99;
                break;
              case 6u:
                nPos = 0;
                break;
              case 7u:
                nPos = 9;
                break;
            }
          }
          if ( nPos != nPos )
            nPos = sub_4CF810(hDlg, dword_7370C0, nPos);
          return 0;
        }
        return j_DefWindowProcA(hDlg, a2, wParam, lParam);
      }
LABEL_87:
      v55 = wParam;
      v56 = lParam;
      sub_466050((HDC)wParam);
      v57 = j_GetDlgCtrlID((HWND)v56);
      j_SetBkMode((HDC)v55, 1);
      if ( j_GetDlgCtrlID((HWND)v56) - 100 != dword_62C038 && j_GetDlgCtrlID((HWND)v56) - 200 != dword_62C038 )
        j_SetTextColor((HDC)v55, dword_6086B0);
      else
        j_SetTextColor((HDC)v55, dword_6086AC);
      return (signed int)j_GetStockObject(5);
    }
    if ( (unsigned int)a2 > 0x200 )
    {
      if ( (unsigned int)a2 > 0x311 )
      {
        switch ( a2 )
        {
          case 1174:
            if ( wParam )
            {
              j_ShowWindow(hDlg, 5);
              j_UpdateWindow(hDlg);
            }
            else
            {
              j_ShowWindow(hDlg, 0);
            }
            result = 0;
            break;
          case 1176:
            hdc = (HDC)wParam;
            lprc = (RECT *)lParam;
            nSavedDC = j_SaveDC((HDC)wParam);
            sub_466050(hdc);
            if ( dword_608710 )
            {
              sub_4CFA30(hdc, hDlg, dword_60871C);
              j_OffsetViewportOrgEx(hdc, -lprc->left, -lprc->top, 0);
              if ( dword_60870C )
                sub_4662F0(hdc, (int)&rcSrc, dword_60870C);
              j_CopyRect(&rcDst, &rcSrc);
              j_LPtoDP(hdc, (struct tagPOINT *)&rcDst, 2);
            }
            j_SetMapMode(hdc, 1);
            j_SetViewportOrgEx(hdc, 0, 0, 0);
            j_SetWindowOrgEx(hdc, 0, 0, 0);
            j_ExcludeClipRect(hdc, rcDst.left, rcDst.top, rcDst.right, rcDst.bottom);
            j_GetClientRect(hDlg, &Rect);
            if ( dword_60871C )
            {
              j_StretchBlt(
                hdc,
                Rect.left - lprc->left,
                Rect.top - lprc->top,
                Rect.right - Rect.left,
                Rect.bottom - Rect.top,
                hdcSrc,
                0,
                0,
                dword_6086EC,
                dword_6086F0,
                0xCC0020u);
            }
            else
            {
              v5 = j_GetStockObject(2);
              j_FillRect(hdc, lprc, v5);
            }
            j_RestoreDC(hdc, nSavedDC);
            result = 0;
            break;
          case 1224:
            v53 = wParam;
            v54 = lParam;
            if ( wParam )
              j_InvalidateRect((HWND)v53, 0, 1);
            if ( v54 )
              j_InvalidateRect((HWND)v54, 0, 1);
            result = 0;
            break;
          case 1281:
            dword_4EED1C = 0;
            v28 = sub_4171F0();
            v29 = sub_4171D0();
            j_MoveWindow(hDlg, 1, 0, v29 - 1, v28, 1);
            result = 0;
            break;
          default:
            return j_DefWindowProcA(hDlg, a2, wParam, lParam);
        }
        return result;
      }
      if ( (unsigned int)a2 >= 0x30F )
        return sub_467FA0(hDlg, a2, wParam, lParam);
      if ( a2 == 513 )
      {
        v90.x = (unsigned __int16)lParam;
        v90.y = (unsigned int)lParam >> 16;
        v24 = j_GetDC(hDlg);
        v91 = v24;
        sub_4CFA30(v24, hDlg, dword_60871C);
        j_DPtoLP(v91, &v90, 1);
        j_ReleaseDC(hDlg, v91);
        v92 = -1;
        v93 = 0;
        while ( v93 < dword_786394 )
        {
          if ( j_PtInRect((const RECT *)&dword_628C90[558 * v93], v90) )
            v92 = v93;
          ++v93;
        }
        if ( v92 == -1 )
        {
          if ( j_PtInRect(&stru_609154, v90) )
          {
            j_SendMessageA(hDlg, 0x112u, 0xF020u, 0);
          }
          else
          {
            if ( j_PtInRect(&stru_609130, v90) )
            {
              j_SendMessageA(hDlg, 0x112u, 0xF030u, 0);
            }
            else
            {
              if ( !j_PtInRect(&stru_609110, v90) )
              {
                if ( dword_7370C0 == -1 && j_PtInRect(&stru_609120, v90) )
                  j_DialogBoxParamA(hInstance, (LPCSTR)0xF7, hDlg, sub_4CFBD0, 0);
                else
                  j_SendMessageA(hDlg, 0x112u, 0xF012u, 0);
              }
            }
          }
        }
        else
        {
          j_SendMessageA(hDlg, 0x111u, v92 + 50, 0);
          j_UpdateWindow(hDlg);
          j_GetDoubleClickTime();
          j_GetTickCount();
          j_GetMessageTime();
          dwMilliseconds = 0;
          j_Sleep(dwMilliseconds);
          if ( dword_7370C0 != -1 )
          {
            if ( j_PeekMessageA(&Msg, 0, 0x203u, 0x203u, 1u) )
            {
              if ( dword_628538 )
              {
                v25 = j_GetDlgItem(dword_628538, 1);
                j_SendMessageA(dword_628538, 0x111u, 1u, (LPARAM)v25);
              }
              else
              {
                j_SendMessageA(hDlg, 0x111u, 0x20064u, 0);
              }
            }
          }
        }
        return 0;
      }
      if ( a2 == 514 )
      {
        v96.x = (unsigned __int16)lParam;
        v96.y = (unsigned int)lParam >> 16;
        v26 = j_GetDC(hDlg);
        v97 = v26;
        sub_4CFA30(v26, hDlg, dword_60871C);
        j_DPtoLP(v97, &v96, 1);
        j_ReleaseDC(hDlg, v97);
        if ( j_PtInRect(&stru_609110, v96) )
          j_SendMessageA(hDlg, 0x112u, 0xF060u, 0);
        return 0;
      }
    }
    else
    {
      if ( a2 == 512 )
      {
        pt.x = (unsigned __int16)lParam;
        pt.y = (unsigned int)lParam >> 16;
        v23 = j_GetDC(hDlg);
        hDC = v23;
        sub_4CFA30(v23, hDlg, dword_60871C);
        j_DPtoLP(hDC, &pt, 1);
        j_CopyRect((struct tagRECT *)&v87, &stru_609090);
        j_LPtoDP(hDC, (struct tagPOINT *)&v87, 2);
        j_ReleaseDC(hDlg, hDC);
        v88 = -1;
        v89 = 0;
        while ( v89 < dword_786394 )
        {
          if ( j_PtInRect((const RECT *)&dword_628C90[558 * v89], pt) )
            v88 = v89;
          ++v89;
        }
        if ( v88 == dword_7370C0 )
          v88 = -1;
        if ( dword_6086D4 != v88 )
        {
          if ( dword_6086D4 != -1 )
            sub_4CFB30(hDlg, dword_60871C, (RECT *)&dword_628C90[558 * dword_6086D4]);
          dword_6086D4 = v88;
          if ( dword_6086D4 != -1 )
            sub_4CFB30(hDlg, dword_60871C, (RECT *)&dword_628C90[558 * dword_6086D4]);
        }
        if ( !dword_608710 )
        {
          if ( !j_PtInRect(&stru_609120, pt) || dword_6086A8 )
          {
            if ( !j_PtInRect(&stru_609120, pt) )
            {
              if ( dword_6086A8 )
              {
                dword_6086A8 = 0;
                j_InvalidateRect(hDlg, (const RECT *)&v87, 1);
              }
            }
          }
          else
          {
            dword_6086A8 = 1;
            j_InvalidateRect(hDlg, (const RECT *)&v87, 1);
          }
        }
        return 0;
      }
      if ( a2 == 312 )
        goto LABEL_87;
    }
    return j_DefWindowProcA(hDlg, a2, wParam, lParam);
  }
  if ( a2 != 15 )
  {
    switch ( a2 )
    {
      case 1:
        v52 = 1;
        dword_7370C0 = -1;
        dword_62C038 = -1;
        dword_608710 = 0;
        dword_6086A8 = 0;
        dword_6086D4 = -1;
        sub_45A040((int)hDlg, 0, 0);
        sub_4CEA20();
        return result;
      case 2:
        sub_4D5240((int)&szHelp, (int)Filename);
        sub_4D5260((int)&szHelp, (int)"\\duel.hlp");
        j_WinHelpA(dword_715780, &szHelp, 2u, 0);
        j_KillTimer(hDlg, 1u);
        sub_436400();
        sub_45A160();
        j_DeleteDC(hdcSrc);
        j_DeleteDC(dword_6086D8);
        sub_4CF1B0(
          hDlg,
          dword_60871C,
          (int)dword_608718,
          (int)&dword_6086B8,
          (int)dword_6086E4,
          (int)dword_6086D0,
          (int)dword_60870C,
          dword_6086A4,
          dword_608714);
        sub_4CF4D0((BOOL)&dword_62C2C0);
        j_PostQuitMessage(0);
        return 0;
      case 7:
        if ( dword_7370C0 != -1 )
        {
          if ( dword_62C038 != -1 )
          {
            if ( dword_628538 )
            {
              if ( j_IsWindowVisible(dword_628538) )
                j_SetFocus(dword_628538);
            }
          }
        }
        return 0;
      case 5:
        if ( !wParam )
        {
          if ( !dword_4EED20 )
          {
            sub_4CF2E0(hDlg, dword_6086D0, dword_6086A4, dword_608714);
            sub_4CF050(hDlg, (int)&dword_6086D0, (int)&dword_6086A4, (int)&dword_608714);
            v30 = j_GetDC(hDlg);
            v107 = v30;
            sub_4CFA30(v30, hDlg, dword_60871C);
            sub_4CEEB0();
            j_SetRect(&stru_6090A0, rcSrc.left + 30, rcSrc.top + 235, rcSrc.left + 570, rcSrc.top + 545);
            j_LPtoDP(v107, &pt, 2);
            j_LPtoDP(v107, (struct tagPOINT *)&stru_6090A0, 2);
            j_ReleaseDC(hDlg, v107);
            sub_4CF610(hDlg);
            sub_4CF810(hDlg, dword_7370C0, nPos);
            if ( dword_628538 )
              j_MoveWindow(
                dword_628538,
                stru_6090A0.left,
                stru_6090A0.top,
                stru_6090A0.right - stru_6090A0.left,
                stru_6090A0.bottom - stru_6090A0.top,
                1);
          }
        }
        if ( wParam == 1 )
        {
          dword_4EED20 = 1;
        }
        else
        {
          if ( !wParam )
            dword_4EED20 = 0;
        }
        return 0;
      default:
        return j_DefWindowProcA(hDlg, a2, wParam, lParam);
    }
    return j_DefWindowProcA(hDlg, a2, wParam, lParam);
  }
  j_EnterCriticalSection(&stru_790500);
  hdcDest = hDC;
  v63 = j_SaveDC(hDC);
  sub_466050(hdcDest);
  j_GetClientRect(hDlg, (struct tagRECT *)&rc);
  j_GetUpdateRect(hDlg, (struct tagRECT *)&x1, 0);
  j_IntersectClipRect(hdcDest, x1, y1, right, bottom);
  v70 = j_BeginPaint(hDlg, &Paint);
  j_SetMapMode(hdcDest, 1);
  if ( dword_60871C )
  {
    j_StretchBlt(hdcDest, rc, yDest, v72 - rc, v73 - yDest, hdcSrc, 0, 0, dword_6086EC, dword_6086F0, 0xCC0020u);
  }
  else
  {
    v20 = j_GetStockObject(2);
    j_FillRect(hdcDest, (const RECT *)&rc, v20);
  }
  sub_4CFA30(hdcDest, hDlg, dword_60871C);
  if ( dword_7370C0 != -1 )
  {
    if ( j_GetSystemMetrics(73) )
    {
      if ( dword_608718 )
        sub_466540(hdcDest, (int)&dword_628C90[558 * dword_7370C0], dword_608718);
    }
    else
    {
      if ( !*(&dword_6086B8 + dword_7370C0) )
      {
        j_sprintf(&v74, "%s\\WINBK_ShellSphereAnimation16-%d.bmp", dword_7876F0, dword_7370C0 + 1);
        v21 = sub_466720(&v74, 0);
        *(&dword_6086B8 + dword_7370C0) = v21;
        v75 = v21;
        if ( v21 )
        {
          j_GetObjectA(v75, 24, &v76);
          dword_6090C8[4 * dword_7370C0] = v77 / 12 + dword_6090C0[4 * dword_7370C0];
          dword_6090CC[4 * dword_7370C0] = v78 + dword_6090C4[4 * dword_7370C0];
        }
      }
      v22 = *(&dword_6086B8 + dword_7370C0);
      v75 = *(&dword_6086B8 + dword_7370C0);
      if ( v22 )
      {
        j_GetObjectA(v75, 24, &v76);
        wSrc = v77 / 12;
        hSrc = v78;
        j_CopyRect((struct tagRECT *)&xDest, (const RECT *)&dword_6090C0[4 * dword_7370C0]);
        j_StretchBlt(
          hdcDest,
          xDest,
          v82,
          v83 - xDest,
          v84 - v82,
          dword_6086D8,
          wSrc * dword_6086B4,
          0,
          wSrc,
          hSrc,
          0xCC0020u);
      }
    }
  }
  if ( dword_6086A8 )
  {
    if ( !dword_608710 )
    {
      if ( dword_6086E4 )
        sub_4662F0(hdcDest, (int)&stru_609090, dword_6086E4);
    }
  }
  if ( dword_608710 )
  {
    if ( dword_60870C )
      sub_4662F0(hdcDest, (int)&rcSrc, dword_60870C);
  }
  j_RestoreDC(hDC, v63);
  hdcDest = v70;
  sub_466050(v70);
  j_BitBlt(hdcDest, x1, y1, right - x1, bottom - y1, hDC, x1, y1, 0xCC0020u);
  sub_4CFA30(hdcDest, hDlg, dword_60871C);
  if ( dword_6086D4 != -1 )
  {
    if ( dword_608718 )
      sub_466540(hdcDest, (int)&dword_628C90[558 * dword_6086D4], dword_608718);
  }
  j_EndPaint(hDlg, &Paint);
  j_LeaveCriticalSection(&stru_790500);
  return 1;
}
can I maze of ith your snowstorm?

http://home.comcast.net/~gmzombie/index.html old stuff in here. don't use this stuff right now till I get time to get back into it and readjust.
gmzombie
 
Posts: 857
Joined: 26 Feb 2009, 01:05
Location: Wyoming, Mi
Has thanked: 200 times
Been thanked: 51 times

Re: More Art Mod Opportunities

Postby 0rion79 » 05 Nov 2009, 10:24

eww... it is really hard, isn't it? But I still hope that we'll be able to add new buttons soon. Also, even if it would be an utopia to add a button for every single set that is represented in Microprose game by at least one card, maybe it would be enough to add a button for each "block" that has enough cards in it and then drop all the others into the Astral set, as they are.
User avatar
0rion79
 
Posts: 1520
Joined: 24 Feb 2009, 18:33
Location: Italy
Has thanked: 94 times
Been thanked: 61 times

Re: More Art Mod Opportunities

Postby Salbei » 05 Nov 2009, 18:09

i would be fine with :

"C" for common
"U" for uncommon
"R" for rare

just to see if it works ^^ could still take a deeper look into it after that to add the edition symbols.
Retired a long time ago. I will not reply.
User avatar
Salbei
DEVELOPER
 
Posts: 1053
Joined: 04 Jun 2009, 10:58
Location: Germany
Has thanked: 3 times
Been thanked: 2 times

Previous

Return to Development

Who is online

Users browsing this forum: No registered users and 27 guests


Who is online

In total there are 27 users online :: 0 registered, 0 hidden and 27 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 27 guests

Login Form