A simple working framework being used for the Torque IDE. This is Win32 only and requires http://wxdsgn.sourceforge.net (Dev-C++ WX) to compile.
This commit is contained in:
parent
fee9c2ffde
commit
3f832a4eb7
|
@ -0,0 +1 @@
|
|||
torque_ide.exe
|
|
@ -0,0 +1,2 @@
|
|||
Robert Pierce :: Started project, main developer
|
||||
<INSERT NAME HERE> :: <INSERT WHAT YOU DID HERE>
|
|
@ -0,0 +1,32 @@
|
|||
# Project: torque-ide
|
||||
# Makefile created by Dev-C++ 4.9.9.0-wx-beta-6.4
|
||||
|
||||
CPP = g++.exe
|
||||
CC = gcc.exe
|
||||
WINDRES = windres.exe
|
||||
RES =
|
||||
OBJ = torque_ide.o torque_ide_frame.o $(RES)
|
||||
LINKOBJ = torque_ide.o torque_ide_frame.o $(RES)
|
||||
LIBS = -L"c:/dev-cpp/lib" -mwindows -lwxmsw25 -lwxmsw25_gl -lwxtiff -lwxjpeg -lwxpng -lwxzlib -lwxregex -lwxexpat -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lwsock32 -lodbc32 -lopengl32
|
||||
INCS = -I"c:/dev-cpp/include"
|
||||
CXXINCS = -I"c:/dev-cpp/include/c++/3.3.1" -I"c:/dev-cpp/include/c++/3.3.1/mingw32" -I"c:/dev-cpp/include/c++/3.3.1/backward" -I"c:/dev-cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"c:/dev-cpp/include"
|
||||
BIN = torque_ide.exe
|
||||
CXXFLAGS = $(CXXINCS)-fno-rtti -fno-exceptions -fno-pcc-struct-return -fstrict-aliasing -Wall -D__WXMSW__ -D__GNUWIN32__ -D__WIN95__
|
||||
CFLAGS = $(INCS)-fno-rtti -fno-exceptions -fno-pcc-struct-return -fstrict-aliasing -Wall -fvtable-thunks -D__WXMSW__ -D__GNUWIN32__ -D__WIN95__
|
||||
|
||||
.PHONY: all all-before all-after clean clean-custom
|
||||
|
||||
all: all-before torque_ide.exe all-after
|
||||
|
||||
|
||||
clean: clean-custom
|
||||
rm -f $(OBJ) $(BIN)
|
||||
|
||||
$(BIN): $(OBJ)
|
||||
$(CPP) $(LINKOBJ) -o "torque_ide.exe" $(LIBS)
|
||||
|
||||
torque_ide.o: torque_ide.cpp
|
||||
$(CPP) -c torque_ide.cpp -o torque_ide.o $(CXXFLAGS)
|
||||
|
||||
torque_ide_frame.o: torque_ide_frame.cpp
|
||||
$(CPP) -c torque_ide_frame.cpp -o torque_ide_frame.o $(CXXFLAGS)
|
|
@ -0,0 +1,43 @@
|
|||
/*
|
||||
* Torque IDE -- An open source integrated development editor for the
|
||||
* Torque Game Engine
|
||||
*
|
||||
* Copyright (C) 2004 Robert Pierce
|
||||
*
|
||||
* Refer to the file CONTRIB.txt for the people who have helped.
|
||||
*
|
||||
* This program is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU General Public
|
||||
* License as published by the Free Software Foundation;
|
||||
* either version 2 of the License, or (at your option) any
|
||||
* later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be
|
||||
* useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public
|
||||
* License along with this program; if not, write to the Free
|
||||
* Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include "torque_ide.h"
|
||||
#include "torque_ide_frame.h"
|
||||
|
||||
IMPLEMENT_APP(torque_ide)
|
||||
|
||||
bool torque_ide::OnInit()
|
||||
{
|
||||
torque_ide_frame *main_frame = new torque_ide_frame(NULL);
|
||||
SetTopWindow(main_frame);
|
||||
main_frame->Show(TRUE);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
int torque_ide::OnExit()
|
||||
{
|
||||
return 0;
|
||||
}
|
|
@ -0,0 +1,107 @@
|
|||
[Project]
|
||||
FileName=torque_ide.dev
|
||||
Name=torque-ide
|
||||
UnitCount=6
|
||||
Type=0
|
||||
Ver=1
|
||||
ObjFiles=
|
||||
Includes=
|
||||
Libs=
|
||||
PrivateResource=
|
||||
ResourceIncludes=c:\dev-cpp\include\
|
||||
MakeIncludes=
|
||||
Compiler=-fno-rtti -fno-exceptions -fno-pcc-struct-return -fstrict-aliasing -Wall -fvtable-thunks -D__WXMSW__ -D__GNUWIN32__ -D__WIN95___@@__@@_
|
||||
CppCompiler=-fno-rtti_@@_-fno-exceptions_@@_-fno-pcc-struct-return_@@_-fstrict-aliasing_@@_-Wall_@@_-D__WXMSW___@@_-D__GNUWIN32___@@_-D__WIN95___@@__@@_
|
||||
Linker=-lwxmsw25_@@_-lwxmsw25_gl_@@_-lwxtiff_@@_-lwxjpeg_@@_-lwxpng_@@_-lwxzlib_@@_-lwxregex_@@_-lwxexpat_@@_-lkernel32_@@_-luser32_@@_-lgdi32_@@_-lcomdlg32_@@_-lwinspool_@@_-lwinmm_@@_-lshell32_@@_-lcomctl32_@@_-lole32_@@_-loleaut32_@@_-luuid_@@_-lrpcrt4_@@_-ladvapi32_@@_-lwsock32_@@_-lodbc32_@@_-lopengl32_@@_
|
||||
IsCpp=1
|
||||
Icon=
|
||||
ExeOutput=
|
||||
ObjectOutput=
|
||||
OverrideOutput=0
|
||||
OverrideOutputName=
|
||||
HostApplication=
|
||||
Folders=
|
||||
CommandLine=
|
||||
UseCustomMakefile=0
|
||||
CustomMakefile=
|
||||
IncludeVersionInfo=0
|
||||
SupportXPThemes=1
|
||||
CompilerSet=0
|
||||
CompilerSettings=0000000000000000000000
|
||||
|
||||
[Unit1]
|
||||
FileName=torque_ide_frame.wxform
|
||||
Folder=
|
||||
Compile=0
|
||||
Link=0
|
||||
Priority=1000
|
||||
OverrideBuildCmd=0
|
||||
BuildCmd=
|
||||
|
||||
[Unit2]
|
||||
FileName=torque_ide.cpp
|
||||
CompileCpp=1
|
||||
Folder=
|
||||
Compile=1
|
||||
Link=1
|
||||
Priority=1000
|
||||
OverrideBuildCmd=0
|
||||
BuildCmd=
|
||||
|
||||
[Unit3]
|
||||
FileName=torque_ide.h
|
||||
CompileCpp=1
|
||||
Folder=
|
||||
Compile=1
|
||||
Link=1
|
||||
Priority=1000
|
||||
OverrideBuildCmd=0
|
||||
BuildCmd=
|
||||
|
||||
[Unit4]
|
||||
FileName=torque_ide_frame.cpp
|
||||
CompileCpp=1
|
||||
Folder=
|
||||
Compile=1
|
||||
Link=1
|
||||
Priority=1000
|
||||
OverrideBuildCmd=0
|
||||
BuildCmd=
|
||||
|
||||
[Unit5]
|
||||
FileName=torque_ide_frame.h
|
||||
CompileCpp=1
|
||||
Folder=
|
||||
Compile=1
|
||||
Link=1
|
||||
Priority=1000
|
||||
OverrideBuildCmd=0
|
||||
BuildCmd=
|
||||
|
||||
[Unit6]
|
||||
FileName=torque_ide.rc
|
||||
Folder=Resources
|
||||
Compile=1
|
||||
Link=1
|
||||
Priority=1000
|
||||
OverrideBuildCmd=0
|
||||
BuildCmd=
|
||||
|
||||
[VersionInfo]
|
||||
Major=0
|
||||
Minor=1
|
||||
Release=1
|
||||
Build=1
|
||||
LanguageID=1033
|
||||
CharsetID=1252
|
||||
CompanyName=
|
||||
FileVersion=
|
||||
FileDescription=Developed using the Dev-C++ IDE
|
||||
InternalName=
|
||||
LegalCopyright=
|
||||
LegalTrademarks=
|
||||
OriginalFilename=
|
||||
ProductName=
|
||||
ProductVersion=
|
||||
AutoIncBuildNr=0
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<assembly
|
||||
xmlns="urn:schemas-microsoft-com:asm.v1"
|
||||
manifestVersion="1.0">
|
||||
<assemblyIdentity
|
||||
name="DevCpp.Apps.torque-ide"
|
||||
processorArchitecture="x86"
|
||||
version="1.0.0.0"
|
||||
type="win32"/>
|
||||
<description>torque-ide</description>
|
||||
<dependency>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity
|
||||
type="win32"
|
||||
name="Microsoft.Windows.Common-Controls"
|
||||
version="6.0.0.0"
|
||||
processorArchitecture="x86"
|
||||
publicKeyToken="6595b64144ccf1df"
|
||||
language="*"
|
||||
/>
|
||||
</dependentAssembly>
|
||||
</dependency>
|
||||
</assembly>
|
|
@ -0,0 +1,36 @@
|
|||
/*
|
||||
* Torque IDE -- An open source integrated development environment for the
|
||||
* Torque Game Engine
|
||||
*
|
||||
* Copyright (C) 2004 Robert Pierce
|
||||
*
|
||||
* Refer to the file CONTRIB.txt for the people who have helped.
|
||||
*
|
||||
* This program is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU General Public
|
||||
* License as published by the Free Software Foundation;
|
||||
* either version 2 of the License, or (at your option) any
|
||||
* later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be
|
||||
* useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public
|
||||
* License along with this program; if not, write to the Free
|
||||
* Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#include <wx/wx.h>
|
||||
|
||||
class torque_ide:public wxApp
|
||||
{
|
||||
public:
|
||||
bool OnInit();
|
||||
int OnExit();
|
||||
};
|
||||
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
|
@ -0,0 +1,45 @@
|
|||
[Editor_0]
|
||||
CursorCol=14
|
||||
CursorRow=21
|
||||
TopLine=15
|
||||
LeftChar=14
|
||||
Open=1
|
||||
Top=0
|
||||
[Editor_1]
|
||||
CursorCol=54
|
||||
CursorRow=34
|
||||
TopLine=12
|
||||
LeftChar=1
|
||||
Open=1
|
||||
Top=0
|
||||
[Editor_2]
|
||||
CursorCol=6
|
||||
CursorRow=3
|
||||
TopLine=1
|
||||
LeftChar=1
|
||||
Open=1
|
||||
Top=0
|
||||
[Editor_3]
|
||||
CursorCol=28
|
||||
CursorRow=56
|
||||
TopLine=36
|
||||
LeftChar=1
|
||||
Open=1
|
||||
Top=1
|
||||
[Editor_4]
|
||||
CursorCol=20
|
||||
CursorRow=27
|
||||
TopLine=1
|
||||
LeftChar=1
|
||||
Open=1
|
||||
Top=0
|
||||
[Editors]
|
||||
Order=0,1,2,3,4,5
|
||||
Focused=3
|
||||
[Editor_5]
|
||||
Open=1
|
||||
Top=0
|
||||
CursorCol=24
|
||||
CursorRow=1
|
||||
TopLine=1
|
||||
LeftChar=1
|
|
@ -0,0 +1 @@
|
|||
#include <wx/msw/wx.rc>
|
|
@ -0,0 +1,91 @@
|
|||
/*
|
||||
* Torque IDE -- An open source integrated development environment for the
|
||||
* Torque Game Engine
|
||||
*
|
||||
* Copyright (C) 2004 Robert Pierce
|
||||
*
|
||||
* Refer to the file CONTRIB.txt for the people who have helped.
|
||||
*
|
||||
* This program is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU General Public
|
||||
* License as published by the Free Software Foundation;
|
||||
* either version 2 of the License, or (at your option) any
|
||||
* later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be
|
||||
* useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public
|
||||
* License along with this program; if not, write to the Free
|
||||
* Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "torque_ide_frame.cpp"
|
||||
#endif
|
||||
|
||||
/* for compilers that support precompilation
|
||||
includes "wx/wx.h" */
|
||||
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
|
||||
#include "torque_ide_frame.h"
|
||||
|
||||
////Header Include Start
|
||||
////Header Include End
|
||||
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// torque_ide_frame
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
////Event Table Start
|
||||
BEGIN_EVENT_TABLE(torque_ide_frame,wxFrame)
|
||||
////Manual Code Start
|
||||
////Manual Code End
|
||||
|
||||
EVT_CLOSE(torque_ide_frame::Close)
|
||||
END_EVENT_TABLE()
|
||||
////Event Table End
|
||||
|
||||
|
||||
|
||||
torque_ide_frame::torque_ide_frame( wxWindow *parent, wxWindowID id, const wxString &title, const wxPoint &position, const wxSize& size, long style )
|
||||
: wxFrame( parent, id, title, position, size, style)
|
||||
{
|
||||
CreateGUIControls();
|
||||
}
|
||||
|
||||
torque_ide_frame::~torque_ide_frame()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void torque_ide_frame::CreateGUIControls(void)
|
||||
{
|
||||
////GUI Items Creation Start
|
||||
|
||||
this->SetSize(8,8,324,334);
|
||||
this->SetTitle(_("Torque IDE"));
|
||||
this->Center();
|
||||
this->SetIcon(wxNullIcon);
|
||||
|
||||
////GUI Items Creation End
|
||||
}
|
||||
|
||||
void torque_ide_frame::Close(wxCloseEvent& event)
|
||||
{
|
||||
// --> Don't use Close with a Frame,
|
||||
// use Destroy instead.
|
||||
Destroy();
|
||||
}
|
||||
|
|
@ -0,0 +1,74 @@
|
|||
/*
|
||||
* Torque IDE -- An open source integrated development environment for the
|
||||
* Torque Game Engine
|
||||
*
|
||||
* Copyright (C) 2004 Robert Pierce
|
||||
*
|
||||
* Refer to the file CONTRIB.txt for the people who have helped.
|
||||
*
|
||||
* This program is free software; you can redistribute it
|
||||
* and/or modify it under the terms of the GNU General Public
|
||||
* License as published by the Free Software Foundation;
|
||||
* either version 2 of the License, or (at your option) any
|
||||
* later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be
|
||||
* useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
* PURPOSE. See the GNU General Public License for more
|
||||
* details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public
|
||||
* License along with this program; if not, write to the Free
|
||||
* Software Foundation, Inc., 59 Temple Place, Suite 330,
|
||||
* Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#ifndef __TORQUEIDE_HPP_
|
||||
#define __TORQUEIDE_HPP_
|
||||
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/wx.h"
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
////Header Include Start
|
||||
////Header Include End
|
||||
|
||||
#include <wx/frame.h>
|
||||
|
||||
////GUI Control ID Start
|
||||
////GUI Control ID End
|
||||
|
||||
////Dialog Style Start
|
||||
#define THIS_DIALOG_STYLE wxCAPTION | wxRESIZE_BORDER | wxSYSTEM_MENU | wxTHICK_FRAME | wxMINIMIZE_BOX | wxMAXIMIZE_BOX | wxCLOSE_BOX
|
||||
////Dialog Style End
|
||||
|
||||
class torque_ide_frame : public wxFrame
|
||||
{
|
||||
private:
|
||||
DECLARE_EVENT_TABLE()
|
||||
public:
|
||||
torque_ide_frame( wxWindow *parent, wxWindowID id = 1, const wxString &title = _T("Torque IDE"),
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = THIS_DIALOG_STYLE);
|
||||
virtual ~torque_ide_frame();
|
||||
public:
|
||||
////GUI Control Declaration Start
|
||||
////GUI Control Declaration End
|
||||
|
||||
public:
|
||||
void Close(wxCloseEvent& event);
|
||||
void CreateGUIControls(void);
|
||||
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
object frmNewForm: TfrmNewForm
|
||||
Left = 8
|
||||
Top = 8
|
||||
Width = 324
|
||||
Height = 334
|
||||
BorderIcons = [biSystemMenu, biMinimize]
|
||||
Caption = 'Torque IDE'
|
||||
Color = clAppWorkSpace
|
||||
Font.Charset = DEFAULT_CHARSET
|
||||
Font.Color = clWindowText
|
||||
Font.Height = -11
|
||||
Font.Name = 'MS Sans Serif'
|
||||
Font.Style = []
|
||||
OldCreateOrder = True
|
||||
PopupMenu = MainForm.DesignerPopup
|
||||
Visible = True
|
||||
OnCloseQuery = FormCloseQuery
|
||||
OnCreate = FormCreate
|
||||
OnDestroy = FormDestroy
|
||||
OnKeyDown = FormKeyDown
|
||||
OnResize = NewFormResize
|
||||
Wx_ICON.Data = {07544269746D617000000000}
|
||||
Wx_Name = 'torque_ide'
|
||||
Wx_IDName = 'ID_DIALOG1'
|
||||
Wx_IDValue = 1000
|
||||
Wx_Class = 'wxFrame'
|
||||
Wx_Center = True
|
||||
Wx_Hidden = False
|
||||
Wx_GeneralStyle = []
|
||||
Wx_DialogStyle = [wxCAPTION, wxRESIZE_BORDER, wxSYSTEM_MENU, wxTHICK_FRAME, wxMINIMIZE_BOX, wxMAXIMIZE_BOX, wxCLOSE_BOX]
|
||||
Wx_DesignerType = dtWxFrame
|
||||
EVT_CLOSE = 'Close'
|
||||
PixelsPerInch = 96
|
||||
TextHeight = 13
|
||||
end
|
|
@ -0,0 +1,23 @@
|
|||
// THIS FILE WILL BE OVERWRITTEN BY DEV-C++!
|
||||
// DO NOT EDIT!
|
||||
|
||||
#ifndef TORQUE-IDE_PRIVATE_H
|
||||
#define TORQUE-IDE_PRIVATE_H
|
||||
|
||||
// VERSION DEFINITIONS
|
||||
#define VER_STRING "0.1.1.1"
|
||||
#define VER_MAJOR 0
|
||||
#define VER_MINOR 1
|
||||
#define VER_RELEASE 1
|
||||
#define VER_BUILD 1
|
||||
#define COMPANY_NAME ""
|
||||
#define FILE_VERSION ""
|
||||
#define FILE_DESCRIPTION "Developed using the Dev-C++ IDE"
|
||||
#define INTERNAL_NAME ""
|
||||
#define LEGAL_COPYRIGHT ""
|
||||
#define LEGAL_TRADEMARKS ""
|
||||
#define ORIGINAL_FILENAME ""
|
||||
#define PRODUCT_NAME ""
|
||||
#define PRODUCT_VERSION ""
|
||||
|
||||
#endif //TORQUE-IDE_PRIVATE_H
|
|
@ -0,0 +1,12 @@
|
|||
// THIS FILE WILL BE OVERWRITTEN BY DEV-C++!
|
||||
// DO NOT EDIT!
|
||||
|
||||
|
||||
A ICON MOVEABLE PURE LOADONCALL DISCARDABLE "torque-ide.ico"
|
||||
|
||||
//
|
||||
// SUPPORT FOR WINDOWS XP THEMES:
|
||||
// THIS WILL MAKE THE PROGRAM USE THE COMMON CONTROLS
|
||||
// LIBRARY VERSION 6.0 (IF IT IS AVAILABLE)
|
||||
//
|
||||
1 24 "torque-ide.exe.Manifest"
|
Binary file not shown.
Loading…
Reference in New Issue