Commit Graph

2119 Commits

Author SHA1 Message Date
ALONSO Laurent
0f37292ab5 dangerous terrain: corrects a problem in combat mode 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
305db909c9 dialogs: try again to avoid dialog being a little too long on mac.. 2022-06-30 01:10:45 -04:00
ALONSO Laurent
737eb54e3c dialogs: fix a problem with need_redraw + try to avoid dialog being a little too long on mac... 2022-06-30 01:10:45 -04:00
ALONSO Laurent
4d0da8f6ac game: try to make Blades of Exile less CPU hungry... 2022-06-30 01:10:45 -04:00
ALONSO Laurent
278c315df4 game[talk]: try to allow more go back
+ add a hidden go front option using left/right arrow
2022-06-30 01:10:45 -04:00
ALONSO Laurent
9ef5463364 boe.party.cpp: fix target display in pick_spell
winutil.mac.mm: check that session is initialised.
2022-06-30 01:10:45 -04:00
ALONSO Laurent
f1a04987c0 Scenario Editor: add left/right arrows when editing town messages
+ fix a problem when trying to load a bad scenario...
2022-06-30 01:10:45 -04:00
ALONSO Laurent
3c5f828274 Scenario Editor: allow to edit (all) scenario timers... 2022-06-30 01:10:45 -04:00
ALONSO Laurent
a66d6ccb99 universe.cpp: protect also is_splot again hole in the universe 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
cd6eebdebe Allow UI scaling of 4 in Scenario Editor
dialog.cpp[cleaning]: remove unused code
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
f3cf88601c try to make Scene Editor less CPU hungry... 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
ce26cecd73 legacy: disable all spell_freebie in legacy game... 2022-06-30 01:10:44 -04:00
ALONSO Laurent
c752c9a3d9 try to make the dialogs less CPU hungry... 2022-06-30 01:10:44 -04:00
ALONSO Laurent
710d80dbb0 alchemy: correct problems when using the new code...
legacy[unlock/dispel_barrier]: do not use freebie mode for items, ...
2022-06-30 01:10:44 -04:00
ALONSO Laurent
d1af077e3e do not forget to call advance_time of calling handle_space in combat mode... 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
ALONSO Laurent
896e6c699b try to make do alchemy more user friendly... 2022-06-30 01:10:44 -04:00
ALONSO Laurent
94b65859cc fix: we can not use arrows in MODE_TOWN_TARGET 2022-06-30 01:10:44 -04:00
ALONSO Laurent
6ec906ccb1 special item: use item_btn_use instead of item_btn_drop 2022-06-30 01:10:44 -04:00
ALONSO Laurent
1e5474a53c boe.specials.cpp[change terrain]: avoid redrawing the minimap n*k times... 2022-06-30 01:10:44 -04:00
ALONSO Laurent
9db12b2b63 boe.actions.cpp: allow more escaping in the first phase of spell/missile/throw mode
+ allow to use arrows in scrollable mode...
2022-06-30 01:10:44 -04:00
C.W. Betts
4a25838176 Quiet a warning. 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
C.W. Betts
cd39a11f93 Mark file_to_load in load_party as const reference. 2022-06-30 01:10:44 -04:00
C.W. Betts
4fbc210d45 Only be able to select one file when opening. 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
ALONSO Laurent
d8ab170111 boe.actions.cpp: allow escaping the first phase of look/talking mode
+ correction of minor details...
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
77d5080435 Minor fixes. 2022-06-30 01:10:44 -04:00
C.W. Betts
b2c2ad8475 More migration to const & in legacy importing methods. 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
Morel Berenger
ceb90b9719 render_image.cpp: improve gl error messages by adding filename 2022-06-30 01:10:44 -04:00
ALONSO Laurent
69ff3df7d0 button: try to make tiny buttons work... 2022-06-30 01:10:44 -04:00
ALONSO Laurent
296ac67e71 game: try to prevent missile animation to appear outside the terrain... 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
3d1faba4b2 porting.cpp[legacy]: import a legacy party correctly,
+ do not import empty timer...
2022-06-30 01:10:44 -04:00
ALONSO Laurent
0c277ecefd boe.dlgutil.cpp: do not empty magic shop unnecessarily, to be improved...
porting.cpp[legacy]: try to always convert RECT to mac Rect when reading a Windows
     scenario
  note: this may be succeptible to break the loading of some legacy save, but there
      are already broken....
2022-06-30 01:10:44 -04:00
ALONSO Laurent
69e1267ee7 boe.actions.cpp: try to make key work even when the talk ends
boe.town.cpp: try to simplify the code when monsters are loaded in a town...
2022-06-30 01:10:44 -04:00
ALONSO Laurent
991b0494ef dialog: try to avoid creating dialogs with enormeous width... 2022-06-30 01:10:44 -04:00
ALONSO Laurent
7d34d2a49c talk: try to make "Go Back" and the keys work again,
shopping: try to make work again,
+ minor corrections...
2022-06-30 01:10:44 -04:00
ALONSO Laurent
07006c7818 [calref/cboe]: Fix misclassified file in the MSVC project files 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
ALONSO Laurent
4867b26258 [calref/cboe]: Fix a couple of broken dialogs 2022-06-30 01:10:42 -04:00
ALONSO Laurent
be520e9acc [calref/cboe]: Allow automatically calculating both the width and height
of a text label

This fixes welcome dialog links triggering when you hit OK in the right place
2022-06-30 01:08:48 -04:00
ALONSO Laurent
418e242fda [calref/cboe]: Links in the welcome dialog are now clickable 2022-06-30 01:08:48 -04:00