d7e372b7a9
Delete a useless function
2014-04-16 17:49:59 -04:00
199f84e0db
Make dialog preview stylesheet default to dark background
2014-04-16 17:49:13 -04:00
caa461f8e7
Tear out most of the legacy code in the PC editor - see below for details
...
(Scenario Editor is unaffected by this commit.)
- Menubar converted to a .xib file
- Don't include the Info.plist in "Copy Files" stage
- Several more dialogs converted; as before, the source resources have had their resource name changed to the new filename
- One more converted STR# has been included
There were several functions in the PC Editor code that also existed in the BoE game code. I've moved these into the pc.editors.cpp file, so that there's only one copy of each.
- display_alchemy() functions changed signatures
- moved keyToChar() function into a common file (winutil)
- Several constants and globals moved to pc.editors.cpp
Supporting changes to dialog framework:
- New formatting option to set the frame style; this because the PC editor uses a different frame style in some contexts
- Added global default dialog background setting
--> This was necessary to correctly set the default text colour
--> Will also be needed for the scenario editor, which uses a different default background
Other changes:
- Add option to load_scenario to skip loading the strings
- Fix for crash in soundtool in the event of initialization before playing the first sound
2014-04-16 17:07:08 -04:00
76b103a751
Don't include resource files in the build
2014-04-15 21:42:07 -04:00
edcdf5facc
Fix clickable rects in talking... at least sometimes
2014-04-15 21:33:03 -04:00
6060ba6750
Remove c_str() calls made redundant by the previous commit
2014-04-15 21:27:13 -04:00
f91ca72631
Improve the string drawing routine to make better use of STL and SFML
2014-04-15 21:08:32 -04:00
d5589619f5
Fix sounds getting cut off
2014-04-15 21:06:08 -04:00
53573c9a85
Fix town not being drawn when you first enter
2014-04-15 21:05:24 -04:00
f302af4dc8
Fix text bar not displaying
2014-04-15 17:47:59 -04:00
1cd0b09749
Fixed implementation of rounded rectangles for hiliting the active PC in combat
2014-04-15 17:03:20 -04:00
ed212d5f6b
Fix showing only active PC in combat
2014-04-15 17:02:47 -04:00
1831cf377a
Fix whitespace being ignored in dialogs
...
- Tabs and newlines are still ignored but spaces are kept
2014-04-15 15:11:58 -04:00
05d51f8202
A little more re-indenting
2014-04-15 15:10:53 -04:00
62d6576187
Re-indent all files in the boe namespace
2014-04-15 15:09:35 -04:00
ac3ac31f04
Squash a lot of missing prototype warnings
2014-04-15 03:39:21 -04:00
2d69851746
Fix all the missing return statements and guard against this happening again
2014-04-15 03:12:47 -04:00
2b924101d6
Nuke nearly all of the unused local variables
2014-04-15 02:54:16 -04:00
e73d14e0ee
Fix crash on receiving an AppleEvent
2014-04-15 02:40:26 -04:00
fd0595eb09
Fix minor regression
2014-04-15 01:36:18 -04:00
53fa1b3494
Set template backtrace limit to infinity
2014-04-15 01:34:59 -04:00
14a089aaee
Overhaul the game's "rendering pipeline", simplifying it a fair bit
...
- Also significantly improves performance
2014-04-15 01:31:06 -04:00
3274864f12
Minor bugfixes
...
- Fix crash when approaching edge of outdoor section
- Fix crash when using "fullscreen" mode
2014-04-15 01:30:25 -04:00
93c5921503
Nuke redundant in_startup_mode variable
2014-04-15 00:13:18 -04:00
c4fc32e06e
Don't use exceptions for normal control flow
2014-04-14 22:20:44 -04:00
2ae75df4a7
Fix the blue arrows for look mode
2014-04-14 22:15:33 -04:00
c81944e249
Fix map terrains not drawing (except the common ones that are tiled)
2014-04-14 21:28:13 -04:00
294f29b4f8
Show cursor whenever a dialog displays onscreen
2014-04-14 21:27:46 -04:00
10f1151923
Re-indent draw_map()
2014-04-14 21:18:04 -04:00
3c3ed04ca7
Make the automap actually work
...
- Except that it's showing just black and white instead of the proper terrain pictures
- Fixed towns not initializing some flags, such as defy_mapping, causing them to be true when they shouldn't be
- Fix Ellipse shapes not being correctly positioned
2014-04-14 21:16:35 -04:00
121273bf57
Fix main window not receiving focus after leaving a file navigation dialog
2014-04-14 20:35:30 -04:00
441e0a5459
Fix text display while talking
2014-04-14 17:43:54 -04:00
a157c5358b
Fix crash when talking to someone
...
- Also make a lot of talk stuff use std::string instead of char[]
2014-04-14 17:06:50 -04:00
db98f6245e
Fixed first button in dialog without attached key being triggered by any unknown key
2014-04-14 17:03:05 -04:00
48f3335160
Fix "missing" Done button in PC info dialog
...
- Also fix wrong resource name - the pc-spell-info DITL was mistakenly named pc-info
2014-04-14 15:51:30 -04:00
dd02dcc5d3
Realign PC spell list dialog
2014-04-14 15:51:30 -04:00
7b194c26ba
Fix mage/priest spell buttons in PC info dialog being labelled with the level of the skill
2014-04-14 15:51:30 -04:00
146eb5dd40
Fix crash when viewing PC spell list
2014-04-14 15:51:29 -04:00
8ecf76e758
Fix crash on viewing PC info
2014-04-14 15:51:29 -04:00
07140349a2
Fix white first character name and item charges being shown as boxes
2014-04-14 15:51:28 -04:00
854dae0576
Fix string dialogs attempting to play garbage sounds
2014-04-14 15:51:28 -04:00
1ce6c6cc94
Fixed crash when getting items and some other improper use of std::ostringstream
2014-04-14 15:51:27 -04:00
b68abf037d
Slightly improved error messages in the dialog framework
2014-04-14 15:51:27 -04:00
a2ca0bf3b1
Catch exceptions and show an error dialog to the user
2014-04-14 15:51:27 -04:00
8a6d222083
Re-indent main()
2014-04-14 15:51:26 -04:00
b36c9778c6
Fix keyboard controls
2014-04-14 15:51:26 -04:00
fa551c8f43
Don't hide mouse cursor if it's outside the window
2014-04-14 15:51:26 -04:00
5f9be1cb6a
Save help received to prefs file
2014-04-14 15:51:25 -04:00
45494d0c2e
Fix some preferences having incorrect defaults and made all preferences save
...
- SDF preferences, which are also stored in the save file, are only saved if you're at the startup screen
- Also fixed a crash when saving prefs
2014-04-14 15:51:25 -04:00
a53c16c4a0
Skip startup music along with splash screen
2014-04-14 15:51:24 -04:00