xSKOTTIEx

Members
  • Content count

    209
  • Joined

  • Last visited

Community Reputation

174 Neutral

About xSKOTTIEx

  • Rank
    Member
  1. Here is a downloadable demo for the game outlined here: http://www.gamedev.net/community/forums/topic.asp?topic_id=432964 Tell me what you guys think! Tetra Hold 'Em Install approx 2.5mb
  2. Lockless Linked List

    this code is not thread safe: void AddLL(LocklessList* l,void* data) { LocklessListItem* ni=new LocklessListItem; ni->data=data; //set data ni->prev=0; //we are the head nothing before us if(l->head) //if the list isn't empty l->head->prev=ni; //connect the old head to us l->head=ni; //we are the new head if(!l->tail) //if there is no tail l->tail=l->head; //connect use to the tail } lets say there was one element in the linked list when you call this method. and say this line was executed: if ( l->head ) which, since there is one element in the list, it would evaluate to true. now lets say there is a context switch, and that element was removed by another thread. the list is now empty and head pointer is null. l->head->prev=ni; would cause a null dereference once the context is switched back to the original thread. basically, if you have data structures that are going to be shared between threads you have to sychronize them properly. you WILL need a lock for this implementation.
  3. When I create an install of my game, any time the game is run Via a shortcut like the start bar or even auto-launch after install, the game will crash. If you go into the install folder and click on the .exe, it will run just fine. I'm pretty sure this has to do with the fact that the relative path is screwed up when trying to find some of the data files. If fullscreen.txt doesn't exist, it will create it. When i run a SHORTCUT to my game from the desktop, a fullscreen.txt will open on the desktop, even though it is not relative to the actual executable. I think this is causing the game to crash. Any ideas on why it would be doing this?
  4. game board creation question

    just starting at one spot and going throug the whole board and throwing away pieces that cause a match seemed to have worked nicely. thanks guys.
  5. game board creation question

    well, i didnt want anyone stealing my idea, but whatever, you heard it here first. the pieces are cards, with a suit and a face. and you rotate a 2x2 square of these at a time to create poker hands (all hands except pairs, including two pairs, fullhouse, straight, flush, etc) counter clockwise like hexic on the 360. the piece of doom probably does not exist in this case, especially if i build it top to bottom, and not from the outside to the middle. would the previous solution be acceptable for this application?
  6. game board creation question

    that was my intial thought, the only thing is this creates a situation where the wait could HYPOTHETICALLY take forever. if a random piece kept being chosen that would cause a match (lets say you end up in a hole such that no matter what piece you put there it will cause a match) or if the computer continually choses a matching piece, the user will wait indefinitely. or will this sort itself out really fast because the computers of today are fast. am i over thinking this?
  7. i am making a game that has a 9x9 grid of pieces, and these pieces match based on certain rules, and those pieces will dissapear and the rest will fall, etc. the board starts full, and at random. how do I create a full board randomly without creating ready-made matches? (And without it taking a long time) Any guidance would be great. As far as determining matches, I've already done this. I just need to figure out an intelligent way to populate the board initially without creating matches.
  8. quick problem

    that did it. gg thnx.
  9. quick problem

    I was unclear about my post, I'm using .Net 2003. The game engine I'm using was compiled using .NET, but I keep getting d3d8types.h errors.
  10. quick problem

    I'm trying to link against the DirectX SDK and I'm running into problems in d3d8types.h. I think it has to do with some library issue between MSVC6 and .NET 2003 (which I'm using). Any idea on what could be the problem? I've included the include and library directories for the project. ------ Build started: Project: TetrisHoldem, Configuration: Release Win32 ------ Compiling... ObjectList.cpp STATIC LIBRARY BUILD C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(68) : error C2146: syntax error : missing ';' before identifier 'x1' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(68) : error C2501: '_D3DRECT::LONG' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(68) : error C2501: '_D3DRECT::x1' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(69) : error C2146: syntax error : missing ';' before identifier 'y1' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(69) : error C2501: '_D3DRECT::LONG' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(69) : error C2501: '_D3DRECT::y1' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(70) : error C2146: syntax error : missing ';' before identifier 'x2' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(70) : error C2501: '_D3DRECT::LONG' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(70) : error C2501: '_D3DRECT::x2' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(71) : error C2146: syntax error : missing ';' before identifier 'y2' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(71) : error C2501: '_D3DRECT::LONG' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(71) : error C2501: '_D3DRECT::y2' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1328) : error C2146: syntax error : missing ';' before identifier 'Width' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1328) : error C2501: '_D3DDISPLAYMODE::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1328) : error C2501: '_D3DDISPLAYMODE::Width' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1329) : error C2146: syntax error : missing ';' before identifier 'Height' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1329) : error C2501: '_D3DDISPLAYMODE::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1329) : error C2501: '_D3DDISPLAYMODE::Height' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1330) : error C2146: syntax error : missing ';' before identifier 'RefreshRate' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1330) : error C2501: '_D3DDISPLAYMODE::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1330) : error C2501: '_D3DDISPLAYMODE::RefreshRate' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1337) : error C2146: syntax error : missing ';' before identifier 'AdapterOrdinal' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1337) : error C2501: '_D3DDEVICE_CREATION_PARAMETERS::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1337) : error C2501: '_D3DDEVICE_CREATION_PARAMETERS::AdapterOrdinal' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1339) : error C2146: syntax error : missing ';' before identifier 'hFocusWindow' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1339) : error C2501: '_D3DDEVICE_CREATION_PARAMETERS::HWND' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1339) : error C2501: '_D3DDEVICE_CREATION_PARAMETERS::hFocusWindow' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1374) : error C2146: syntax error : missing ';' before identifier 'BackBufferWidth' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1374) : error C2501: '_D3DPRESENT_PARAMETERS_::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1374) : error C2501: '_D3DPRESENT_PARAMETERS_::BackBufferWidth' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1375) : error C2146: syntax error : missing ';' before identifier 'BackBufferHeight' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1375) : error C2501: '_D3DPRESENT_PARAMETERS_::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1375) : error C2501: '_D3DPRESENT_PARAMETERS_::BackBufferHeight' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1377) : error C2146: syntax error : missing ';' before identifier 'BackBufferCount' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1377) : error C2501: '_D3DPRESENT_PARAMETERS_::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1377) : error C2501: '_D3DPRESENT_PARAMETERS_::BackBufferCount' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1382) : error C2146: syntax error : missing ';' before identifier 'hDeviceWindow' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1382) : error C2501: '_D3DPRESENT_PARAMETERS_::HWND' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1382) : error C2501: '_D3DPRESENT_PARAMETERS_::hDeviceWindow' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1383) : error C2146: syntax error : missing ';' before identifier 'Windowed' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1383) : error C2501: '_D3DPRESENT_PARAMETERS_::BOOL' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1383) : error C2501: '_D3DPRESENT_PARAMETERS_::Windowed' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1384) : error C2146: syntax error : missing ';' before identifier 'EnableAutoDepthStencil' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1384) : error C2501: '_D3DPRESENT_PARAMETERS_::BOOL' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1384) : error C2501: '_D3DPRESENT_PARAMETERS_::EnableAutoDepthStencil' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1389) : error C2146: syntax error : missing ';' before identifier 'FullScreen_RefreshRateInHz' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1389) : error C2501: '_D3DPRESENT_PARAMETERS_::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1389) : error C2501: '_D3DPRESENT_PARAMETERS_::FullScreen_RefreshRateInHz' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1390) : error C2146: syntax error : missing ';' before identifier 'FullScreen_PresentationInterval' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1390) : error C2501: '_D3DPRESENT_PARAMETERS_::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1390) : error C2501: '_D3DPRESENT_PARAMETERS_::FullScreen_PresentationInterval' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1489) : error C2146: syntax error : missing ';' before identifier 'Size' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1489) : error C2501: '_D3DVERTEXBUFFER_DESC::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1489) : error C2501: '_D3DVERTEXBUFFER_DESC::Size' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1502) : error C2146: syntax error : missing ';' before identifier 'Size' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1502) : error C2501: '_D3DINDEXBUFFER_DESC::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1502) : error C2501: '_D3DINDEXBUFFER_DESC::Size' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1513) : error C2146: syntax error : missing ';' before identifier 'Size' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1513) : error C2501: '_D3DSURFACE_DESC::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1513) : error C2501: '_D3DSURFACE_DESC::Size' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1516) : error C2146: syntax error : missing ';' before identifier 'Width' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1516) : error C2501: '_D3DSURFACE_DESC::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1516) : error C2501: '_D3DSURFACE_DESC::Width' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1517) : error C2146: syntax error : missing ';' before identifier 'Height' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1517) : error C2501: '_D3DSURFACE_DESC::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1517) : error C2501: '_D3DSURFACE_DESC::Height' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1526) : error C2146: syntax error : missing ';' before identifier 'Size' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1526) : error C2501: '_D3DVOLUME_DESC::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1526) : error C2501: '_D3DVOLUME_DESC::Size' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1528) : error C2146: syntax error : missing ';' before identifier 'Width' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1528) : error C2501: '_D3DVOLUME_DESC::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1528) : error C2501: '_D3DVOLUME_DESC::Width' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1529) : error C2146: syntax error : missing ';' before identifier 'Height' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1529) : error C2501: '_D3DVOLUME_DESC::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1529) : error C2501: '_D3DVOLUME_DESC::Height' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1530) : error C2146: syntax error : missing ';' before identifier 'Depth' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1530) : error C2501: '_D3DVOLUME_DESC::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1530) : error C2501: '_D3DVOLUME_DESC::Depth' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1536) : error C2146: syntax error : missing ';' before identifier 'Pitch' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1536) : error C2501: '_D3DLOCKED_RECT::INT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1536) : error C2501: '_D3DLOCKED_RECT::Pitch' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1543) : error C2146: syntax error : missing ';' before identifier 'Left' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1543) : error C2501: '_D3DBOX::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1543) : error C2501: '_D3DBOX::Left' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1544) : error C2146: syntax error : missing ';' before identifier 'Top' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1544) : error C2501: '_D3DBOX::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1544) : error C2501: '_D3DBOX::Top' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1545) : error C2146: syntax error : missing ';' before identifier 'Right' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1545) : error C2501: '_D3DBOX::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1545) : error C2501: '_D3DBOX::Right' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1546) : error C2146: syntax error : missing ';' before identifier 'Bottom' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1546) : error C2501: '_D3DBOX::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1546) : error C2501: '_D3DBOX::Bottom' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1547) : error C2146: syntax error : missing ';' before identifier 'Front' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1547) : error C2501: '_D3DBOX::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1547) : error C2501: '_D3DBOX::Front' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1548) : error C2146: syntax error : missing ';' before identifier 'Back' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1548) : error C2501: '_D3DBOX::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1548) : error C2501: '_D3DBOX::Back' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1553) : error C2146: syntax error : missing ';' before identifier 'RowPitch' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1553) : error C2501: '_D3DLOCKED_BOX::INT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1553) : fatal error C1003: error count exceeds 100; stopping compilation main.cpp STATIC LIBRARY BUILD C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(68) : error C2146: syntax error : missing ';' before identifier 'x1' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(68) : error C2501: '_D3DRECT::LONG' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(68) : error C2501: '_D3DRECT::x1' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(69) : error C2146: syntax error : missing ';' before identifier 'y1' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(69) : error C2501: '_D3DRECT::LONG' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(69) : error C2501: '_D3DRECT::y1' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(70) : error C2146: syntax error : missing ';' before identifier 'x2' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(70) : error C2501: '_D3DRECT::LONG' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(70) : error C2501: '_D3DRECT::x2' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(71) : error C2146: syntax error : missing ';' before identifier 'y2' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(71) : error C2501: '_D3DRECT::LONG' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(71) : error C2501: '_D3DRECT::y2' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1328) : error C2146: syntax error : missing ';' before identifier 'Width' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1328) : error C2501: '_D3DDISPLAYMODE::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1328) : error C2501: '_D3DDISPLAYMODE::Width' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1329) : error C2146: syntax error : missing ';' before identifier 'Height' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1329) : error C2501: '_D3DDISPLAYMODE::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1329) : error C2501: '_D3DDISPLAYMODE::Height' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1330) : error C2146: syntax error : missing ';' before identifier 'RefreshRate' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1330) : error C2501: '_D3DDISPLAYMODE::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1330) : error C2501: '_D3DDISPLAYMODE::RefreshRate' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1337) : error C2146: syntax error : missing ';' before identifier 'AdapterOrdinal' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1337) : error C2501: '_D3DDEVICE_CREATION_PARAMETERS::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1337) : error C2501: '_D3DDEVICE_CREATION_PARAMETERS::AdapterOrdinal' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1339) : error C2146: syntax error : missing ';' before identifier 'hFocusWindow' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1339) : error C2501: '_D3DDEVICE_CREATION_PARAMETERS::HWND' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1339) : error C2501: '_D3DDEVICE_CREATION_PARAMETERS::hFocusWindow' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1374) : error C2146: syntax error : missing ';' before identifier 'BackBufferWidth' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1374) : error C2501: '_D3DPRESENT_PARAMETERS_::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1374) : error C2501: '_D3DPRESENT_PARAMETERS_::BackBufferWidth' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1375) : error C2146: syntax error : missing ';' before identifier 'BackBufferHeight' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1375) : error C2501: '_D3DPRESENT_PARAMETERS_::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1375) : error C2501: '_D3DPRESENT_PARAMETERS_::BackBufferHeight' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1377) : error C2146: syntax error : missing ';' before identifier 'BackBufferCount' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1377) : error C2501: '_D3DPRESENT_PARAMETERS_::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1377) : error C2501: '_D3DPRESENT_PARAMETERS_::BackBufferCount' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1382) : error C2146: syntax error : missing ';' before identifier 'hDeviceWindow' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1382) : error C2501: '_D3DPRESENT_PARAMETERS_::HWND' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1382) : error C2501: '_D3DPRESENT_PARAMETERS_::hDeviceWindow' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1383) : error C2146: syntax error : missing ';' before identifier 'Windowed' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1383) : error C2501: '_D3DPRESENT_PARAMETERS_::BOOL' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1383) : error C2501: '_D3DPRESENT_PARAMETERS_::Windowed' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1384) : error C2146: syntax error : missing ';' before identifier 'EnableAutoDepthStencil' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1384) : error C2501: '_D3DPRESENT_PARAMETERS_::BOOL' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1384) : error C2501: '_D3DPRESENT_PARAMETERS_::EnableAutoDepthStencil' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1389) : error C2146: syntax error : missing ';' before identifier 'FullScreen_RefreshRateInHz' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1389) : error C2501: '_D3DPRESENT_PARAMETERS_::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1389) : error C2501: '_D3DPRESENT_PARAMETERS_::FullScreen_RefreshRateInHz' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1390) : error C2146: syntax error : missing ';' before identifier 'FullScreen_PresentationInterval' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1390) : error C2501: '_D3DPRESENT_PARAMETERS_::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1390) : error C2501: '_D3DPRESENT_PARAMETERS_::FullScreen_PresentationInterval' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1489) : error C2146: syntax error : missing ';' before identifier 'Size' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1489) : error C2501: '_D3DVERTEXBUFFER_DESC::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1489) : error C2501: '_D3DVERTEXBUFFER_DESC::Size' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1502) : error C2146: syntax error : missing ';' before identifier 'Size' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1502) : error C2501: '_D3DINDEXBUFFER_DESC::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1502) : error C2501: '_D3DINDEXBUFFER_DESC::Size' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1513) : error C2146: syntax error : missing ';' before identifier 'Size' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1513) : error C2501: '_D3DSURFACE_DESC::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1513) : error C2501: '_D3DSURFACE_DESC::Size' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1516) : error C2146: syntax error : missing ';' before identifier 'Width' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1516) : error C2501: '_D3DSURFACE_DESC::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1516) : error C2501: '_D3DSURFACE_DESC::Width' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1517) : error C2146: syntax error : missing ';' before identifier 'Height' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1517) : error C2501: '_D3DSURFACE_DESC::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1517) : error C2501: '_D3DSURFACE_DESC::Height' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1526) : error C2146: syntax error : missing ';' before identifier 'Size' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1526) : error C2501: '_D3DVOLUME_DESC::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1526) : error C2501: '_D3DVOLUME_DESC::Size' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1528) : error C2146: syntax error : missing ';' before identifier 'Width' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1528) : error C2501: '_D3DVOLUME_DESC::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1528) : error C2501: '_D3DVOLUME_DESC::Width' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1529) : error C2146: syntax error : missing ';' before identifier 'Height' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1529) : error C2501: '_D3DVOLUME_DESC::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1529) : error C2501: '_D3DVOLUME_DESC::Height' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1530) : error C2146: syntax error : missing ';' before identifier 'Depth' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1530) : error C2501: '_D3DVOLUME_DESC::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1530) : error C2501: '_D3DVOLUME_DESC::Depth' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1536) : error C2146: syntax error : missing ';' before identifier 'Pitch' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1536) : error C2501: '_D3DLOCKED_RECT::INT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1536) : error C2501: '_D3DLOCKED_RECT::Pitch' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1543) : error C2146: syntax error : missing ';' before identifier 'Left' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1543) : error C2501: '_D3DBOX::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1543) : error C2501: '_D3DBOX::Left' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1544) : error C2146: syntax error : missing ';' before identifier 'Top' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1544) : error C2501: '_D3DBOX::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1544) : error C2501: '_D3DBOX::Top' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1545) : error C2146: syntax error : missing ';' before identifier 'Right' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1545) : error C2501: '_D3DBOX::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1545) : error C2501: '_D3DBOX::Right' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1546) : error C2146: syntax error : missing ';' before identifier 'Bottom' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1546) : error C2501: '_D3DBOX::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1546) : error C2501: '_D3DBOX::Bottom' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1547) : error C2146: syntax error : missing ';' before identifier 'Front' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1547) : error C2501: '_D3DBOX::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1547) : error C2501: '_D3DBOX::Front' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1548) : error C2146: syntax error : missing ';' before identifier 'Back' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1548) : error C2501: '_D3DBOX::UINT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1548) : error C2501: '_D3DBOX::Back' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1553) : error C2146: syntax error : missing ';' before identifier 'RowPitch' C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1553) : error C2501: '_D3DLOCKED_BOX::INT' : missing storage-class or type specifiers C:\Program Files\Microsoft DirectX SDK (December 2006)\Include\d3d8types.h(1553) : fatal error C1003: error count exceeds 100; stopping compilation Generating Code... Build log was saved at "file://c:\Th\TetrisHoldem\Release\BuildLog.htm" TetrisHoldem - 204 error(s), 0 warning(s) ---------------------- Done ---------------------- Build: 0 succeeded, 1 failed, 0 skipped
  11. weird unresolved external?

    that was the first thing i did. duh. but it seems like this error can be caused from many different issues. i couldn't find a problem similar to mine.
  12. weird unresolved external?

    well, i have to use VC6. There are libraries that I am using that conflict with the 2005 STL libraries, causing it not to compile. i HAVE to use VC6. is there an answer that isn't avoiding the problem? I should be able to use fstream in VC6. I know VC6 isn't a great compiler but its the choice I made.
  13. libcp.lib(xstrcoll.obj) : error LNK2001: unresolved external symbol _errno this happens when i include <fstream> in one of my header files. I am using VC6. any ideas?
  14. What I do is have a separate list for each TYPE of game object. explosions, enemies, bullets, players, etc. this way, i dont waste processing power by doing collisions of say, explosions to bullets, which wouldn't do anything.
  15. Need insight on creating a Geomery Wars Clone

    im creating a VERY similar clone right now myself. now while some of the gameplay/graphics is different, the general idea is the same. as far as the background effects, i did a mesh of mass-spring-damper systems, and a very simple way to add geometric pressure to each node (expanding circles for explosions, etc), and it seems to run pretty fast. I'll have screen shots up soon.