Difference between revisions of "AGI Base Logic Generator"

From AGI Wiki
Jump to navigationJump to search
 
(33 intermediate revisions by the same user not shown)
Line 1: Line 1:
The '''Base Logic Generator''', also known as the AGI Base Logic Generator, BLG, or AGIBLG, is a [[AGIWiki/Logic|logic]] source code generator designed to reduce the tedium of writing the basic framework code for a new logic resource. It was created by [[AGIWiki/Joel McCormick|Joel McCormick]].
+
<div align="center" style="font-size: 22pt">AGI Base Logic Generator</div>
 +
<div align="center">Version 2.0<br />
 +
''Author: [[Joel McCormick]]''<br />
 +
[[2019|2019/03/14]]</div>
  
== Overview ==
+
{{FanAGISoftwareInfobox
 +
| Software = AGI Base Logic Generator
 +
| Image = [[Image:BaseLogicGeneratorSS.png|190px]]<br />
 +
''AGI Base Logic Generator Screenshot''
 +
| Version = 2.0
 +
| ReleaseDate = [[2002|2002/08/31]]
 +
| Company =
 +
| Published = {{Published}}
 +
| Developers = {{JoelMcCormickToolDev}}
 +
| Interface = {{GUI}}
 +
| ProgLanguage = {{C++}}
 +
| OpenSource = {{OpenSRC}}
 +
| License =
 +
| Source = {{SourceSW}}
 +
| Platform = {{DOSTool}}
 +
| Type = {{AGILogicTool}}, {{AGIDevTool}}
 +
| Localization = {{EnglishTool}}
 +
| Website = [[wayback:20031015092140/http://weremoose.tripod.com/agi/agiUtilities.html#blg|http://weremoose.tripod.com/agi/agiUtilities.html#blg]] (Web Archive)
 +
}}
  
Based on parameters specified by the user, the BLG can generate code for loading and displaying the [[AGIWiki/Picture|picture resource]] for a [[AGIWiki/Room|room]], responding to the "[[AGIWikiLook|look]]" command, sending the player to a new room when [[AGIWiki/Ego|ego]] is touching the edges of the screen, positioning ego when coming from another room, and so on.
+
<br />
 +
==<br /><br /> Description ==
  
The BLG provides multiple options for importing the newly-generated logic code into [[AGIWiki/AGI Studio|AGI Studio]]. For example, the code can be sent to the Windows clipboard and then pasted into the AGI Studio [[AGIWiki/Logic editor|logic editor]], or a compiled logic file that can be imported to AGI Studio can be created.
+
<blockquote>
 +
The '''AGI Base Logic Generator''', also known as the Base Logic Generator, BLG, or AGIBLG, is a [[Logic Resource (AGI)|logic]] source code generator designed to reduce the tedium of writing the basic framework code for a new logic resource. It was created by [[Joel McCormick]].
 +
</blockquote>
  
== Version History ==
+
==<br /> Overview ==
  
=== Base Logic Generator 1.0 ===
+
<blockquote>
 +
Based on parameters specified by the user, the BLG can generate code for loading and displaying the [[AGI Picture Resource|picture resource]] for a [[Room|room]], responding to the "[[Look Command|look]]" command, sending the player to a new room when [[Ego|ego]] is touching the edges of the screen, positioning ego when coming from another room, and so on.
 +
 
 +
The BLG provides multiple options for importing the newly-generated logic code into [[AGI Studio]]. For example, the code can be sent to the Windows clipboard and then pasted into the AGI Studio [[AGI Studio#Logic Editor|logic editor]], or a compiled logic file that can be imported to AGI Studio can be created.
 +
</blockquote>
  
Released in 1998, this version of the BLG was written using the Microsoft Foundation Classes (MFC). It suffered from numerous flaws: its comment feature was insufficiently implemented, it did not indent code properly, the keyboard tab ordering was unpredictable, fields that the user didn't want to use required a -1 entry rather than simply being left blank, the user had to remember a precedence system for mutually exclusive options rather than those options being disabled, and so on.
+
==<br /> Features ==
  
Despite its flaws, the interface for the BLG 1.0 was integrated into Linux/QT [[AGIWiki/AGI Studio|AGI Studio]], with a few enhancements and problem corrections.
+
*
  
The standalone BLG 1.0, due to a quirk in the [[AGIWiki/AGI Studio|AGI Studio]] import function, wrote its generated logic code to the Windows clipboard and required the user to paste the code into the AGI Studio logic editor. This was because the BLG generated a text file containing symbolic logic code, but AGI Studio was coded to handle a pre-compiled logic file only.
+
==<br /> Version History ==
  
=== Base Logic Generator 2.0 ===
+
<blockquote>
 +
=== Base Logic Generator 1.0 ===
  
Released in 2002, this version of the BLG shared no code with the original BLG. It featured an improved interface, improvements on most of the defects of the original BLG, and a few additional options that were not found in the BLG 1.0. As of this writing, this is the latest version of the Base Logic Generator.
+
Released in 1998, this version of the BLG was written using the Microsoft Foundation Classes (MFC). It suffered from numerous flaws: its comment feature was insufficiently implemented, it did not indent code properly, the keyboard tab ordering was unpredictable, fields that the user didn't want to use required a -1 entry rather than simply being left blank, the user had to remember a precedence system for mutually exclusive options rather than those options being disabled, and so on.<br />
 +
<br />
 +
Despite its flaws, the interface for the BLG 1.0 was integrated into Linux/QT [[AGI Studio|AGI Studio]], with a few enhancements and problem corrections.<br />
 +
<br />
 +
The standalone BLG 1.0, due to a quirk in the [[AGI Studio|AGI Studio]] import function, wrote its generated logic code to the Windows clipboard and required the user to paste the code into the AGI Studio logic editor. This was because the BLG generated a text file containing symbolic logic code, but AGI Studio was coded to handle a pre-compiled logic file only.
  
It can be obtained from [http://web.archive.org/web/20091120102839/http://weremoose.tripod.com/agi/agiUtilities.html http://weremoose.tripod.com/agi/agiUtilities.html] (archive.org) and from [http://www.agidev.com/download/ AGIDev].
+
=== Base Logic Generator 2.0 ===
  
Unlike the BLG 1.0, the BLG 2.0 can generate compiled logic files that can be imported to AGI Studio using the development environment's import functionality. However, in case the user decided that the clipboard method was still easier, the BLG 2.0 maintained support for this method.
+
Released August 31, 2002, this version of the BLG shared no code with the original BLG. It featured an improved interface, improvements on most of the defects of the original BLG, and a few additional options that were not found in the BLG 1.0. As of this writing, this is the latest version of the Base Logic Generator.
  
 +
Unlike the BLG 1.0, the BLG 2.0 can generate compiled logic files that can be imported to AGI Studio using the development environment's import functionality. However, in case the user decided that the clipboard method was still easier, the BLG 2.0 maintained support for this method.<br />
 +
<br />
 
Also, in contrast with the BLG 1.0, the BLG 2.0 was open-sourced.
 
Also, in contrast with the BLG 1.0, the BLG 2.0 was open-sourced.
  
 
=== Base Logic Generator 3.0 ===
 
=== Base Logic Generator 3.0 ===
  
A vaporware version of the BLG that was intended to replace the tedious text-based [[AGIWiki/Ego|ego]] positioning controls with a graphical editor that would allow the user to click where ego should be placed in the [[AGIWiki/Room|room]]. It was also to be expanded to handle local [[AGIWiki/Defines|defines]] and positioning of any animated [[AGIWiki/Object|object]] or [[AGIWiki/Add.to.pic|add.to.pic]].
+
A vaporware version of the BLG that was intended to replace the tedious text-based [[Ego|ego]] positioning controls with a graphical editor that would allow the user to click where ego should be placed in the [[Room|room]]. It was also to be expanded to handle local [[Defines|defines]] and positioning of any animated [[Object|object]] or [[Add.to.pic|add.to.pic]].<br />
 +
<br />
 +
Although some progress was made in the development of this version of the BLG, it was never finished. However, similar functionality is expected to appear in the upcoming [[WinAGI]] development environment.
 +
</blockquote>
 +
 
 +
==<br /> Development Status ==
 +
 
 +
<blockquote>
 +
&nbsp;<!-- Place development status here
 +
<span class="Inactive">N/A</span> -->
 +
</blockquote>
 +
 
 +
==<br /> Usage ==
 +
 
 +
#
 +
 
 +
==<br /> Download ==
 +
 
 +
<blockquote>
 +
It can be obtained from <!-- [http://web.archive.org/web/20091120102839/http://weremoose.tripod.com/agi/agiUtilities.html http://weremoose.tripod.com/agi/agiUtilities.html] (archive.org) -->
 +
* [[wayback:20091120102839/http://weremoose.tripod.com/agi/agiUtilities.html|http://weremoose.tripod.com/agi/agiUtilities.html]] (Web Archive)
 +
* [http://www.agidev.com/download/ AGI Development Site].
 +
 
 +
Or download from here:
 +
* [[Image:ZIP.png|ZIP File]] [[File:AGI_Base_Logic_Generator_wSRC_(BLG2).zip|AGI_Base_Logic_Generator_wSRC_(BLG2).zip]] <span class="DLInfo"> (ZIP file) [198 KB]</span>
 +
</blockquote>
 +
 
 +
== <br />Known issues ==
 +
 
 +
*
 +
 
 +
== <br />Credits ==
 +
 
 +
* [[Joel McCormick]]
 +
 
 +
==<br /> References ==
 +
 
 +
<references />
  
Although some progress was made in the development of this version of the BLG, it was never finished. However, similar functionality is expected to appear in the upcoming [[AGIWiki/WinAGI|WinAGI]] development environment.
+
== Also See ==
  
&nbsp;
+
* [[:Category:AGI Logic Tools|AGI Logic Tools]]
 +
* [[:Category:AGI Development Tools|AGI Development Tools]]
  
[[Category:AGI Tools]]
+
[[Category:Technical Info]]

Latest revision as of 17:07, 12 May 2024

AGI Base Logic Generator
Version 2.0

Author: Joel McCormick

2019/03/14
AGI Base Logic Generator
BaseLogicGeneratorSS.png
AGI Base Logic Generator Screenshot
Latest Version:  2.0
Release Date:  2002/08/31
Company:
Publication Status:  Published
Developer(s): Joel McCormick
Interface: GUI
Language: C++
Open Source: Open
Source Availability: 
License:
Type: Logic Tool, AGI Development Tool
Platform: DOS
Localization: English
Website: http://weremoose.tripod.com/agi/agiUtilities.html#blg (Web Archive)





Description

The AGI Base Logic Generator, also known as the Base Logic Generator, BLG, or AGIBLG, is a logic source code generator designed to reduce the tedium of writing the basic framework code for a new logic resource. It was created by Joel McCormick.


Overview

Based on parameters specified by the user, the BLG can generate code for loading and displaying the picture resource for a room, responding to the "look" command, sending the player to a new room when ego is touching the edges of the screen, positioning ego when coming from another room, and so on.

The BLG provides multiple options for importing the newly-generated logic code into AGI Studio. For example, the code can be sent to the Windows clipboard and then pasted into the AGI Studio logic editor, or a compiled logic file that can be imported to AGI Studio can be created.


Features


Version History

Base Logic Generator 1.0

Released in 1998, this version of the BLG was written using the Microsoft Foundation Classes (MFC). It suffered from numerous flaws: its comment feature was insufficiently implemented, it did not indent code properly, the keyboard tab ordering was unpredictable, fields that the user didn't want to use required a -1 entry rather than simply being left blank, the user had to remember a precedence system for mutually exclusive options rather than those options being disabled, and so on.

Despite its flaws, the interface for the BLG 1.0 was integrated into Linux/QT AGI Studio, with a few enhancements and problem corrections.

The standalone BLG 1.0, due to a quirk in the AGI Studio import function, wrote its generated logic code to the Windows clipboard and required the user to paste the code into the AGI Studio logic editor. This was because the BLG generated a text file containing symbolic logic code, but AGI Studio was coded to handle a pre-compiled logic file only.

Base Logic Generator 2.0

Released August 31, 2002, this version of the BLG shared no code with the original BLG. It featured an improved interface, improvements on most of the defects of the original BLG, and a few additional options that were not found in the BLG 1.0. As of this writing, this is the latest version of the Base Logic Generator.

Unlike the BLG 1.0, the BLG 2.0 can generate compiled logic files that can be imported to AGI Studio using the development environment's import functionality. However, in case the user decided that the clipboard method was still easier, the BLG 2.0 maintained support for this method.

Also, in contrast with the BLG 1.0, the BLG 2.0 was open-sourced.

Base Logic Generator 3.0

A vaporware version of the BLG that was intended to replace the tedious text-based ego positioning controls with a graphical editor that would allow the user to click where ego should be placed in the room. It was also to be expanded to handle local defines and positioning of any animated object or add.to.pic.

Although some progress was made in the development of this version of the BLG, it was never finished. However, similar functionality is expected to appear in the upcoming WinAGI development environment.


Development Status

 


Usage


Download

It can be obtained from

Or download from here:


Known issues


Credits


References


Also See