[Gtkradiant] [Bug 282] Hydra - EClass Loader API and .DEF plugin

gtkradiant@zerowing.idsoftware.com gtkradiant@zerowing.idsoftware.com
Thu, 07 Mar 2002 08:56:21 -0600


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=282





------- Additional Comments From hydra@hydras-world.com  2002-03-07 08:56 -------
Updated for Synapse, also the .DEF loader is now implemented in the core.

The eclassdef plugin is just an example (but will compile and run just fine as 
is).

Here's the readme that's included in the zip:

EClass loader
=============

Dominic Clifton - Hydra - hydra@hydras-world.com

This diff provides an API for plugins/modules to perform the loading of
entity definition files of varying formats, it also provides the basic
module that loads .def files, and adds a new feature to .def files.
(see plugins/eclassdef/eclassdef.txt for more details)

The loading of .def files is handles internally by radiant via way of
an internal synapse client (in eclassdef.cpp).

The plugins/eclassdef is an example external module which does the same
thing, use it as a base for writing additional external entity loaders.

Patch and instructions were tested sucessfully - 11:21 CET 7/MAR/2002

Diff Instructions
=================

enter GtkRadiant/ and apply diff with:

patch -p 1 <eclassdef-yyyymmdd.diff

update the following files (via diff):
--------------------------------------
include/ientity.h
include/entity.h
radiant/pluginmanager.cpp
radiant/pluginmanager.h
radiant/qe3.cpp
radiant/qe3.h

delete the following files from cvs:
------------------------------------
radiant/eclass.cpp

add the following files to cvs (contained in diff):
---------------------------------------------------
radiant/eclassmanager.cpp
radiant/eclassdef.cpp
radiant/eclassdef.h
radiant/model.cpp
GtkRadiant/include/ieclassloader.h
GtkRadiant/include/ieclassmanager.h
plugins/eclassdef/*

project file changes!
---------------------
add ieclassloader.h and ieclassmanager.h to radiant/headers/interfaces
add eclassdef.h to radiant/headers
add model.cpp, eclassdef.cpp and eclassmanager.cpp to radiant/code
remove radiant/code/eclass.cpp
add the eclassdef project
set eclassdef to depend on cmdlib




------- You are receiving this mail because: -------
Whoops!  I have no idea!