ALONSO Laurent
2106f45840
Scenario Editor: try to correct a problem when displaying terrain in zoom out mode,
...
Mac: add hack to avoid crashing when receiving an apple event,
+ various minor modifications
2022-06-30 01:10:46 -04:00
ALONSO Laurent
3451c70fec
all: use the function get_item which checks bounds...
2022-06-30 01:10:46 -04:00
ALONSO Laurent
fdb2b0e0d8
dialog: do not open dialog centered at 0x0
...
Character Editor[skill]: do not always display help, there is an help button...
2022-06-30 01:10:46 -04:00
ALONSO Laurent
17ba320d65
boe.newgraph.cpp: try to improve the lighting,
...
pc.main.cpp,scen.main.cpp: do not change the mac icon
boe.actions.cpp: correct a recent problem with new escape keyevents
+ minors cleaning
2022-06-30 01:10:45 -04:00
ALONSO Laurent
4d36bca489
Editor[food,gold]: make the windows widder,
...
Editor[xp]: add a cancel button,
Editor[spell]: save spells when the user clicks on next/previous pc
Shop: implements the clipping correctly when a user buys an item/spell/...
2022-06-30 01:10:45 -04:00
ALONSO Laurent
80c362eb60
Allow UI scaling to be 4 in Chararacter Editor
...
locked-door-action.xml: add b and p shortcuts
2022-06-30 01:10:45 -04:00
ALONSO Laurent
4ac9081bb3
Alchemy: correct the "Weak Curing" information message...
2022-06-30 01:10:44 -04:00
ALONSO Laurent
0404bc7ba4
try to make Character Editor less CPU hungry...
2022-06-30 01:10:44 -04:00
ALONSO Laurent
57c03dfc82
alchemy: try to add some information to the basic dialog (to be improved...)
2022-06-30 01:10:44 -04:00
C.W. Betts
1ce5edaa91
.mm: try to simplify load of .mm files
2022-06-30 01:10:44 -04:00
ALONSO Laurent
42d64cc733
pick race dialog: compute xp correctly...
2022-06-30 01:10:44 -04:00
ALONSO Laurent
3dd3d3c1da
dialog pick-race-abil: print pc's name + add left/right arrows
2022-06-30 01:10:44 -04:00
C.W. Betts
7ae29eeea3
remove some useless retain [part of commit 3af55e7d352e86e2bc5043f4cc6daa596ff0a9ac]
2022-06-30 01:10:44 -04:00
C.W. Betts
976794e8b6
Mark some import_legacy methods as taking const &.
...
+ replace when possible boost::lexical_cast<std::string> by std::to_string
2022-06-30 01:10:44 -04:00
ALONSO Laurent
e8e3b13c7c
porting.{hc}pp: add a namespace,
...
fileio_party.cpp: try to simplify the code which read legacy save,
boe.specials.cpp: correct a problem when unlocking rectangles...
2022-06-30 01:10:44 -04:00
ALONSO Laurent
6c753ee0f0
[calref/cboe]: Split out cContainer, cLed, and cLedGroup into their own files
2022-06-30 01:10:44 -04:00
Laurent alonso
a407d61f4c
graphics: continue to change code to store some images as Texture
...
+ replace graf_pos and graf_pos_ref by Texture_ref
+ correct cCustomGraphics::copy_graphic
2022-06-30 01:08:48 -04:00
ALONSO Laurent
fcc2db7a5e
graphics: continue to change code to store some images as Texture...
2022-06-30 01:08:48 -04:00
Laurent alonso
c31bb2d0ff
graphics: continue to rewrite code to be more simple ;
...
retrieve modifications to allow to load some graphics with different
resolutions: actionhelp, bigscenpics, fighthelp, invenhelp, outhelp,
scenpics, stathelp, townhelp, dlogpics, dlogscrollled, dlogscrollwh,
edbuttons, edsplash, pcedtitle.
2022-06-30 01:08:48 -04:00
Laurent alonso
e625927a29
graphics: begin to rewrite code to be more simple: - add
...
a struct Texture to store a sf::Texture and the application's texture sizes,
- add a texture resources manager and retrieve codes to allow - if needed,
rescaling startsplash and spidlogo at startup - loading some graphics with
different resolutions: buttons, inventory, pcedbuttons, statarea,
startanim, startbut, startup, terscreen, textbar, transcript can be
used to load high resolution pictures.
Note: currently, render_image and res_image are a mess as Texture and sf:Texture classes
cohabit :-~
2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
34d3431e49
Boe Character/Scenario Editor[OsX]: retrieve also PlaySound in the preferences...
2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
141b668eb6
BoE Character Editor[OSX]: add preferences to define UI scaling...
2022-06-30 01:08:48 -04:00
Laurent Alonso(fr)
6c904f3483
editors, OSX and menu[hack]: try to avoid crashes by postponing the creation of dialogs in the main loop.
2022-06-30 01:08:47 -04:00
3ba6266cd4
Fix editors launching in the top left corner of the screen
2020-02-23 23:29:44 -05:00
760a172526
Some style tweaks
2020-02-09 18:24:09 -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
c4c201db6e
Implement the most important menu key accelerators for Linux
...
Patch from @x-qq
2020-02-02 21:40:58 -05:00
7019a79567
Mac fixup
2020-02-02 12:11:19 -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
91da0ed4d0
Update references to the online documentation
2020-02-01 22:28:25 -05:00
f9f4d5671c
Factor out the framerate limiter into a class
...
Patch from @x-qq
2020-02-01 21:03:56 -05:00
3e686cb908
Tweak text colours to be less blindingly bright and closer to the original Mac BoE
2020-02-01 19:55:30 -05:00
5675ab8c71
Add menus to Linux character editor
...
Patch from @x-qq
2020-02-01 19:55:30 -05:00
14e2597108
Expose the shared pointer instead of the raw pointer in the resource manager and rewrite the custom sheets list to use a vector instead of manual memory management
...
In particular, this should fix a segmentation fault in the sound system caused by the resource manager pulling a resource that's in use.
2020-01-26 15:10:57 -05:00
542c037342
Integrate a new resource manager which should have better performance
2020-01-26 11:53:19 -05:00
36b4f6edc1
Remove an unused variable
...
(Thanks to @x-qq for noticing it was never assigned)
2020-01-19 15:38:05 -05:00
9073063423
Merge branch 'merge_linux' of https://github.com/murlock/cboe
2018-03-03 17:52:59 -05:00
8759aad90a
Move Xcode project to a separate tree parallel to src
2018-02-19 02:11:29 -05:00
Michael Bonfils
d940f2c39d
Merge branch 'linux' into merge_linux
2018-02-08 20:36:46 +01:00
beadb49217
Fix scons build
...
Tested on Mac only, but probably also works on Windows/Linux
2017-09-04 20:45:45 -04:00
C.W. Betts
1b210d4358
OS X: Fix a few memory leaks.
2017-08-31 21:50:48 -04:00
9d86053817
Fix up MSVC project file for the major reorganization
2017-08-30 00:09:01 -04:00
c2ce2a2cd1
Split up the graphtool files
2017-04-14 15:43:07 -04:00
82abdab695
Major code reorganization
...
This commit only updates the XCode project for the changes.
A later commit each will update it for scons and MSVC.
A few actual changes are mixed in:
- Add a prefix header for a handful of common definitions
- Moved current_cursor into the Cursor class as a static member
- Removed the make_cursor_sword and make_cursor_watch functions
- Include tests in the All target
- Remove redundant -l flags for Common and Common-Party (since they're included in the Link phases anyway)
2017-04-14 00:24:29 -04:00
10832a3ed4
PC Editor: Fix item menus for scenarios with less than 400 or more than 403 items.
...
- On Mac, Items 2 - 4 would give you the wrong item.
- On both Windows and Macs, items at the end of the list might be missing altogether.
2017-04-11 18:36:39 -04:00
d588efd11b
PC Editor: Fix items not loading
2017-04-11 18:00:41 -04:00
3c6190c433
PC Editor: Fix inability to edit spells
2017-04-11 17:28:43 -04:00
59f2a7b94e
Some code cleanup, mainly constants
...
- Strip out unused constants
- Use const instead of #define
- Remove some obsolete comments
2017-02-12 00:04:53 -05:00