diff --git a/torque-ide/win32/.cvsignore b/torque-ide/win32/.cvsignore new file mode 100644 index 0000000..74af771 --- /dev/null +++ b/torque-ide/win32/.cvsignore @@ -0,0 +1 @@ +torque_ide.exe \ No newline at end of file diff --git a/torque-ide/win32/CONTRIB.txt b/torque-ide/win32/CONTRIB.txt new file mode 100644 index 0000000..eb62a8b --- /dev/null +++ b/torque-ide/win32/CONTRIB.txt @@ -0,0 +1,2 @@ +Robert Pierce :: Started project, main developer + :: \ No newline at end of file diff --git a/torque-ide/win32/Makefile.win b/torque-ide/win32/Makefile.win new file mode 100644 index 0000000..234c63b --- /dev/null +++ b/torque-ide/win32/Makefile.win @@ -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) diff --git a/torque-ide/win32/torque_ide.cpp b/torque-ide/win32/torque_ide.cpp new file mode 100644 index 0000000..e153cd5 --- /dev/null +++ b/torque-ide/win32/torque_ide.cpp @@ -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; +} diff --git a/torque-ide/win32/torque_ide.dev b/torque-ide/win32/torque_ide.dev new file mode 100644 index 0000000..f0b5b1a --- /dev/null +++ b/torque-ide/win32/torque_ide.dev @@ -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 + diff --git a/torque-ide/win32/torque_ide.exe.Manifest b/torque-ide/win32/torque_ide.exe.Manifest new file mode 100644 index 0000000..1249308 --- /dev/null +++ b/torque-ide/win32/torque_ide.exe.Manifest @@ -0,0 +1,23 @@ + + + +torque-ide + + + + + + diff --git a/torque-ide/win32/torque_ide.h b/torque-ide/win32/torque_ide.h new file mode 100644 index 0000000..2152f00 --- /dev/null +++ b/torque-ide/win32/torque_ide.h @@ -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 + +class torque_ide:public wxApp +{ +public: + bool OnInit(); + int OnExit(); +}; + + diff --git a/torque-ide/win32/torque_ide.ico b/torque-ide/win32/torque_ide.ico new file mode 100644 index 0000000..435cca2 Binary files /dev/null and b/torque-ide/win32/torque_ide.ico differ diff --git a/torque-ide/win32/torque_ide.layout b/torque-ide/win32/torque_ide.layout new file mode 100644 index 0000000..a2ff2bb --- /dev/null +++ b/torque-ide/win32/torque_ide.layout @@ -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 diff --git a/torque-ide/win32/torque_ide.rc b/torque-ide/win32/torque_ide.rc new file mode 100644 index 0000000..35fc19a --- /dev/null +++ b/torque-ide/win32/torque_ide.rc @@ -0,0 +1 @@ +#include diff --git a/torque-ide/win32/torque_ide_frame.cpp b/torque-ide/win32/torque_ide_frame.cpp new file mode 100644 index 0000000..7a9ef8d --- /dev/null +++ b/torque-ide/win32/torque_ide_frame.cpp @@ -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(); +} + diff --git a/torque-ide/win32/torque_ide_frame.h b/torque-ide/win32/torque_ide_frame.h new file mode 100644 index 0000000..04cb3b1 --- /dev/null +++ b/torque-ide/win32/torque_ide_frame.h @@ -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 + +////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 + + + + diff --git a/torque-ide/win32/torque_ide_frame.wxform b/torque-ide/win32/torque_ide_frame.wxform new file mode 100644 index 0000000..ecb7d4e --- /dev/null +++ b/torque-ide/win32/torque_ide_frame.wxform @@ -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 diff --git a/torque-ide/win32/torque_ide_private.h b/torque-ide/win32/torque_ide_private.h new file mode 100644 index 0000000..279c44b --- /dev/null +++ b/torque-ide/win32/torque_ide_private.h @@ -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 diff --git a/torque-ide/win32/torque_ide_private.rc b/torque-ide/win32/torque_ide_private.rc new file mode 100644 index 0000000..4d0f849 --- /dev/null +++ b/torque-ide/win32/torque_ide_private.rc @@ -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" diff --git a/torque-ide/win32/torque_ide_private.res b/torque-ide/win32/torque_ide_private.res new file mode 100644 index 0000000..f2bd6c9 Binary files /dev/null and b/torque-ide/win32/torque_ide_private.res differ