1
Fork 0
mirror of https://github.com/redstrate/Novus.git synced 2025-05-09 10:57:44 +00:00
novus/parts/luab/luabpart.h
Joshua Goins dab4a698b2 Decompile Lua bytecode in Data Explorer
The game has *tons* of Lua scripts for event scripting, and are very
interesting to explore. I had to do manually call luadec before, but now
it should be much easier by automatically decompiling Lua scripts in the
Data Explorer.
2025-04-30 19:44:20 -04:00

24 lines
No EOL
431 B
C++

// SPDX-FileCopyrightText: 2025 Joshua Goins <josh@redstrate.com>
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
#include <QTableWidget>
#include <QWidget>
#include <physis.hpp>
class QTextEdit;
class LuabPart : public QWidget
{
Q_OBJECT
public:
explicit LuabPart(QWidget *parent = nullptr);
void load(physis_Buffer file);
private:
GameData *data = nullptr;
QTextEdit *m_codeEdit = nullptr;
};