WinRott v2.24 for Pelles-C ("Rise of the Triad")

Started by Diddl, August 27, 2007, 08:32:27 PM

Previous topic - Next topic

Diddl

WinRott v2.24 Source (for Pelles C)

Many years ago when I was young, "Rise of the Triad" was one of my favourite games. I was happy to hear the source code was released by 3dRealms (Apogee). A Programmer named Birger has made a port to Win32 - WinRott. Birger uses Visual C++ v7 for this port. I have changed some code to make it run with Pelles C, and it rocks!


There is only one small problem cause Pelles C direct X supports is missing a function: DirectPlayLobbyCreate()


This port is based on Direct-X 8. It runs very fine for me including Sound, Music and Gates Timer. It supports shareware levels, full Rott and Extreme Rott.



Thanks to 3dRealms for releasing source code of Rott.
Many thanks to great Birger for his WinRott port!
Many thanks to Pelles for his great C Compiler!!


have fun!


## Update: Multiplayer now works fine, thanks to Robert! Link is updated.

AlexN

best regards
Alex ;)

Diddl

the project file (ppj) is included. you can find it within /c folder.

AlexN

Quote from: Diddl on August 28, 2007, 12:40:31 PM
the project file (ppj) is included. you can find it within /c folder.

Thank you, I found it in the meantime (i expected it in the root-directory, where the dsp-file is).  :)

But now I miss the SDL-headerfile in the PellesC-Include directory.  :(
best regards
Alex ;)

JohnF

You have to correct this sort of thing in WinRott224.ppj too.


output\isr.obj: \
isr.c \
..\..\..\..\..\Programme\PellesC\Include\SDL.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_main.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_stdinc.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_config.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_platform.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_config_minimal.h \
..\..\..\..\..\Programme\PellesC\Include\begin_code.h \
..\..\..\..\..\Programme\PellesC\Include\close_code.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_audio.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_error.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_endian.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_mutex.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_thread.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_rwops.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_cdrom.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_cpuinfo.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_events.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_active.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_keyboard.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_keysym.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_mouse.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_video.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_joystick.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_quit.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_loadso.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_timer.h \
..\..\..\..\..\Programme\PellesC\Include\SDL_version.h
$(CC) $(CCFLAGS) "$!" -Fo"$@"


John

Diddl

Quote from: JohnF on August 29, 2007, 10:46:16 AM
You have to correct this sort of thing in WinRott224.ppj too.

It's automatically created by this Pelles Import Project from VC.


I will post the SDL files too. Maybe the sdl.lib is missing too.


JohnF

#6
Quote from: Diddl on August 29, 2007, 11:14:56 AM
Quote from: JohnF on August 29, 2007, 10:46:16 AM
You have to correct this sort of thing in WinRott224.ppj too.

It's automatically created by this Pelles Import Project from VC.

Ok.

Quote
I will post the SDL files too. Maybe the sdl.lib is missing too.

That's a good idea.

edit:

It appears that we need sdl_mixer.lib too.

HUNTBGIN.WAD
HUNTBGIN.RTL
HUNTBGIN.RTC

Maybe other files as well?

John



Diddl

here the missing SDL include files and 3 SDL concerning libs. The link above now has the complete package (including SDL).

.

Diddl

Quote from: JohnF on August 29, 2007, 11:47:55 AM
HUNTBGIN.WAD
HUNTBGIN.RTL
HUNTBGIN.RTC

Maybe other files as well?

this one (free shareware files) or the full versions dark war or extreme rott.