Kevin Vance - Holy moley! KevEdit really was portable! I did (an admittedly…

Entries | Archive | Friends | Friends' Friends | User Info

01:10 am

Saturday, March 9th, 2002
Previous Entry Share Next Entry
Holy moley! KevEdit really was portable!

I did (an admittedly crappy job of making) KevEdit glue for exo's SDL functions, and KevEdit compiled with almost no changes. The only thing I had to comment out was the file selector code, since it's DOS centric. But other than that, KevEdit compiles and runs! The colors are wrong, and it takes ~60 seconds to draw the screen, but I can fix both of those. I managed to press 'Q' to quit, and 'Y' to confirm, even though I thought there would be no way in hell my SDL keyboard code (a stub, basically) would work. After some fixing, I should have a screenshot of KevEdit running natively in linux.

Current Mood excited
Current Music Dark - Acid-rush
Link )Reply )

[User Picture]From: myth
2002-03-09 01:47 pm (UTC)
Tee hee. :) Congratulations.
(Reply) (Thread)
[User Picture]From: bitman
2002-03-11 10:10 am (UTC)
Coolness... I told you that most everything is POSIX in there. The music code won't work of course, but that is alreadyt #ifdef'ed out for you.

What exactly do you mean by "file selector?"

(Reply) (Thread)
[User Picture]From: kvance
2002-03-11 10:40 am (UTC)
...well I'll be damned. It does work. I remember getting the distinct impression that it didn't compile at all on my desktop machine, but I only had to change D_OK to X_OK on the laptop to make it work.

Heh. Problem solved :)

Now I just have to optimize the graphics. This will change how some display stuff works, unfortunately, but this is slow as molasses on my p233.
(Reply) (Parent) (Thread)