Permalink
Switch branches/tags
Nothing to show
Commits on Oct 16, 2012
  1. Added auto_ptr for InputManager class in main.cpp

    This fixes a memory leak created in commit
    17246b4.
    Shane committed Oct 16, 2012
  2. Fixed a potential window->full screen crash

    When switching between full screen and window mode, the target
    resolution is now grabbed from the ConfigIni class, rather than using
    the current window resolution. This prevents a crash where the game
    would try to use an oddly sized full screen resolution, if the window
    size was somehow changed. Note that proper screen resolution validation
    in the ConfigIni class is still not yet implemented.
    Shane committed Oct 16, 2012
  3. Removed auto_ptr for InputManager from App class

    Removed auto_ptr for InputManager from the Application class, since the
    InputManager class is a singleton since a while now.
    Shane committed Oct 16, 2012
  4. Swapped render system from OpenGL to DirectX

    Issues with right and bottom sides of GUI boxes doesn't seem to be
    present with the OpenGL renderer.
    Shane committed Oct 16, 2012
  5. Fix for GUICanvas::removeElement().

    Previously, after the given element was deleted, the iteration through
    the vector of elements was not being stopped, causing a crash when
    trying to iterate to the next.
    Shane committed Oct 16, 2012
  6. Game is now closable within the main menu.

    Changed Application class, so that now the game can be closed from
    outside the render loop. Application class is now also a singleton. Also
    added functionality for game to close when clicking 'Yes' in the 'Exit
    game?' confirmation box within the game's main menu.
    Shane committed Oct 16, 2012
  7. Progress on the main menu.

    Shane committed Oct 16, 2012
Commits on Oct 15, 2012
  1. Some fixes to input + Main Menu progress

    Shane committed Oct 15, 2012
  2. Missed out something from previous commit.

    Commented out include of OISJoyStick.h
    Shane committed Oct 15, 2012
  3. Added InputManager class.

    InputManager class based on "The Player v2.0" demo, by Adam Simmons.
    http://princeofcode.com/player.php
    Shane committed Oct 15, 2012
  4. Release builds now hide the console.

    Shane committed Oct 15, 2012
  5. Comment fix.

    Shane committed Oct 15, 2012
  6. Program code is now const-correct.

    Shane committed Oct 15, 2012
  7. Work done on MainMenuState class.

    Got 'Start Game', 'How To Play', 'Options', 'Exit Game' buttons showing
    now.
    Shane committed Oct 15, 2012
  8. Game window is now non-resizble.

    Shane committed Oct 15, 2012
  9. Got some GUI buttons showing now.

    Shane committed Oct 15, 2012
  10. Comment fix for previous commit.

    Shane committed Oct 15, 2012
  11. GameStates now always properly deleted.

    Added Application::cleanupGameStates() function, which gets called in
    the Application destructor. This ensures that the GameStates are always
    deleted, even if the program were to exit abnormally.
    Shane committed Oct 15, 2012
Commits on Oct 14, 2012
  1. Implemented GameState functionality.

    Also:
    - Added beginnings of MainMenuState class.
    - Added call to createScene() in Application::go() which apparently was
    missing until now.
    - Added basic background gradient as a test for the GUICanvas class.
    Seems to be okay, although for some reason the background gradient
    doesn't fully reach the right and bottom of the screen, even though it
    was given the correct screen dimensions to work with.
    Shane committed Oct 14, 2012
Commits on Oct 13, 2012
  1. Fixed project settings for release builds.

    Also committing newest Paddocks.vcxproj.filters file, which should've
    been in the previous commit.
    Shane committed Oct 13, 2012
  2. Added GameState abstract class.

    Shane committed Oct 13, 2012
  3. Added GUI + Canvas classes.

    Files in this commit come from 'The Player v2.0 demo' by Adam Simmons.
    http://princeofcode.com/player.php
    Shane committed Oct 13, 2012
Commits on Oct 12, 2012
  1. Working directory is now set programmatically.

    Shane committed Oct 12, 2012
  2. Fixed bug with ConfigIni class.

    Program would crash if config.ini file didn't exist.
    Shane committed Oct 12, 2012
  3. ConfigIni class finished.

    Also added casts to the resolution values in the call to
    Ogre::Root::createRenderWindow() in Application::initOgre().
    Shane committed Oct 12, 2012
  4. Program now uses settings from config.ini

    Shane committed Oct 12, 2012
  5. Made progress on ConfigIni class.

    Shane committed Oct 12, 2012
Commits on Oct 11, 2012
  1. Progress on ConfigIni class.

    Shane committed Oct 11, 2012
  2. More comment fixes.

    Shane committed Oct 11, 2012
  3. Small work on ConfigIni class.

    Plus comment fixes in pretty much every file.
    Shane committed Oct 11, 2012
Commits on Oct 10, 2012
  1. Started work on config.ini reader

    Shane committed Oct 10, 2012
  2. Fixed issue with PaddocksFrameListener

    Removed redundant destructor in Application class. Included
    PaddocksFrameListener.h in Application.h instead of using a forward
    declaration, to prevent problems with auto_ptr not calling the
    destructor of PaddocksFrameListener (even though it doesn't have one,
    it's better to have more stable code now in case one was added later).
    Shane committed Oct 10, 2012
  3. Added frame listener.

    Shane committed Oct 10, 2012