Tagged: C

2

C++ MySQL Database Class

/************** * File Name: database.cpp * Author: Design1online.com, LLC * Purpose: mysql database class **************/ #include “database.h” /************** * Purpose: default constructor, initialize class values * Precondition: none * Postcondition: none **************/ database::database() {...

0

PLEX Source Code Version 0.07

Time spent – 4 hours. Okay, so I have the selector working now. There’s one issue with the pink color, so its not completely transparent like it should be but that’s a small fix...

3

PLEX Source Code Version 0.06

Total Time – 8 hours I’ve fixed scrolling. The board now scrolls without a problem. To simplify things I’m currently working on selecting and moving blocks from only the top two levels. Another thing...

0

Useful Allegro Functions

/*********** * Purpose: draw the buffer behind an image * Precondition: image to use * Postcondition: returns the image with the buffer behind it ***********/ BITMAP *blitBigger(BITMAP *image) { clear(buffer); //clear the buffer (or...

0

Plex Source Code Version 0.05

Okay, I spent another two hours working on the movement problems I was having in Plex. After printing the moves out in my debugger I figured out the reason why movement wasn’t working was...

1

Plex Source Code Version 0.04

Total Time – 4 hours So I have the board scrolling now without a problem. However when I check character movement to see if the character is moving to a valid block it doesn’t...

3

PLEX Character Puzzles

Total Time – 2 hours. I would have spent more time working on my code but it seems that my laptop has died and I have to go get it fixed. Joy… For each...

0

PLEX Loading Maps From A File

Total Time – 6 hours. Okay, so I finally got a map to load from a file. I had a few problems I had to deal with. Reading the file in I had issues...

1

PLEX Game File Formats

This week I’ve been dealing with game file formats. Each character in the game has to have different maps that the game starts off with initially. The NPC will start off in different locations,...