Commit Graph

3879 Commits

Author SHA1 Message Date
Chokboyz
e2807dbeed Fixed several bugs in Win32 Char Editor :
- 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
2009-04-24 00:17:12 +00:00
fad42597a6 - Fixed up file loading (but then broke it again)
- 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
2009-04-23 20:53:49 +00:00
a2c2a85a8e - Fixed some bugs in the dialog code.
- 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
2009-04-21 20:02:07 +00:00
7573c1ed98 - Fixed some bugs and inconsistencies in the dialog code
- 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
2009-04-20 16:20:34 +00:00
457bbe3e85 Fixed the bug where dialog controls were not drawn.
git-svn-id: http://openexile.googlecode.com/svn/trunk@25 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-04-19 17:48:22 +00:00
4c78d68b2b Added (and put to use) several more SDF_ constants.
git-svn-id: http://openexile.googlecode.com/svn/trunk@24 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-04-19 15:43:04 +00:00
0794231c20 - Renamed all source files for better consistency and for a cpp extension.
- Added Bandit Busywork and the GPL license.

git-svn-id: http://openexile.googlecode.com/svn/trunk@23 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-04-19 14:25:48 +00:00
632f1e7b32 This revision entails a consolidation of the dialog code and its dependencies into a single place.
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
2009-04-19 01:25:14 +00:00
Chokboyz
ff7b0f43be Initial Win32 Character Editor import
git-svn-id: http://openexile.googlecode.com/svn/trunk@21 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-04-17 23:27:04 +00:00
Chokboyz
118e60e9ba git-svn-id: http://openexile.googlecode.com/svn/trunk@20 4ebdad44-0ea0-11de-aab3-ff745001d230 2009-04-17 22:58:04 +00:00
Chokboyz
4442781c4c git-svn-id: http://openexile.googlecode.com/svn/trunk@19 4ebdad44-0ea0-11de-aab3-ff745001d230 2009-04-17 22:56:46 +00:00
8597875dd7 - Add a few constants for future use
- 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
2009-04-15 19:34:31 +00:00
b7d9c30a19 - Fixed some bugs introduced by the last revision.
- 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
2009-04-15 15:26:50 +00:00
4aca2bc9da - Some fixes to the Blades of Exile Base.
- 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
2009-04-15 01:08:18 +00:00
0c099f4f70 Name of town or outdoor section now displayed while editing terrain
git-svn-id: http://openexile.googlecode.com/svn/trunk@15 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-04-14 17:30:55 +00:00
bd10ecf569 Fixed Conceal Ability – it now works as it should.
git-svn-id: http://openexile.googlecode.com/svn/trunk@14 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-04-13 21:11:57 +00:00
bc5307b413 Remove some unnecessary files
git-svn-id: http://openexile.googlecode.com/svn/trunk@13 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-04-13 19:42:05 +00:00
8723bb4621 Adding BoE Scenario Editor.icns
git-svn-id: http://openexile.googlecode.com/svn/trunk@12 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-04-13 18:28:49 +00:00
c0e2e4cfcb Adding BoE Char Editor.xcodeproj
git-svn-id: http://openexile.googlecode.com/svn/trunk@11 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-04-13 18:25:11 +00:00
29408f171a Remove accident files
git-svn-id: http://openexile.googlecode.com/svn/trunk@10 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-04-13 18:24:33 +00:00
5f9acddde5 Adding BoE Char Editor.xcodeproj
git-svn-id: http://openexile.googlecode.com/svn/trunk@9 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-04-13 18:19:20 +00:00
200378b3a4 Adding Blades of Exile Character Editor-Info.plist
git-svn-id: http://openexile.googlecode.com/svn/trunk@8 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-04-13 18:15:40 +00:00
39455c7b93 Adding BoECharEd.icns
git-svn-id: http://openexile.googlecode.com/svn/trunk@7 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-04-13 18:13:45 +00:00
d8591c3318 Adding consts.h
git-svn-id: http://openexile.googlecode.com/svn/trunk@6 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-04-13 18:11:05 +00:00
25990e16de Adding consts.h
git-svn-id: http://openexile.googlecode.com/svn/trunk@5 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-04-13 18:09:04 +00:00
29f522f6fa Adding consts.h
git-svn-id: http://openexile.googlecode.com/svn/trunk@4 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-04-13 18:04:31 +00:00
188ecc8bc4 git-svn-id: http://openexile.googlecode.com/svn/trunk@3 4ebdad44-0ea0-11de-aab3-ff745001d230 2009-04-13 17:51:31 +00:00
Catphive
9bc3b0c07b Adding osx files.
git-svn-id: http://openexile.googlecode.com/svn/trunk@2 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-03-12 01:38:20 +00:00
Unknown Author
032f49530e Initial directory structure.
git-svn-id: http://openexile.googlecode.com/svn/trunk@1 4ebdad44-0ea0-11de-aab3-ff745001d230
2009-03-12 00:54:15 +00:00