Merge branch 'trunk' of https://github.com/rjindael/rbxnu into trunk
This commit is contained in:
commit
0f4110d1b1
|
|
@ -33,8 +33,8 @@ add_executable(server
|
||||||
)
|
)
|
||||||
|
|
||||||
qt_add_executable(studio
|
qt_add_executable(studio
|
||||||
src/client/studio/studiowindow.cpp
|
src/client/studio/StudioWindow.cpp
|
||||||
src/client/studio/studiowindow.hpp
|
src/include/client/studio/StudioWindow.hpp
|
||||||
src/client/studio/main.cpp
|
src/client/studio/main.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,5 @@
|
||||||
# rbxnu
|
# RBXNU
|
||||||
Decompilation of the 2008 Roblox client with QoL adjustments
|
Refreshed version of the Roblox client from 2008, including a decompilation of the engine as well as QoL adjustments throughout
|
||||||
|
|
||||||
|
# License
|
||||||
|
RBXNU is licensed under the GNU General Public License v3.0. You should have received a copy of the license with RBXNU.
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
#include "studiowindow.hpp"
|
#include <client/studio/StudioWindow.hpp>
|
||||||
|
|
||||||
StudioWindow::StudioWindow()
|
StudioWindow::StudioWindow()
|
||||||
{
|
{
|
||||||
setWindowTitle(QString("RBXNu Studio"));
|
setWindowTitle(QString("RBXNU Studio"));
|
||||||
setWindowIcon(QIcon(":/content/images/icon.png"));
|
setWindowIcon(QIcon(":/content/images/icon.png"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1,14 +1,15 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include "studiowindow.hpp"
|
|
||||||
|
#include <client/studio/StudioWindow.hpp>
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
QApplication a(argc, argv);
|
QApplication app(argc, argv);
|
||||||
StudioWindow window = StudioWindow();
|
StudioWindow window = StudioWindow();
|
||||||
|
|
||||||
window.show();
|
window.show();
|
||||||
|
|
||||||
return a.exec();
|
return app.exec();
|
||||||
}
|
}
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
#ifndef __CLIENT_STUDIO_STUDIOWINDOW_HPP__
|
|
||||||
#define __CLIENT_STUDIO_STUDIOWINDOW_HPP__
|
|
||||||
|
|
||||||
#include <QMainWindow>
|
|
||||||
#include <QOpenGLWidget>
|
|
||||||
|
|
||||||
class StudioWindow : public QMainWindow
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
public:
|
|
||||||
StudioWindow();
|
|
||||||
protected:
|
|
||||||
void closeEvent(QCloseEvent* event);
|
|
||||||
};
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
@ -0,0 +1,21 @@
|
||||||
|
#include <engine/app/v8/world/World.hpp>
|
||||||
|
|
||||||
|
RBX::World::World()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void RBX::World::preStep()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
double RBX::World::step(float timestep)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void RBX::World::update()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
@ -20,7 +20,15 @@ void RBX::Guid::generateGUID(std::string* result)
|
||||||
memset(sz, 0, sizeof(sz));
|
memset(sz, 0, sizeof(sz));
|
||||||
StringFromGUID2(&pguid)
|
StringFromGUID2(&pguid)
|
||||||
WideCharToMultiByte(0, 0, sz, 64, MultiByteStr, 64, 0, 0);
|
WideCharToMultiByte(0, 0, sz, 64, MultiByteStr, 64, 0, 0);
|
||||||
|
|
||||||
|
// construct guid
|
||||||
|
result = "RBX";
|
||||||
result += MultiByteStr;
|
result += MultiByteStr;
|
||||||
|
result->erase(40, 1);
|
||||||
|
result->erase(27, 1);
|
||||||
|
result->erase(22, 1);
|
||||||
|
result->erase(17, 1);
|
||||||
|
result->erase(3, 1);
|
||||||
#else
|
#else
|
||||||
// TBD: POSIX method
|
// TBD: POSIX method
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <QMainWindow>
|
||||||
|
#include <QOpenGLWidget>
|
||||||
|
|
||||||
|
class StudioWindow : public QMainWindow
|
||||||
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
|
StudioWindow();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void closeEvent(QCloseEvent* event);
|
||||||
|
};
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
#ifndef __APP_V8_WORLD_WORLD_HPP__
|
||||||
|
#define __APP_V8_WORLD_WORLD_HPP__
|
||||||
|
|
||||||
|
namespace RBX
|
||||||
|
{
|
||||||
|
class World
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
World();
|
||||||
|
~World();
|
||||||
|
|
||||||
|
void preStep();
|
||||||
|
double step(float timestep);
|
||||||
|
void update();
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
Loading…
Reference in New Issue