#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include <math.h>

struct FloatColor
{
    float r,g,b,a;
};

struct IntColor
{
    union
    {
        struct 
        {
            unsigned int r : 8;
            unsigned int g : 8;
            unsigned int b : 8;
            unsigned int a : 8;
        };
        
        unsigned int rgba;
    };
    
};

bool FindMatch(uint32* pData)
{
    for ( uint32 i = 1; i < DATA_SIZE; ++i )
    {
        for ( uint32 j = 0; j < i; ++j)
        {
            if ( pData[i] == pData[j] )
                return true;
        }
    }

    return false;
}
Your SVG viewer cannot display html.
012C1060 55                   push        ebp  
012C1061 8B EC                mov         ebp,esp  
012C1063 83 E4 C0             and         esp,0FFFFFFC0h  
012C1066 83 EC 74             sub         esp,74h  
012C1069 53                   push        ebx  
012C106A 56                   push        esi  
012C106B 57                   push        edi  
012C106C 8D 44 24 70          lea         eax,[esp+70h]  
012C1070 0F 57 C0             xorps       xmm0,xmm0  
012C1073 50                   push        eax  
012C1074 66 0F 13 44 24 4C    movlpd      qword ptr [esp+4Ch],xmm0  
012C107A FF 15 04 20 2C 01    call        dword ptr ds:[012C2004h]  
012C1080 DF 6C 24 70          fild        qword ptr [esp+70h]  
012C1084 F2 0F 10 0D 38 21 2C 01 movsd       xmm1,mmword ptr ds:[012C2138h]  
012C108C 8B 35 00 20 2C 01    mov         esi,dword ptr ds:[012C2000h]  
012C1092 DD 5C 24 68          fstp        qword ptr [esp+68h]  
012C1096 BB F0 4D 32 01       mov         ebx,1324DF0h  
012C109B DD 44 24 68          fld         qword ptr [esp+68h]  
012C109F C7 44 24 44 0A 00 00 00 mov         dword ptr [esp+44h],0Ah  
012C10A7 DD 5C 24 68          fstp        qword ptr [esp+68h]  
012C10AB F2 0F 10 44 24 68    movsd       xmm0,mmword ptr [esp+68h]  
012C10B1 F2 0F 5E 05 48 21 2C 01 divsd       xmm0,mmword ptr ds:[012C2148h]  
012C10B9 F2 0F 5E C8          divsd       xmm1,xmm0  
012C10BD F2 0F 11 4C 24 68    movsd       mmword ptr [esp+68h],xmm1  
012C10C3 E8 38 FF FF FF       call        012C1000  
012C10C8 8D 44 24 58          lea         eax,[esp+58h]  
012C10CC 50                   push        eax  
012C10CD FF D6                call        esi  
012C10CF 68 A0 86 01 00       push        186A0h  
012C10D4 BA 70 68 38 01       mov         edx,1386870h  
012C10D9 B9 F0 4D 32 01       mov         ecx,1324DF0h  
012C10DE E8 0D 01 00 00       call        012C11F0  
012C10E3 83 C4 04             add         esp,4  
012C10E6 B9 04 00 00 00       mov         ecx,4  
012C10EB EB 03                jmp         012C10F0  
012C10ED 8D 49 00             lea         ecx,[ecx]
Your SVG viewer cannot display html.
 struct inputVert {
     float4 pos   : POSITION;
     float4 color : COLOR0;
 };
 
 struct outputVert {
     float4 pos   : POSITION;
     float4 color : COLOR0;
 };
 
 outputVert main(inputVert IN, uniform float4x4 modelViewProj) {
     outputVert OUT;
     OUT.pos     = mul(modelViewProj, IN.pos);
     OUT.color   = IN.color; 
     return OUT;
 } 
Your SVG viewer cannot display html.
_main:
 push        ebp  
 mov         ebp,esp  
 and         esp,0FFFFFFF8h  
 push        dword ptr ds:[00383038h]  
 call        00381960  
 mov         ecx,dword ptr ds:[00383050h]  
 push        eax  
 call        00381770  
 mov         ecx,eax  
 call        dword ptr ds:[0038302Ch]  
 mov         ecx,eax  
 call        dword ptr ds:[00383030h]  
 push        dword ptr ds:[00383038h]  
 push        21h  
 push        0Ah  
 call        00381975  
 mov         ecx,dword ptr ds:[00383050h]  
 add         esp,8  
 push        eax  
 call        00381770  
 mov         ecx,eax  
 call        dword ptr ds:[0038302Ch]  
 mov         ecx,eax  
 call        dword ptr ds:[00383030h]  
 push        3831C8h  
 call        dword ptr ds:[003830DCh]  
 add         esp,4  
 xor         eax,eax  
 mov         esp,ebp  
 pop         ebp  
 ret   
Your SVG viewer cannot display html.
Layer 1 Layer 1

Games

Future Home of Random Games

justincrawford.net