Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

1525 Excellent

About yellowsputnik

  • Rank

Personal Information

  • Role
  • Interests
  1. Also, talk to a lawyer if you're uncertain.
  2. yellowsputnik

    C++ : Extend class in dll

    Is this, in fact, not what COM technology is all about? Although it includes additional features such as reference counting as well.     The reason this works is in fact COM: the ABI for virtual abstract classes was standardized in Windows compilers to support COM interfaces. At least that's what I heard a number of years ago.
  3. yellowsputnik

    C++ : Extend class in dll

    Look into virtual abstract base classes. The dll can return a pointer to a descendant in a factory function and the host can use it because it knows the base class. (EDIT: I see Wyrframe's link talks about them, so read that).   The main reason for this is to support dlls made in different languages and with different compilers than yours.   Do make sure you define calling conventions and data (struct) alignment. For calling conventions, cdecl and stdcall are good choices.
  4. Since the list sits on one phone and that acts as the server, I'd just let the other phone ask if it's ok to remove a word and wait for the server's reply before continuing. I don't think you need actual locks to implement this.
  5. yellowsputnik

    Cloning Win8 to new HDD

    I use Clonezilla. I once used it for Windows 8 and that worked fine.   If I recall correctly (it's been a while), what I did was: 1. make backup of source partition 2. swap drives 3. write backup to new drive 4. resize partition in Windows
  6. yellowsputnik

    Two or more monitors

    I always feel a bit lost using just one screen, though it helps if that one screen is big enough.   With three screens I have email and Skype on the right side, web browser, Visual Studio and the running programs I work on on the middle screen, with file browser and Delphi on the left. Other applications are used on specific screens as well, most of the time.   One thing I like a lot in Windows 10 is snapping a window to one side of a screen, giving even more useable desktop space without having too many free floating windows (something that distracts me).   The benefit to my productivity is that I can easily watch multiple things without having to bring them to the foreground all the time.   I agree with Luckless, decide what you want to see and if you want to see it at the same time. Also, do you maximize windows, snap them together, let them overlap ... whatever feels best to you determines if you would work better with multiple screens or not.
  7. yellowsputnik

    Independence Day 2.... how do you feel about it as a programmer?

      Specifically for War of the Worlds, in the original book the Martians were catapulted towards earth in various intervals. They probably had little to no communication with home (especially after they became sick), so it's conceivable that there wouldn't be a second attempt because of uncertainty.   On the other hand, if they're anything like humans, there would have almost certainly been a second attempt that was just that much better prepared.
  8. First, test your binary on the VirusTotal site: http://www.virustotal.com/   It will analyze with more or less all known anti-virus engines. This will tell you if there might actually be a virus in it, but mostly it helps to reassure the user that there's no virus and the file is safe.   Then go to the anti-virus program's website and post it as a false positive. They usually have some way of doing that. It will help prevent future detections.   Finally, consider code signing your binaries, as has been suggested here. I'm not sure of any "cheap" solutions for this, but it will probably be more important with every year that goes by.
  9. yellowsputnik

    Is my Game Ready For Greenlight

    The video doesn't show how much fun the game is. So like DifferentName said, try to show things you can build, not just what you build with. Show something that users would want to build themselves.
  10. yellowsputnik

    DLL or Static Library

      I don't think that's a good reason to use dll's. It would probably be better to use other methods for these kinds of resources, the simplest being to just load the files directly from a subdir of the game directory.   As was said before, the main reason to consider using dll's would be some type of plugin. For an engine, you could consider making a dll for the audio engine, one for the graphics engine and so on. But here I'd still go for a static library myself.
  11. yellowsputnik

    Anyone tried Screeps, the MMO for programmers?

    Sounds cool, though I'll wait for the final version to play it.   The main reason I'm interested is that I had an idea similar to this about 20 years ago, but of course I never got very far with it. So I want to see if it comes close to what I envisioned and if it's actually fun to play :)
  12. yellowsputnik

    What's next after knowing how to program?

    I ignored the DX parts, I used SDL myself. It was just a very simple 2D game, however.   It was very useful to me because I struggled with some concepts regarding the game loop, multiplayer games and other stuff that I can't remember at the moment. Even outside of game programming it pointed me to some tools I now use in my job as a programmer.   It's also not as thick a book as the other two I read (am reading), I think that was good for me at that point. Too much information might've overwhelmed me.   I think all three books will help you out, I preferred GCC but that's because I read it at the right time. Now I'm reading books (and websites etc) mostly to learn new things as I had stopped learning and lost my passion for programming a bit the last 10 years.
  13. yellowsputnik

    What's next after knowing how to program?

    I got quite some useful information from Game Coding Complete (4th edition). It's also fairly fun to read.   I'm reading Game Engine Architecture atm. It seems like it's more of an overview book to me. That's not necessarily bad, but it might have been more useful to me if I had read it earlier.   Introduction To Game Development (2nd edition) was also quite good, more details than Game Engine Architecture, a lot of information.
  14. yellowsputnik

    What's next after knowing how to program?

    If you write everything from scratch, then technically you've made a game engine. But if you don't try to make that code work for other (abstract, non-existing) games but instead just try to get your game to work, then that doesn't really matter. The bad thing about trying to write a game engine is that it takes away a lot of time and effort from finishing the game. In the end, you'll most likely not finish the game you were trying to create in the first place.   I wouldn't recommend writing absolutely everything from scratch, if that's your intention. Think about what you want to learn to do and find ready-made libraries, sdks etc for the rest. There's no shame in relying on the work of others for parts of your game. And some of these things are real time wasters, you can spend weeks getting some tiny feature to work just right on a specific computer while others have already solved that problem and provided the solution for you to use.
  15. yellowsputnik

    What exactly is a file header?

    A file header is part of the file, it's not really separate from it. It's just a number of bytes that's defined (in the file's format description) as having some specific meaning.   So you don't do anything special to read or write it, it's just some more data.   For your own file format, you could define a struct that holds a value to identify the file as something that you know (some pre-defined 32bit integer value, for example) and then some useful information (count of the items you've written, for example).
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!