Search:

Type: Posts; User: timmeh

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,478

    Sorry, the overlap function was actually written...

    Sorry, the overlap function was actually written a bit before the other, and wasn't written with different sized rooms in mind... I should have made that clear in the original post.

    I'll go ahead...
  2. Replies
    2
    Views
    1,478

    Bit-Field Class Help

    In a recent program of mine I make a fairly high number of over-lap checks at once. The checks take place between two 2D vectors of integers (well, a vector of vectors of ints). At the moment, it...
  3. Replies
    3
    Views
    1,050

    I can give Lua a shot, but I don't really need...

    I can give Lua a shot, but I don't really need that kind of power, and didn't know if there might be a simpler option.

    How well does Lua work with C++ classes and functions in them?

    From a...
  4. Replies
    3
    Views
    1,050

    Simple Scripting Language Advice

    I'm looking at extending my current game project with some sort of scripting language, but most of the mainstream ones, like LUA, would be overkill for this. A script would have access to a single...
  5. Replies
    6
    Views
    1,236

    Thanks Sebastiani (and everyone else for that...

    Thanks Sebastiani (and everyone else for that matter)! This actually just became relevant to my game as well, now that I know what all it can be used for.

    Before I forget, what I meant in my...
  6. Replies
    5
    Views
    1,358

    I believe the arguments are for command-line...

    I believe the arguments are for command-line arguments, and the integer holds the number of arguments, and the character arrays hold you arguments themselves, but I'm not sure.
  7. Replies
    6
    Views
    1,236

    Okay, so I'm guessing if I were to pass a...

    Okay, so I'm guessing if I were to pass a function (1|3) it would look (in bits at least) something like this: 3010?

    If I were to pass that (1|3) as an integer to a function, could I check if a 3...
  8. Replies
    6
    Views
    1,236

    |'s in function arguments

    I've been using PDCurses in a rogue-like project recently, and one of the functions (in PDCurses) allows me to enter an arbitrary number of arguments, separated by a |. I.E. I could call ...
  9. Replies
    1
    Views
    2,858

    Saving Struct to Binary File/Copying Structs

    I've tried following the instructions here, but I'm having some trouble loading the files. I think this may be because of the strings and vector I use in my structure, as I found a post while...
  10. Replies
    3
    Views
    940

    Hmmm.. I didn't even know about the \d escape...

    Hmmm.. I didn't even know about the \d escape sequence.... well, thank's for the heads up, if I have any problems with it I know how to fix it :)
  11. Replies
    3
    Views
    940

    String Height in Characters

    I've been working on a game in which I want to display recent events in a sort of action log on the character's info screen. The log is a box on the right-hand side of the screen, with a fixed...
  12. Replies
    132
    Views
    264,040

    Sticky: Dwarf Caretaker v1.3

    Game Title: Dwarf Caretaker
    Version: 1.3
    Operating System: Built for Windows XP, although it may work on others with minimal changes.
    Compiler: Code::Blocks w/ Mingw
    Graphics Library: PDCurses...
  13. Replies
    6
    Views
    1,996

    I think it is quoted, not replied too, cause I...

    I think it is quoted, not replied too, cause I could have sworn I could edit the first post (if this topic) yesterday, even after kermit replied... not 100% sure though. I can't edit either one now,...
  14. Replies
    6
    Views
    1,996

    Hmmm... this could be a problem... anyone know...

    Hmmm... this could be a problem... anyone know for sure?

    [EDIT]: Seems like it... I can edit this one (obviously)....
  15. Replies
    6
    Views
    1,996

    Can't Edit My Posts...

    For some reason I can't seem to edit my posts... normally it wouldn't bother me all that much, but I really need to update my game's post in the "Post Your Games Here" topic, and I don't want to...
  16. Replies
    132
    Views
    264,040

    Sticky: Game Title: Dwarf Caretaker Version: 0.5...

    Game Title: Dwarf Caretaker
    Version: 0.5
    Operating System: XP
    Compiler: Code::Blocks w/ Mingw
    Graphics Library: Console
    Description: A sort of sim game (very) loosely based on the world sim...
  17. Replies
    6
    Views
    1,026

    Okay, I understand now, thanks for your help!

    Okay, I understand now, thanks for your help!
  18. Replies
    6
    Views
    1,026

    Sorry, I worded that wrong. Perhaps it would be...

    Sorry, I worded that wrong. Perhaps it would be best if I came up with an example, since I don't know the correct terminology.

    If the player pressed [L] would it return 76 or 4C or does it...
  19. Replies
    6
    Views
    1,026

    It isn't, and that works, thanks! Just to make...

    It isn't, and that works, thanks!

    Just to make sure, getch() returns an int equal to the ASCII code for the key pressed, correct? Is that a decimal ASCII code, a hex ACSII code or am I completely...
  20. Replies
    6
    Views
    1,026

    cin.get() Pausing Help

    I recently finished a tutorial for the creation of a CRAPS game. However, the finished game was hard to follow because the text in the console got longer and longer, and no matter how well...
  21. Replies
    6
    Views
    3,685

    Cool, thanks!

    Cool, thanks!
  22. Replies
    6
    Views
    3,685

    Oh! I understand now. Sorry about that...

    Oh! I understand now. Sorry about that laserlight, I completely missed what you were saying...

    I moved it into the main loop and it works perfectly. Thanks, both of you!

    Just for future...
  23. Replies
    6
    Views
    3,685

    What part of it? The part designated in the...

    What part of it?

    The part designated in the errors are the lines 11 and 14, the ones using the push_back function.

    From what I can tell, I am doing it exactly as shown here.
  24. Replies
    6
    Views
    3,685

    Vector Trouble - Dev-C++

    I've been working on my text adventure, and in storing all the rooms I've come across a problem. How to store them. I want to keep them all in a vector, so they can be accessed easily, but when I...
  25. Replies
    9
    Views
    5,970

    I'm currently borrowing a (slightly dated) copy...

    I'm currently borrowing a (slightly dated) copy of Sam's Teach Yourself C++ from the local library. However, it's a few years old, and some of the syntax is a bit off. Being one of the early...
Results 1 to 25 of 26
Page 1 of 2 1 2