Skip to content

Commit

Permalink
Released
Browse files Browse the repository at this point in the history
  • Loading branch information
Svxy committed May 31, 2023
0 parents commit eb4b340
Show file tree
Hide file tree
Showing 7,585 changed files with 677,440 additions and 0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
documents/
Art/Character-animations/
Art/Character-models/
game/exportart/
game/exportartlibrary/
game/cd/GC
game/cd/PC
game/cd/ps2
game/cd/xbox
game/libs

The Simpsons Hit & Run.zip
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<h2 align=center>Simpsons Hit & Run 2003 Source Code</h2>

<br>

<p align=center><b>Decided to do something dumb today and upload stolen and slightly cleaned up source code from 2003 of <a href='https://en.wikipedia.org/wiki/The_Simpsons:_Hit_%26_Run'>The Simpsons: Hit & Run</a> video game for the PS2 Xbox and PC, in which I found on an unknown-ish forum that I'm not going to mention here.</b></p>

<br>

<h3 align=center><sup>A download for a compiled development/debug version of the game is in the releases tab, the rest of this repo is on <a href='https://mega.nz/folder/kBhiACKI#QUjjgq2yqYBhiqpxkbZjBw'>MEGA</a> since there are way too many files to upload at once to GitHub. The MEGA folder will include a ton of additional assets and scripts for compiling/building the game yourself. (documents will still not be included)</sup></h3>

<h4 align=center><b>Enjoy :)</b></h4>

<br>

<p align=center><sup><b>NOTE:</b> I didn't include the 'documents/' folder in this repo because it contains private information about Radical's (2003) development team and their project notes, vacation schedules etc.</sup></p>
363 changes: 363 additions & 0 deletions game/build/VCMacros.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,363 @@
'------------------------------------------------------------------------------
'FILE DESCRIPTION: New Macro File
'------------------------------------------------------------------------------

Sub GetClassAndMethod()
'DESCRIPTION: A description was not provided.


'Begin Recording
ActiveDocument.Selection.CharRight
'Select bits of the line
ActiveDocument.Selection.FindText "("
ActiveDocument.Selection.CharLeft
ActiveDocument.Selection.WordLeft dsExtend, 3
ActiveDocument.Selection.Copy
'Time to paste
ActiveDocument.Selection.LineUp
ActiveDocument.Selection.EndOfLine
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// "
ActiveDocument.Selection.Paste
ActiveDocument.Selection.NewLine
'End Recording
End Sub

Sub GetParameters()
'DESCRIPTION: A description was not provided.


'Begin Recording
ActiveDocument.Selection.CharRight
ActiveDocument.Selection.FindText "("
ActiveDocument.Selection.CharLeft
ExecuteCommand "GoToMatchBraceExtend"
ActiveDocument.Selection.Copy
ActiveDocument.Selection.LineUp
ActiveDocument.Selection.Paste
'End Recording
End Sub

Sub GetReturnType()
'DESCRIPTION: A description was not provided.

'Begin Recording
ActiveDocument.Selection.CharRight
ActiveDocument.Selection.WordRight dsExtend
ActiveDocument.Selection.Copy
ActiveDocument.Selection.LineUp
ActiveDocument.Selection.EndOfLine
ActiveDocument.Selection.Paste
'End Recording
End Sub

Sub CommentBlock()
'DESCRIPTION: Comments a member function.


'Begin Recording
ActiveDocument.Selection = "//============================================================================="
call GetClassAndMethod()
ActiveDocument.Selection = "//============================================================================="
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Description:"
ActiveDocument.Selection.Indent
ActiveDocument.Selection = "Comment"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Parameters:"
ActiveDocument.Selection.Indent
call GetParameters()
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Return:"
ActiveDocument.Selection.Indent
ActiveDocument.Selection.Indent
call GetReturnType()
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//============================================================================="
ActiveDocument.Selection.CharRight
'End Recording
End Sub

Sub GetFileNameUppercase()
ActiveDocument.Selection = ActiveDocument.Name
ActiveDocument.Selection.FindText ".", dsMatchBackward
ActiveDocument.Selection = "_"
ActiveDocument.Selection.WordLeft
ActiveDocument.Selection.WordRight dsExtend, 3
ActiveDocument.Selection.ChangeCase dsUppercase
ActiveDocument.Selection.EndOfLine
End Sub

Sub HeaderTemplate()
'DESCRIPTION: This is a header template

