Compare commits
3 Commits
feature/pr
...
develop
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
44a80184b3 | ||
|
|
061fc1e564 | ||
|
|
796a47ad38 |
@@ -369,7 +369,7 @@
|
||||
RelativePath=".\src\source\DataModelV2\SoundService.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\src\source\DataModelV2\ThumbnailGeneratorInstance.cpp">
|
||||
RelativePath=".\ThumbnailGeneratorInstance.cpp">
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\src\source\DataModelV2\WorkspaceInstance.cpp">
|
||||
|
||||
@@ -523,7 +523,7 @@
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\src\source\DataModelV2\ThumbnailGeneratorInstance.cpp"
|
||||
RelativePath=".\ThumbnailGeneratorInstance.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
|
||||
13
Documentation/index.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<html>
|
||||
<head>
|
||||
<title> RBX05R Documentation </title>
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
<div class="content" style="text-align:center;">
|
||||
<h1> ROBLOX 2005 Recreation documentation </h1>
|
||||
<br>
|
||||
<h4> Current for: r360 </h4>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
BIN
Installer/setup.png
Normal file
|
After Width: | Height: | Size: 6.4 KiB |
BIN
PartsOld.bmp
Normal file
|
After Width: | Height: | Size: 11 KiB |
@@ -10,4 +10,4 @@ Equivalent to known features of 05 as it stood in October 2005 with the 'Morgan
|
||||
|
||||
## Credits
|
||||
- Morgan McGuire, creator of G3D - his old pre-2006 website for the only existing colour pictures of 2005 era roblox on the internet, as well as a couple of helpful emails. He assisted roblox development in the 2004-2006 timeframe.
|
||||
- David Baszucki and Erik Cassel (1967-2013, RIP) - for creating roblox
|
||||
- David Baszucki and Erik Cassel - for creating roblox
|
||||
|
||||
BIN
oldcontent/cursor.png
Normal file
|
After Width: | Height: | Size: 576 B |
BIN
oldcontent/cursor2.png
Normal file
|
After Width: | Height: | Size: 637 B |
BIN
oldcontent/font/arial-small.fnt
Normal file
BIN
oldcontent/font/arial.fnt
Normal file
BIN
oldcontent/font/arialblack-small.fnt
Normal file
BIN
oldcontent/font/arialblack.fnt
Normal file
BIN
oldcontent/font/arialround.fnt
Normal file
BIN
oldcontent/font/ariaround-small.fnt
Normal file
BIN
oldcontent/font/dominant-small.fnt
Normal file
BIN
oldcontent/font/lighttrek-small.fnt
Normal file
BIN
oldcontent/font/lighttrek.fnt
Normal file
BIN
oldcontent/images/ArrowCursor.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
oldcontent/images/ArrowFarCursor.png
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
oldcontent/images/DragCursor.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
oldcontent/images/DropperCursor.png
Normal file
|
After Width: | Height: | Size: 353 B |
BIN
oldcontent/images/FillCursor.png
Normal file
|
After Width: | Height: | Size: 433 B |
BIN
oldcontent/images/FlagCursor.png
Normal file
|
After Width: | Height: | Size: 628 B |
BIN
oldcontent/images/FlatCursor.png
Normal file
|
After Width: | Height: | Size: 595 B |
BIN
oldcontent/images/GlueCursor.png
Normal file
|
After Width: | Height: | Size: 665 B |
BIN
oldcontent/images/GrabCursor.png
Normal file
|
After Width: | Height: | Size: 2.2 KiB |
BIN
oldcontent/images/GrabRotateCursor.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
oldcontent/images/HammerCursor.png
Normal file
|
After Width: | Height: | Size: 2.4 KiB |
BIN
oldcontent/images/HammerDownCursor.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
BIN
oldcontent/images/HammerOverCursor.png
Normal file
|
After Width: | Height: | Size: 2.8 KiB |
BIN
oldcontent/images/HingeCursor.png
Normal file
|
After Width: | Height: | Size: 627 B |
BIN
oldcontent/images/LockCursor.png
Normal file
|
After Width: | Height: | Size: 788 B |
BIN
oldcontent/images/MotorCursor.png
Normal file
|
After Width: | Height: | Size: 660 B |
BIN
oldcontent/images/ResizeCursor.png
Normal file
|
After Width: | Height: | Size: 552 B |
BIN
oldcontent/images/SpawnCursor.png
Normal file
|
After Width: | Height: | Size: 655 B |
BIN
oldcontent/images/UnAnchorCursor.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
oldcontent/images/UnlockCursor.png
Normal file
|
After Width: | Height: | Size: 798 B |
BIN
oldcontent/images/WeldCursor.png
Normal file
|
After Width: | Height: | Size: 522 B |
BIN
oldcontent/images/surface.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
oldcontent/images/surfacebr.png
Normal file
|
After Width: | Height: | Size: 14 KiB |
BIN
roblox_RN1_icon.ico
Normal file
|
After Width: | Height: | Size: 29 KiB |
@@ -20,6 +20,6 @@ private:
|
||||
bool hasHandles;
|
||||
int handleGrabbed;
|
||||
Vector3 center;
|
||||
Vector3 CenterOffset;
|
||||
Vector3 centerOffset;
|
||||
Sphere handles[6];
|
||||
};
|
||||
|
||||
@@ -19,6 +19,16 @@
|
||||
#include "Listener/DeleteListener.h"
|
||||
#include "Listener/ToolbarListener.h"
|
||||
|
||||
#ifndef _DEBUG
|
||||
#if _MSC_VER== 1310
|
||||
#define VS03_WORKAROUND &
|
||||
#else
|
||||
#define VS03_WORKAROUND
|
||||
#endif
|
||||
#else
|
||||
#define VS03_WORKAROUND
|
||||
#endif
|
||||
|
||||
MenuButtonListener menuListener = MenuButtonListener();
|
||||
ToolbarListener toolbar = ToolbarListener();
|
||||
GUDButtonListener gud = GUDButtonListener();
|
||||
@@ -280,13 +290,13 @@ GuiRootInstance::GuiRootInstance() : _message(""), _messageTime(0)
|
||||
button->setButtonListener(menuListener);
|
||||
|
||||
ImageButtonInstance* instance = new ToggleImageButtonInstance(
|
||||
Texture::fromFile(&GetFileInPath("/content/images/Run.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/Run_ovr.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/Run_dn.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/Run.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/Run_ovr.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/Run_dn.png")),
|
||||
NULL,
|
||||
Texture::fromFile(&GetFileInPath("/content/images/Stop.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/Stop_ovr.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/Stop_dn.png"))
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/Stop.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/Stop_ovr.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/Stop_dn.png"))
|
||||
);
|
||||
instance->setButtonListener(menuListener);
|
||||
instance->name = "go";
|
||||
@@ -296,17 +306,17 @@ GuiRootInstance::GuiRootInstance() : _message(""), _messageTime(0)
|
||||
|
||||
|
||||
instance = makeImageButton(
|
||||
Texture::fromFile(&GetFileInPath("/content/images/ArrowTool.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/ArrowTool_ovr.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/ArrowTool_dn.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/ArrowTool_ds.png")));
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/ArrowTool.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/ArrowTool_ovr.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/ArrowTool_dn.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/ArrowTool_ds.png")));
|
||||
instance->size = Vector2(50,50);
|
||||
instance->position = Vector2(15, 90);
|
||||
instance->setParent(this);
|
||||
instance->name = "Cursor";
|
||||
instance->setButtonListener(msl);
|
||||
|
||||
instance = makeImageButton(Texture::fromFile(&GetFileInPath("/content/images/ScaleTool.png")),Texture::fromFile(&GetFileInPath("/content/images/ScaleTool_ovr.png")),Texture::fromFile(&GetFileInPath("/content/images/ScaleTool_dn.png")),Texture::fromFile(&GetFileInPath("/content/images/ScaleTool_ds.png")));
|
||||
instance = makeImageButton(Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/ScaleTool.png")),Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/ScaleTool_ovr.png")),Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/ScaleTool_dn.png")),Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/ScaleTool_ds.png")));
|
||||
instance->size = Vector2(40,40);
|
||||
instance->position = Vector2(0, 140);
|
||||
instance->setParent(this);
|
||||
@@ -315,10 +325,10 @@ GuiRootInstance::GuiRootInstance() : _message(""), _messageTime(0)
|
||||
|
||||
|
||||
instance = makeImageButton(
|
||||
Texture::fromFile(&GetFileInPath("/content/images/MoveTool.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/MoveTool_ovr.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/MoveTool_dn.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/MoveTool_ds.png")));
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/MoveTool.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/MoveTool_ovr.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/MoveTool_dn.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/MoveTool_ds.png")));
|
||||
instance->size = Vector2(40,40);
|
||||
instance->position = Vector2(40, 140);
|
||||
instance->setParent(this);
|
||||
@@ -326,10 +336,10 @@ GuiRootInstance::GuiRootInstance() : _message(""), _messageTime(0)
|
||||
instance->setButtonListener(msl);
|
||||
|
||||
instance = makeImageButton(
|
||||
Texture::fromFile(&GetFileInPath("/content/images/SelectionRotate.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/SelectionRotate_ovr.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/SelectionRotate.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/SelectionRotate_ovr.png")),
|
||||
NULL,
|
||||
Texture::fromFile(&GetFileInPath("/content/images/SelectionRotate_ds.png")));
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/SelectionRotate_ds.png")));
|
||||
instance->size = Vector2(30,30);
|
||||
instance->position = Vector2(10, 175);
|
||||
instance->setParent(this);
|
||||
@@ -337,10 +347,10 @@ GuiRootInstance::GuiRootInstance() : _message(""), _messageTime(0)
|
||||
instance->setButtonListener(rbl);
|
||||
|
||||
instance = makeImageButton(
|
||||
Texture::fromFile(&GetFileInPath("/content/images/SelectionTilt.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/SelectionTilt_ovr.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/SelectionTilt.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/SelectionTilt_ovr.png")),
|
||||
NULL,
|
||||
Texture::fromFile(&GetFileInPath("/content/images/SelectionTilt_ds.png")));
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/SelectionTilt_ds.png")));
|
||||
instance->size = Vector2(30,30);
|
||||
instance->position = Vector2(40, 175);
|
||||
instance->setParent(this);
|
||||
@@ -349,10 +359,10 @@ GuiRootInstance::GuiRootInstance() : _message(""), _messageTime(0)
|
||||
|
||||
|
||||
instance = makeImageButton(
|
||||
Texture::fromFile(&GetFileInPath("/content/images/Delete.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/Delete_ovr.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/Delete_dn.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/Delete_ds.png")));
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/Delete.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/Delete_ovr.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/Delete_dn.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/Delete_ds.png")));
|
||||
instance->size = Vector2(40,46);
|
||||
instance->position = Vector2(20, 284);
|
||||
instance->setParent(this);
|
||||
@@ -360,9 +370,9 @@ GuiRootInstance::GuiRootInstance() : _message(""), _messageTime(0)
|
||||
instance->setButtonListener(delet);
|
||||
|
||||
instance = makeImageButton(
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraZoomIn.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraZoomIn_ovr.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraZoomIn_dn.png")));
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraZoomIn.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraZoomIn_ovr.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraZoomIn_dn.png")));
|
||||
instance->size = Vector2(34,25);
|
||||
instance->floatBottom = true;
|
||||
instance->floatRight = true;
|
||||
@@ -372,9 +382,9 @@ GuiRootInstance::GuiRootInstance() : _message(""), _messageTime(0)
|
||||
instance->setButtonListener(cam);
|
||||
|
||||
instance = makeImageButton(
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraZoomOut.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraZoomOut_ovr.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraZoomOut_dn.png")));
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraZoomOut.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraZoomOut_ovr.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraZoomOut_dn.png")));
|
||||
instance->size = Vector2(34,26);
|
||||
instance->floatBottom = true;
|
||||
instance->floatRight = true;
|
||||
@@ -384,9 +394,9 @@ GuiRootInstance::GuiRootInstance() : _message(""), _messageTime(0)
|
||||
instance->setButtonListener(cam);
|
||||
|
||||
instance = makeImageButton(
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraPanLeft.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraPanLeft_ovr.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraPanLeft_dn.png")));
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraPanLeft.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraPanLeft_ovr.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraPanLeft_dn.png")));
|
||||
instance->size = Vector2(34,34);
|
||||
instance->floatBottom = true;
|
||||
instance->floatRight = true;
|
||||
@@ -396,9 +406,9 @@ GuiRootInstance::GuiRootInstance() : _message(""), _messageTime(0)
|
||||
instance->setButtonListener(cam);
|
||||
|
||||
instance = makeImageButton(
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraPanRight.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraPanRight_ovr.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraPanRight_dn.png")));
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraPanRight.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraPanRight_ovr.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraPanRight_dn.png")));
|
||||
instance->size = Vector2(34,34);
|
||||
instance->floatBottom = true;
|
||||
instance->floatRight = true;
|
||||
@@ -408,9 +418,9 @@ GuiRootInstance::GuiRootInstance() : _message(""), _messageTime(0)
|
||||
instance->setButtonListener(cam);
|
||||
|
||||
instance = makeImageButton(
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraCenter.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraCenter_ovr.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraCenter_dn.png")));
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraCenter.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraCenter_ovr.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraCenter_dn.png")));
|
||||
instance->size = Vector2(34,20);
|
||||
instance->floatBottom = true;
|
||||
instance->floatRight = true;
|
||||
@@ -420,9 +430,9 @@ GuiRootInstance::GuiRootInstance() : _message(""), _messageTime(0)
|
||||
instance->setButtonListener(cam);
|
||||
|
||||
instance = makeImageButton(
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraTiltUp.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraTiltUp_ovr.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraTiltUp_dn.png")));
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraTiltUp.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraTiltUp_ovr.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraTiltUp_dn.png")));
|
||||
instance->size = Vector2(24,24);
|
||||
instance->floatBottom = true;
|
||||
instance->floatRight = true;
|
||||
@@ -432,9 +442,9 @@ GuiRootInstance::GuiRootInstance() : _message(""), _messageTime(0)
|
||||
instance->setButtonListener(cam);
|
||||
|
||||
instance = makeImageButton(
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraTiltDown.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraTiltDown_ovr.png")),
|
||||
Texture::fromFile(&GetFileInPath("/content/images/CameraTiltDown_dn.png")));
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraTiltDown.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraTiltDown_ovr.png")),
|
||||
Texture::fromFile(VS03_WORKAROUND GetFileInPath("/content/images/CameraTiltDown_dn.png")));
|
||||
instance->size = Vector2(24,24);
|
||||
instance->floatBottom = true;
|
||||
instance->floatRight = true;
|
||||
|
||||
@@ -57,7 +57,7 @@ void DraggerTool::onMouseMoved(Mouse mouse)
|
||||
break;
|
||||
}
|
||||
|
||||
CenterOffset = handles[handleGrabbed].center;
|
||||
centerOffset = handles[handleGrabbed].center;
|
||||
|
||||
Vector3 intersection1 = ray.intersection(mouse.getPlane());
|
||||
Vector3 intersection2 = ray.intersection(mouse.getInversePlane());
|
||||
@@ -77,7 +77,7 @@ void DraggerTool::onMouseMoved(Mouse mouse)
|
||||
if ( ((int)part->getSize().z)%2 == 1 )
|
||||
intersection1.z += 0.5;
|
||||
|
||||
part->setPosition(intersection1 + (part->getPosition() - CenterOffset));
|
||||
part->setPosition(intersection1 + (part->getPosition() - centerOffset));
|
||||
}
|
||||
else if(intersection2.isFinite())
|
||||
{
|
||||
@@ -90,7 +90,7 @@ void DraggerTool::onMouseMoved(Mouse mouse)
|
||||
|
||||
//intersection2.y = mouse.getInversePlane() + part->getSize().y/2 - 0.5;
|
||||
|
||||
part->setPosition(intersection2 + (part->getPosition() - CenterOffset));
|
||||
part->setPosition(intersection2 + (part->getPosition() - centerOffset));
|
||||
}
|
||||
|
||||
float offset = 2;
|
||||
|
||||