• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.

VolkerG

Members
  • Content count

    744
  • Joined

  • Last visited

Community Reputation

151 Neutral

About VolkerG

  • Rank
    Advanced Member
  1. To be exact, the first version will create the new object A on the stack (as local variable), not on the heap.
  2. LARGE_INTEGER is a union. You should be able to use the QuadPart member to do calculations.
  3. It has been said before: Boost is not an STL implementation. It "only" contains extensions to the Standard C++ library. You will still need a STL to use boost. So you can't choose between STLPort and Boost.
  4. The first problem I see is that you cast the pointer to the double fin to a LARGE_INTEGER pointer. This will result in garbage beeing stored in fin. So the varaibale you pass as argument to QueryPerformanceCounter must be of type LARGE_INTEGER. The same holds for QueryPerformanceFrequency.
  5. What compiler version are you using? What library causes the error? Was the library built to be used with the version of your compiler?
  6. Have you tried to define _WIN32_WINNT to be 0x0500 either in stdafx.h (if you use precompiled headers), before including the very first header or in the compiler settings tab?
  7. Have a look at this: Using the Windows Headers. This should help you solving the problem, since this function is only defined starting with Windows 2000, according to the Platform SDK documentation. Edit: Don't have the VC 6 headers by hand, but you may need the latest headers that are included in the Platform SDK. You serach in WinGDI.h for AddFontResourceEx and you should see if it is defined at all (guarded by #if (_WIN32_WINNT >= 0x0500)).
  8. Quote:Original post by TDragon Look again :D -- that's Vampyre_Dark's code, not the OP's. Ups, my fault :(. But the argument stays the same. Just casting away the problem may easily lead to hard to detect errors (for example when moving from 32 to 64 bit windows, which should not be a problem in the OPs case).
  9. At first glance, the return type of your dialog procedure is nor specified. From what I read in the platform SDK it should be INT_PTR. I Don't think that just casting away the problem is the way to go in that case.
  10. You must not delete elements you did not allocate using new. Since you never allocated the elements of v on the heap you must not delete them. just delete a, that will free all memory in your example.
  11. typedef typename C::Key should be what you are looking for.
  12. Or are you talking about import libraries vs. dynamic loading? In that case I would use the first one where possible (see post above). It's easier to code since the compiler takes care of the correct calling and you don't have to manage the function pointers for the entry points by yourself.
  13. Just a quick hint: http://mathworld.wolfram.com/Radian.html
  14. Quote:Original post by Clueless The impression I got is that in that case a constructor CResource( std::string filename ); would be called ... but CResource() isn't. Is CResource( std::string filename ); the standard constructor in that case? That was what I was trying to talk about ;) If you don't call the baseclass constructor explicitly the constructor without any parameters will be called, regardless of the constructor in your derived class. how comes you think something different happens?
  15. erase returns the iterator that follows the element beeing erased. You just have to modify your loop to use the return value in that case. You should find an example (for list or vector) if you search the forum.