Commit Graph

2039 Commits

Author SHA1 Message Date
ALONSO Laurent
f52c227516 Scenario editor: add a function get_item to check bounds... 2022-06-30 01:10:46 -04:00
ALONSO Laurent
0e44c89286 game: continue to use get_terrain to retrieve the terrain + use the same
functions to display the terrain picture with the scene editor...
2022-06-30 01:10:46 -04:00
ALONSO Laurent
8951d0efc1 game: begin to use the get_terrain method, ... 2022-06-30 01:10:46 -04:00
ALONSO Laurent
1b7dcaab1f Scenerio Editor: try to allow to edit scenario with bogus terrain type or
bogus terrain picture nums.
2022-06-30 01:10:46 -04:00
ALONSO Laurent
e4d220799e graphics: add a picture to store/show some errors,
Scene Editor: try to do not end with a fatal errors if a terrain's picture or
  map picture does not exist, to be improved...
2022-06-30 01:10:46 -04:00
ALONSO Laurent
dbe6482568 Scenario: use cPictNum to retrieve the ter_map pictures... 2022-06-30 01:10:46 -04:00
ALONSO Laurent
cabe7beff1 Scenario editor: try to simplify the code used to draw terrain texture +
use cPictNum to retrieve the big terrain pictures...
2022-06-30 01:10:46 -04:00
ALONSO Laurent
7e189847ee widgets/pict.hpp: add a class cPictNum to store a picture number and its type,
game[legacy]: only prevent walking on portail in combat mode
Scenario Editor: begin to use cPictNum to avoid crashing when displaying some
  terrain animations, to be continued...
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
8f2139ea35 boe.infodlg.cpp: transform a showError in add_string_to_buf. 2022-06-30 01:10:46 -04:00
da683b1556 Update IRC channel link 2022-06-30 01:10:45 -04:00
ALONSO Laurent
33661638d2 correct a mistake
+ add a repository to regroup the automatic conversion of legacy files
  ( to compare the differences, ... )
2022-06-30 01:10:45 -04:00
ALONSO Laurent
2206f5e181 game: try to correct start scenario
+ right trim strings when loading legacy scenarios...
2022-06-30 01:10:45 -04:00
ALONSO Laurent
1a9df85d0b legacy scenario: try to add some classic descriptions to the scenario items
legacy[combat,special]: allow to move on spot, ie. old Blades of Exile
  only prevent to move to terrain with pict=406
boe.minimap.cpp: fix a scrolling problem in town
special.cpp: do not save nop special
2022-06-30 01:10:45 -04:00
ALONSO Laurent
c229ac6543 clang analyze: try to correct some warnings, mainly unused variables... 2022-06-30 01:10:45 -04:00
ALONSO Laurent
1f9a54de6a game: try to fix some details:
- always add help node in talk mode,
- in shop/talk mode do no try to find a combat frame, ...
- add a framerate_limiters in various loops of events,
- try to improve the minimap update.
2022-06-30 01:10:45 -04:00
ALONSO Laurent
a92a4b34d6 create files boe.minimap.*pp to regroup the minimap codes
+ try to improve this code but this is still not perfect :-~
2022-06-30 01:10:45 -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
4885ead643 simulacrum: try to make the selection's work 2022-06-30 01:10:45 -04:00
ALONSO Laurent
09f847585f talk/shop: try to remove uneeded item's drop/give/use icons... 2022-06-30 01:10:45 -04:00
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