ActiveDocument.IndentSize = 0
ActiveDocument.Selection.WordLeft dsExtend, 1
ActiveDocument.Selection.Copy
ActiveDocument.Selection = "//============================================================================="
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Copyright (C) 2002 Radical Entertainment Ltd. All rights reserved."
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// File: "
ActiveDocument.Selection.Paste
ActiveDocument.Selection.WordLeft dsExtend, 1
ActiveDocument.Selection.ChangeCase dsLowercase
ActiveDocument.Selection.WordRight
ActiveDocument.Selection = ".h"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Description: Blahblahblah"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// History: "
ActiveDocument.Selection = Date
ActiveDocument.Selection = " + Created -- NAME"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//============================================================================="
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "#ifndef "
ActiveDocument.Selection.Paste
ActiveDocument.Selection.WordLeft dsExtend, 1
ActiveDocument.Selection.ChangeCase dsUppercase
ActiveDocument.Selection.WordRight
ActiveDocument.Selection = "_H"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "#define "
ActiveDocument.Selection.Paste
ActiveDocument.Selection.WordLeft dsExtend, 1
ActiveDocument.Selection.ChangeCase dsUppercase
ActiveDocument.Selection.WordRight
ActiveDocument.Selection = "_H"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//========================================"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Nested Includes"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//========================================"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//========================================"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Forward References"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//========================================"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//============================================================================="
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Synopsis: Blahblahblah"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//============================================================================="
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "class "
ActiveDocument.Selection.Paste
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "{"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "public:"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = " "
ActiveDocument.Selection.Paste
ActiveDocument.Selection = "();"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "virtual ~"
ActiveDocument.Selection.Paste
ActiveDocument.Selection = "();"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.CharLeft dsMove, 1
ActiveDocument.Selection = "private:"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = " //Prevent wasteful constructor creation."
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.Paste
ActiveDocument.Selection = "( const "
ActiveDocument.Selection.Paste
ActiveDocument.Selection = "& "
ActiveDocument.Selection.Paste
ActiveDocument.Selection.WordLeft dsExtend, 1
ActiveDocument.Selection.ChangeCase dsLowercase
ActiveDocument.Selection.WordRight
ActiveDocument.Selection = " );"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.Paste
ActiveDocument.Selection = "& operator=( const "
ActiveDocument.Selection.Paste
ActiveDocument.Selection ="& "
ActiveDocument.Selection.Paste
ActiveDocument.Selection.WordLeft dsExtend, 1
ActiveDocument.Selection.ChangeCase dsLowercase
ActiveDocument.Selection.WordRight
ActiveDocument.Selection = " );"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.CharLeft dsMove, 1
ActiveDocument.Selection = "};"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "#endif //"
ActiveDocument.Selection.Paste
ActiveDocument.Selection.WordLeft dsExtend, 1
ActiveDocument.Selection.ChangeCase dsUppercase
ActiveDocument.Selection.WordRight
ActiveDocument.Selection = "_H"
ActiveDocument.Selection.NewLine

End Sub

Sub CPPTemplate()
'DESCRIPTION: This is a CPP template


ActiveDocument.Selection = "//============================================================================="
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Copyright (C) 2002 Radical Entertainment Ltd. All rights reserved."
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// File: <CLASSNAME>.cpp"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Description: Implement <CLASSNAME>"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// History: "
ActiveDocument.Selection = Date
ActiveDocument.Selection = " + Created -- NAME"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//============================================================================="
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//========================================"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// System Includes"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//========================================"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Foundation Tech"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "#include <raddebug.hpp>"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//========================================"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Project Includes"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//========================================"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "#include <<CLASSNAME>.h>"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//******************************************************************************"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Global Data, Local Data, Local Classes"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//******************************************************************************"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//******************************************************************************"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Public Member Functions"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//******************************************************************************"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//=============================================================================="
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// <CLASSNAME>::<CLASSNAME>"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//=============================================================================="
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Description: Constructor."
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Parameters: None."
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Return: N/A."
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//=============================================================================="
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "<CLASSNAME>::<CLASSNAME>()"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "{"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "}"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//=============================================================================="
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// <CLASSNAME>::~<CLASSNAME>"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//=============================================================================="
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Description: Destructor."
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Parameters: None."
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Return: N/A."
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//=============================================================================="
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "<CLASSNAME>::~<CLASSNAME>()"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "{"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "}"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//******************************************************************************"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "// Private Member Functions"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//"
ActiveDocument.Selection.NewLine
ActiveDocument.Selection = "//******************************************************************************"
ActiveDocument.Selection.NewLine
End Sub
Loading

0 comments on commit eb4b340

Please sign in to comment.