Pelles C forum

C language => User contributions => Topic started by: Diddl on August 27, 2007, 08:32:27 PM

Title: WinRott v2.24 for Pelles-C ("Rise of the Triad")
Post by: Diddl on August 27, 2007, 08:32:27 PM
WinRott v2.24 Source (for Pelles C) (http://www.oe1dwj.net/files/WinRott_2.24.rar)

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.
Title: Re: WinRott v2.24 for Pelles-C ("Rise of the Triad")
Post by: AlexN on August 28, 2007, 08:40:39 AM
WinRott v2.24 Source (for Pelles C) (http://www.oe1dwj.net/files/WinRott_2.24.rar)


There is no project-file (ppj) in the archive-file.  :(

Best regards
Alex
Title: Re: WinRott v2.24 for Pelles-C ("Rise of the Triad")
Post by: Diddl on August 28, 2007, 12:40:31 PM
the project file (ppj) is included. you can find it within /c folder.
Title: Re: WinRott v2.24 for Pelles-C ("Rise of the Triad")
Post by: AlexN on August 29, 2007, 09:11:40 AM
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.  :(
Title: Re: WinRott v2.24 for Pelles-C ("Rise of the Triad")
Post by: JohnF on August 29, 2007, 10:46:16 AM
You have to correct this sort of thing in WinRott224.ppj too.

Code: [Select]
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
Title: Re: WinRott v2.24 for Pelles-C ("Rise of the Triad")
Post by: Diddl on August 29, 2007, 11:14:56 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.

Title: Re: WinRott v2.24 for Pelles-C ("Rise of the Triad")
Post by: JohnF on August 29, 2007, 11:47:55 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


Title: Re: WinRott v2.24 for Pelles-C ("Rise of the Triad")
Post by: Diddl on August 29, 2007, 05:50:13 PM
here the missing SDL include files and 3 SDL concerning libs. The link above now has the complete package (including SDL).

.
Title: Re: WinRott v2.24 for Pelles-C ("Rise of the Triad")
Post by: Diddl on August 29, 2007, 05:54:02 PM
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.