Buy Official Merchandise!
Forumwarz is the first "Massively Single-Player" online RPG completely built around Internet culture.

You are currently looking at Flamebate, our community forums. Players can discuss the game here, strategize, and role play as their characters.

You need to be logged in to post and to see the uncensored versions of these forums.

Log in or Learn about Forumwarz

Civil Discussion
Switch to Role-Playing Civil Discussion

Viewing a Post

BirdofPrey

Avatar: 2037 Sun May 10 02:46:48 -0400 2009
10

[Team Shortbus]

Level 10 Troll

I lick her up afterwards (After her great times session too! Yum!)

holy ****! the first screenshot! and it sucks bum!

http://img214.imageshack.us/img214/4738/6692144114461195fb4.gif

Why the **** am I showing you a picture of an empty frame? Well, that’s actually an empty demo map, with empty space in the middle and stone walls surrounded the outside. It was mainly a test to see if SDL_TTF was going to serve my purposes, and it seems to be fine! I might hunt around for a better font and try to optimize that a little bit, but it works and that’s good enough for me right now.

and a snippet of the displaying code to show you guys the bull**** programmers have to deal with:

	for (x = 0; x < MAXCOLUMNS; x++){
		for (y = 0; y < MAXROWS; y++){
			if (currentmap.mapgrid[x][y]->tile_type == WALL){
				c = "#";
			}
			else {
				c = " ";
			}
			offset.x = x * TILEWIDTH;
			offset.y = y * fontheight + fontheight * 2;
			character = TTF_RenderText_Shaded(font, c, color, bgcolor);
			
			if (character == NULL){
				return 5;
			}
			SDL_BlitSurface(character, NULL, screen, &offset);
		}
	}
	SDL_FreeSurface(character);
	SDL_Flip(screen);

BirdofPrey edited this message on 06/18/2008 6:55AM
Internet Delay Chat
Have fun playing!
To chat with other players, you must Join Forumwarz or Log In now!