Commit Graph

2196 Commits

Author SHA1 Message Date
xq
9b3db0a5ab Fix incorrect damage values in transcript 2020-02-11 04:06:07 +02:00
43b4379772 Fix Edit Custom Sheets option not working in an unpacked scenario 2020-02-10 08:35:59 -05:00
xq
1ca0002d19 remove usage of boost threads in SConstruct 2020-02-10 08:23:20 +02:00
6c6b24b297 A little graphics reshuffling
- Pointing arrows moved from terscreen to invenbtns
- Target mark moved from trim to invenbtns
- Road pieces moved from trim to fields
- Diagonal pointing arrows added
- trim is now a monochrome image
2020-02-09 23:12:35 -05:00
304193a734 Update README to remove references to Boost.Thread 2020-02-09 20:29:55 -05:00
a8e120d672 Update VS2013 project 2020-02-09 19:56:28 -05:00
53925c9d3c For now, revert to the deprecated SFML scroll event 2020-02-09 19:56:15 -05:00
b9d3f2d4f8 Update credits 2020-02-09 18:24:34 -05:00
0cebb61ace Update Xcode project 2020-02-09 18:24:20 -05:00
760a172526 Some style tweaks 2020-02-09 18:24:09 -05:00
deac7b0cb6 Merge pull request #251 from x-qq/fix_scrollbar_segfaults
fix for scrollbar segfaults

* fixes #206
* fixes broken mousewheel scrolling of the scenedit palette
* removed boost threads dependency
* added foundation for further refactoring of the drawing and event handling code: interfaces and drawable manager with layering
* removed a bunch of unneeded redraw calls
* removed some repeated recalculation of effectively constant values (boe.actions)
* removed recalculation of effectively constant scrollbar and button positions (boe.graphics)

Closes #251
2020-02-09 15:55:51 -05:00
f141149287 Classify the custom graphics in the preset scenarios 2020-02-09 12:18:04 -05:00
335fb87e51 Store custom graphics classifications as symbols instead of integers 2020-02-09 12:10:52 -05:00
b8492a29b0 Extract shopping/talking colours to global constants
Adapted from patch by @clort81
2020-02-07 20:39:13 -05:00
ee624b17c5 Add all the schemas to the Xcode project for easy access 2020-02-06 00:06:00 -05:00
2a34447ab5 Merge pull request #252 from x-qq/fix_211 2020-02-05 23:54:56 -05:00
bcf3208eed Merge pull request #253 from x-qq/fix_barrier_animation 2020-02-05 23:50:55 -05:00
805b35ec90 Fix Classify Custom Graphics wrongly claiming you don't have any 2020-02-05 23:48:36 -05:00
xq
60eece4b60 Fis Escape button not closing the minimap
fixes #211
2020-02-06 06:46:46 +02:00
xq
43d274f532 fixed barrier animation 2020-02-06 06:34:33 +02:00
0bf41cb172 Centre dialogs above their parent window 2020-02-05 22:46:17 -05:00
357cd2e165 Fix 3-choice dialogs using "Stay" instead of "Leave" for the cancel button 2020-02-04 22:26:06 -05:00
a8ed8b3bb4 Add config_dir/data to the list of resolution paths in the resource manager
This allows anyone to drop substitute graphics into the data folder, and
the game will load them instead of the default graphics.
2020-02-04 20:56:56 -05:00
66252fbc53 Substitute some cases of SFML B&W with BoE B&W
Requested by @clort81 to ease making a build with a custom colour scheme
2020-02-04 20:15:10 -05:00
2520f56fb0 I suppose it's a little cleaner to have separate modes for bashing a door and picking a lock 2020-02-04 00:34:01 -05:00
aad9918f13 Remove the explicit assignment of mode numbers
Also remove MODE_CUTSCENE, which is unused and may never be used since the
cutscenes implementation ended up using something else.
2020-02-04 00:25:43 -05:00
37e10ed3ad Make missile animations slower
They were running at max frame rate, making them too fast to see on most modern machines.

Except the 5ms increment, this patch is from @x-qq
2020-02-04 00:20:55 -05:00
72bd8265fa Game modes cleanup
- Fix some cases where modes were still referenced by number
- Replace most cases of mode range-comparison with is_out(), is_town(), and/or is_combat()

There could be some minor errors in the replacements.
2020-02-04 00:02:08 -05:00
02d98db391 Prevent shops from selling unidentified options.
Patch identified by @x-qq

Fixes #65
2020-02-03 20:43:43 -05:00
9c709e33ab Fix Shield of Kron description 2020-02-03 08:45:36 -05:00
7e73a21f5c Add "Add Item" and F1 menu key accelerator on Linux
Patch from @x-qq

Closes #195
2020-02-02 22:38:42 -05:00
bb2f7fab22 Forgot to add the "Add Item" menuitem to the Windows resource file 2020-02-02 22:35:28 -05:00
511b1858a3 Fix Windows build and tests 2020-02-02 22:32:33 -05:00
c4c201db6e Implement the most important menu key accelerators for Linux
Patch from @x-qq
2020-02-02 21:40:58 -05:00
ddd3c8f13d Fix game border not clickable 2020-02-02 19:35:55 -05:00
e6a6b41ec0 Fix incorrect clipping rect in scaled UI 2020-02-02 19:14:01 -05:00
86d2574aed Some refactor of special node system
- Context type (town/out/scen) is now an enum
- Don't expose internals in the header
- Use a state struct to pass things around through the system
- Fix special AFFECT_DEADNESS case for default party selection
- Maybe other bits and pieces?
2020-02-02 19:12:45 -05:00
973b147a3d Eliminate fake clicks when pressing space bar 2020-02-02 12:37:50 -05:00
0734ec69b6 Eliminate fake clicks for stat window switching
Fixes #217
2020-02-02 12:11:41 -05:00
3df4a2223e Fix broken keyboard shortcuts 2020-02-02 12:11:41 -05:00
7019a79567 Mac fixup 2020-02-02 12:11:19 -05:00
7144e7520e Add mnemonics to most menuitems in the Windows PC editor 2020-02-01 23:24:55 -05:00
755a0f9c78 Mac PC Editor: Remove I menus in favour of Party -> Add Item
Also rename the menus to match Mac.
2020-02-01 23:24:50 -05:00
4574c62521 Mac PC Editor: Remove items menus and instead add "Add Item" to the party menu
Also:
- Add ellipses to a number of menuitems
- Shorten menu names to one word
- Fix not redrawing after an item is added
2020-02-01 23:13:26 -05:00
6ff18342ef Check Anama trait before Pacifist trait when casting mage spells 2020-02-01 22:41:02 -05:00
91da0ed4d0 Update references to the online documentation 2020-02-01 22:28:25 -05:00
be28588c92 Enable spellcasting items to work with spells that require a PC target
In particular, this allows Nirvana and Augmentation to work.
2020-02-01 22:19:02 -05:00
68502c8f37 Fix spellcasting item being usable by magically inept characters 2020-02-01 22:17:47 -05:00
a4dbeb4dc3 Add explanatory comments 2020-02-01 22:17:27 -05:00
e9e6581632 Simplify some stuff with a reference 2020-02-01 22:17:14 -05:00