Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
 Brain Games Forums : Developers
Subject Topic: Port of Road Fighter to Haiku Post ReplyPost New Topic
Message << Prev Topic | Next Topic >>

Joined: 12 July 2011
Location: France
Posts: 1
Posted: 12 July 2011 at 23:15 | IP Logged Quote pulkomandy

Hello there,
I made a port of Road Fighter to my favorite Operating System, Haiku.

Grab it here :

There were very little changes needed to the source, all related to strange use of strupr. You should avoid this function, since it's nonstandard, and providing your own equivalent shouldn't be too hard (hint: use toupper() for converting a single char).

Since strupr works in-place and overwrites the source string ; and SDL_GetKeyName returns a const char*, you end up trying to write inside a const char*. This is bad thing, and under Haiku, it will crash the game when entering the key redefinition menu.
Back to Top View pulkomandy's Profile Search for other posts by pulkomandy Visit pulkomandy's Homepage Send Private Message Add to Buddy List

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

Powered by Web Wiz Forums version 7.01
Copyright ©2001-2003 Web Wiz Guide

This page was generated in 0,1719 seconds.