Click here to Skip to main content
15,879,017 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Do you remember SkiFree... I HAVE TO TELL YOU THIS............................................

Do you know that Chris Pirih used C for OS/2 as the software which developed SkiFree, Version 1.0. I have a fake version of it. Read:


/****************************************************************************

	PROGRAM: Ski32.c

	PURPOSE: SkiFree game for Windows XP,Vista and above

	FUNCTIONS:

	WinMain() - calls initialization function, processes message loop
	InitApplication() - initializes window data and registers window
	InitInstance() - saves instance handle and creates main window
	MainWndProc() - processes messages
	GetTickCount() - obtains the number of milliseconds elapsed since startup of system
	LocalAlloc() - allocates the number of bytes specified by the wBytes parameter by the local heap
	LoadString() - loads string table
	LoadBitmap() - loads bitmap
	LoadIcon() - loads icon

	COMMENTS:

		This application is linked with USER32.dll,KERNEL32.dll and GDI32.dll and also WINMM.dll which is a
		libary module.

****************************************************************************/



#include <windows.h>
#include "user32.h"                /* used to link with USER32.dll */
#include "kernel32.h"                /* used to link with KERNEL.dll */
#include "gdi32.h"                /* used to link with GDI32.dll */
#include "winmm.h"                /* used to link with WINMM.dll */
#include "stdafx.h"               /* used to link with STDAFX.dll*/
#include <lvp\utility.h>//has white screen and makes bitmaps transparent

void Movement()
//a series of if statements that get the player to move
//right know in only on direction correctly that is forward
//6 for right
//4 for left
//2 for down
//8 for up
{	
	int move, s, n;
//******************
	skistart();//start skiing
	do{
	if(s==1){
	cin>>move;
	if(move==6){
		clrscr();
		n=m2();
		s=2;
	}
	else{
		mstart();
		s=1;
	}
	}
//*******************
	if(s=2){
		cin>>move;
		if(move==6){
			clrscr();
			m3();
			s=3;
		}
		else if(move==4){
			clrscr();
			mstart();
			s=1;
		}
		else
			m2();
			s=2;
		}
//******************
	if(s=3){
		cin>>move;
		if(move==6){
			clrscr();
			m4();
			s=4;
		}
		else if(move==4){
			clrscr();
			m2();
			s=2;
		}
		else
			m3();
			s=3;
		}
//******************
		if(s=4){
		cin>>move;
		if(move==6){
			clrscr();
			m5();
			s=5;
		}
		else if(move==4){
			clrscr();
			m3();
			s=3;
		}
		else
			m4();
			s=4;
		}
//*******************
		if(s=5){
		cin>>move;
		if(move==6){
			clrscr();
			m6();
			s=6;
		}
		else if(move==4){
			clrscr();
			m4();
			s=4;
		}
		else
			m5();
			s=5;
		}
//*******************
		if(s=6){
		cin>>move;
		if(move==6){
			clrscr();
			m7();
			s=7;
		}
		else if(move==4){
			clrscr();
			m5();
			s=5;
		}
		else
			m6();
			s=6;
		}
	}while(s!=2000);//2000 is the finale position of the player before the yeti eats him.
}



It was made in Quick C for Windows, it is a competitor with Borland's C (Turbo). Is it correct. I do not need the web version's code. Many programmers have asked for it. Can you correct it. I made it myself.

What I have tried:

Here is the link to download. Copy and paste the link.


Download: WinWorld: QuickC 1.0 for Windows[^]

I have the link to this as well:

WinWorld: Borland C++ 1.0 (OS/2)[^]

Copy and Paste as well.
Posted
Updated 18-Apr-21 5:09am
v8

1 solution

You would have to speak to the author - Chris Pirih - as decompilation is nearly always specifically against the T&C's you agree to when you install the game.
You could start here: The Most Officialest SkiFree Home Page[^], but since it was licenced from him by Microsoft, there is a good chance that you won't get the source code.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900