- Fixed a few bugs that caused crashes.
- Made the code look a little nicer by eliminating the "town.town" redundancies.
- Fiddled with ViewDlog a little.
- Minor changes to graphics file (won't affect anything yet).
git-svn-id: http://openexile.googlecode.com/svn/trunk@44 4ebdad44-0ea0-11de-aab3-ff745001d230
- Changed various terrain arrays from unsigned char to unsigned short to support more than 256 terrain types.
git-svn-id: http://openexile.googlecode.com/svn/trunk@42 4ebdad44-0ea0-11de-aab3-ff745001d230
- Added fields to the terrain class in preparation for new scenario format.
- Same with the party class, plus refactored it to use vectors and strings.
- Fixed a potential divide-by-zero error in get_ran.
git-svn-id: http://openexile.googlecode.com/svn/trunk@41 4ebdad44-0ea0-11de-aab3-ff745001d230
Changelog :
- The character editor now search the right help file.
- If sounds are desactivated in the game, they will now be desactivated in the character editor as well.
- Reorganised menus.
- Implemented a "Save as" option. "Save" now overwrite the loaded file.
git-svn-id: http://openexile.googlecode.com/svn/trunk@40 4ebdad44-0ea0-11de-aab3-ff745001d230
- The flag is automatically set or unset as appropriate when loading a party, based on the version of the scenario they're in.
- The flag is also automatically set and unset when entering a scenario.
- Commented some probably redundant code in fire_missile()
- Added Map Not Available option (or was that last revision?) for towns
git-svn-id: http://openexile.googlecode.com/svn/trunk@39 4ebdad44-0ea0-11de-aab3-ff745001d230
- Replaced all instances of Boolean with bool, TRUE with true, FALSE with false. (Except for a few cases where this resulted in a compile error.)
git-svn-id: http://openexile.googlecode.com/svn/trunk@38 4ebdad44-0ea0-11de-aab3-ff745001d230
- Rearranged the editor palette button code so that:
- the gaps between rows are absent
- the buttons that can't be used in town (set entrance) and outdoors (item buttons) are now hidden
- the buttons are drawn one at a time instead of all at once, to pave the way for adding more buttons to fill the gaps
- the buttons are shifted down enough to make room for the "Center:" line between the last terrain button and the buttons
- the "Center:" line is no longer next to the final terrain button, to pave the way for adding more terrain buttons
- the terrain picture for the current selection is shifted right to make room for a potential two more columns of buttons.
- there are two separate lists each for whether a button exists and what it is
- Also altered the editor buttons sheet to support these changes.
git-svn-id: http://openexile.googlecode.com/svn/trunk@37 4ebdad44-0ea0-11de-aab3-ff745001d230
- Changed something that may have been a bug in which an undead monster attacking another monster would do demonic damage (and vice versa).
git-svn-id: http://openexile.googlecode.com/svn/trunk@35 4ebdad44-0ea0-11de-aab3-ff745001d230
- Fixed bug in which a missile was lost even if you failed to fire do to line-of-sight or range problems.
- Fixed bug in which an exploding missile could be targeted anywhere on the screen (though I'm not 100% sure this actually is a bug).
- Fixed bug in which some of the room description rectangles would be ignored by the game.
- Fixed bug whereby percentage chance checks would generate a number from 0 to 100 instead of 1 to 100.
- Fixed bug where if a Damage node was triggered in combat without first selecting a PC, it would affect the whole party instead of just the active character.
git-svn-id: http://openexile.googlecode.com/svn/trunk@33 4ebdad44-0ea0-11de-aab3-ff745001d230
This means that the game can in fact be played – though saving is not currently operational.
git-svn-id: http://openexile.googlecode.com/svn/trunk@32 4ebdad44-0ea0-11de-aab3-ff745001d230
- Corrected the edit day option so that it sets the day to the one specified and not to the day after.
- Fixed the saving function : now changes can be saved outdoors (that was crashing at save stored_items making give_map non functional).
That also fixes the stored items arrays being filled with items from current town.
- If in a scenario, the editor nows display the name of the town the party is in or if they are outdoor.
- Giving PC items from a Mac made scenario doesn't crash the game anymore (overall Mac scenario support added)
- Cleaned the ressource file. The executable is now smaller.
- On give items : the editor now tries to load the bladbase.exs file if the scenario file is not found. If can't locate the bladbase, the items menus are grayed.
git-svn-id: http://openexile.googlecode.com/svn/trunk@29 4ebdad44-0ea0-11de-aab3-ff745001d230
- Reworked preferences to use plist
- Cleaned out the shareware code
- More tweaks to the dialog engine
- Edited dialog #869 (the choose prefab scenario dialog) to use new invisible button (type 6) and to remove the "Must be registered" lines.
- Tweaked window size so that the startup screen fits within it.
- More major refactoring work.
- A few additions/alterations to boe.consts.h
Current status:
- Scenario editor: compiles and runs, but can't load a scenario
- Character editor: don't know
- Game: Doesn't even compile
I wouldn't normally submit code that doesn't compile, but I have already made a lot of major changes in this revision.
I will submit a version that compiles as soon as possible.
git-svn-id: http://openexile.googlecode.com/svn/trunk@28 4ebdad44-0ea0-11de-aab3-ff745001d230
- Dialogs in the scenario editor now show custom graphics.
- Scenario editor now works properly as a Universal binary.
- Started refactoring the structs into classes; so far this has only been applied to the game.
- Files now show proper icons (applications already did).
- Probably other things that I have forgotten.
Still not completely stable, but much closer.
git-svn-id: http://openexile.googlecode.com/svn/trunk@27 4ebdad44-0ea0-11de-aab3-ff745001d230
- Started a utility to quickly preview a dialog
- Moved the ppats from the individual applications into the Graphics file; reduces redudancy
git-svn-id: http://openexile.googlecode.com/svn/trunk@26 4ebdad44-0ea0-11de-aab3-ff745001d230
Formerly there were three separate copies of the dialog code; now there's only one.
It's still quite rough around the edges, though – the edit terrain dialog causes the scenario editor to crash,
and for some reason the dialog controls are not drawn in the game or in the character editor. I am still working
to resolve this.
It can't be seen in the diff, since it involves a binary file, but the resources representing dialogs for the character editor were
altered. Basically, every text item with a label of "0_105" was changed to "0_150", and each one with a label of "0_106" was changed
to "0_151". The reason for this is a conflict between the meaning of those two labels in the character editor and in the scenario editor and
the game.
In addition to the consolidation of the dialog code, I have made alterations that should theoretically allow the scenario editor to draw
custom graphics in its dialogs. I am uncertain that this works, though, since the scenario editor is now failing to FIND the custom graphics.
git-svn-id: http://openexile.googlecode.com/svn/trunk@22 4ebdad44-0ea0-11de-aab3-ff745001d230
- Reverted graphc count constants to original values; this change breaks forward compatibility and is probably best left off until later, when we rewrite the scenario format.
- I'm pretty sure I didn't actually change "Blades of Exile Graphics" since last revision.
git-svn-id: http://openexile.googlecode.com/svn/trunk@18 4ebdad44-0ea0-11de-aab3-ff745001d230
- Added a dialog graphic and a few animated terrain graphics from Exiles 1-3.
- The four-parts of death dialog graphic may now be used in a scenario as a dialog graphic.
- Added more constants for clarity
- A few more bladbase fixes
git-svn-id: http://openexile.googlecode.com/svn/trunk@17 4ebdad44-0ea0-11de-aab3-ff745001d230
- Additional terrain icons from Exile 1-3
- Fairly sweeping changes in the code that draws graphics in dialogs, in order to support an arbitrary number of future graphics of a given type.
git-svn-id: http://openexile.googlecode.com/svn/trunk@16 4ebdad44-0ea0-11de-aab3-ff745001d230