2119 Commits

Author SHA1 Message Date
f3656f7f30 remove scenarios_legacy 2022-06-30 01:16:08 -04:00
2a2eea9b0a remove undithered images 2022-06-30 01:16:08 -04:00
3e22ca79ec xc11 -> xc12 2022-06-30 01:16:03 -04:00
ALONSO Laurent
8b392bc6f2 all: try to retrieve some no frame facial picture
+ do not crash if a town was not correctly loaded...
2022-06-30 01:11:49 -04:00
ALONSO Laurent
7d55df436b all: try to implement basic color tint for a monster picture (to be improved) 2022-06-30 01:11:49 -04:00
ALONSO Laurent
49a70570a5 pict: continue to simplify this code, to be continued...
+ add a tint color to the cPictNum structure.
2022-06-30 01:11:49 -04:00
ALONSO Laurent
c57f2fd13a all: try to merge the functions which draws a monster in a rectangle
+ add a function add_health to check bounds, ...
2022-06-30 01:11:49 -04:00
ALONSO Laurent
e3a26434fa game: correct summon percentage
pict: try again to simplify this code, to be continued...
2022-06-30 01:11:49 -04:00
ALONSO Laurent
b2eda18529 game: try to improve the code of find_clear_spot 2022-06-30 01:11:49 -04:00
Terane436
485e401781 (partial merge of 97f0723a4c69580457a4e1ba4b0ff60ecd4e2621)
Also prep for color shifts in rendering

+ try to merge all rect_draw_some_item functions
2022-06-30 01:11:49 -04:00
ALONSO Laurent
dcb82a5789 game[junk bag]: some "basic" works on interface and help dialogs. 2022-06-30 01:11:49 -04:00
ALONSO Laurent
a343ad9b9f game[junk bag]: try to implement sell/identify in shop. 2022-06-30 01:11:49 -04:00
ALONSO Laurent
a182c61a50 all: add an optional junk bag
game: start implementing basic functions: give/drop/information
  start to implement the identify spell which by goal works weaker
   for an object in the junk bag

Notes:
- you can always add an item in the junk bag.
- you can only give/drop an item in the junk bag
  if you are in a "friendly" city (or if you are in the same city where
   you put the item in the bag :  to avoid making some impossible scenarios).
- the identification spell only "works" if you are in a "friendly" city.
2022-06-30 01:11:49 -04:00
ALONSO Laurent
bfd8676808 game: add information buttons in get-items dialog. 2022-06-30 01:11:49 -04:00
ALONSO Laurent
26a759c1a5 game: set correctly the new file name if a player saves the game after victory 2022-06-30 01:11:49 -04:00
ALONSO Laurent
5573e4eacd game: check if the active pc is killed in combat + update scenario name after
restoring a game...
2022-06-30 01:11:48 -04:00
Terane436
242fd65824 (partial merge of 97f0723a4c69580457a4e1ba4b0ff60ecd4e2621)
Preparations to support easily adding fields
2022-06-30 01:11:48 -04:00
Terane436
bbb9050bf5 (try to merge commit 9e05f4366d7fb176bf5aca79f93ceea323225f85)
Migrating stuff-dones to map structure insteaf of array
    Prep for making class members properly private
2022-06-30 01:11:48 -04:00
ALONSO Laurent
59183073b3 game: try to update the healing shop's items when the pc switches... 2022-06-30 01:11:48 -04:00
ALONSO Laurent
ba08e03be0 game: try to avoid increasing monster's health disproportionately 2022-06-30 01:11:48 -04:00
Laurent alonso
bb32d635d8 all[intro,pic]:try to retrieve complex scenario intro picture 2022-06-30 01:11:48 -04:00
Laurent alonso
9592b6468d game: check also if we can retrieve a stored item when we enter a new
scenario
2022-06-30 01:11:48 -04:00
ALONSO Laurent
0da6c1034d item: try to avoid to combine some different items... 2022-06-30 01:11:48 -04:00
ALONSO Laurent
6cc07bffb9 minimap[osx]: try to avoid "updating" the minimap when a dialog is opened... 2022-06-30 01:11:48 -04:00
ALONSO Laurent
06f1d027ad special[check item on place]:correction of a bug introduced in 6069fc7716 2022-06-30 01:11:48 -04:00
ALONSO Laurent
605434bab9 game[wandering]: rewrite create_wand_monst to be consistent with the mac legacy version... 2022-06-30 01:11:48 -04:00
ALONSO Laurent
c4bf587ccd game: try again to resolve the problem of ghosts in special encounter... 2022-06-30 01:11:48 -04:00
ALONSO Laurent
00afad672b game[special]: try to update correctly the party's status 2022-06-30 01:11:48 -04:00
ALONSO Laurent
ae4e1f2866 Continue to try to clean code... 2022-06-30 01:11:48 -04:00
ALONSO Laurent
d62f5b629c Try to clean a little the code by merging the functions which display pc, monster, ...
to be continued...
2022-06-30 01:11:48 -04:00
ALONSO Laurent
5e2fb7ca82 picture[all,monster]: begin to use the same function to retrieve basic monster's
picture, to be improved,
game[boat,horse]: try to avoid using ghost vehicles in outdoor, to be checked,
scenario/special.cpp: reorder legacy conversion by id ( so we can check easier if
  all special are converted), ...
2022-06-30 01:11:48 -04:00
ALONSO Laurent
848dad25cb game[outdoor]: try to draw correctly wide/large monster... 2022-06-30 01:11:48 -04:00
ALONSO Laurent
66d7ef8b73 dialog[legacy,special]: continue to retrieve "unusual" pictures,
game: change message when a priest spell can not launch in combat mode...
2022-06-30 01:11:48 -04:00
ALONSO Laurent
368890c5b2 game: try to avoid creating dummy monster in special's encounter... 2022-06-30 01:11:48 -04:00
ALONSO Laurent
9a895ed15b dialog[legacy]: try to also retrieve talking face in pictures... 2022-06-30 01:11:48 -04:00
ALONSO Laurent
e314b45c5c game: try to avoid some creatures to obtain max hp... 2022-06-30 01:11:48 -04:00
ALONSO Laurent
b0717b8608 scenario/special.cpp[terrain]: try to take in account special terrains,
gfxsheets: fix a rare problem with party's sheet.
2022-06-30 01:11:48 -04:00
ALONSO Laurent
c0b4399978 game[combat]: try to print the damage before the monster is dead, to be continued... 2022-06-30 01:11:48 -04:00
ALONSO Laurent
278b535601 game[summons]: check after an uncomplet summon if we need to switch pc. 2022-06-30 01:11:48 -04:00
ALONSO Laurent
997dd902ed game: try to make less wandering monters' preference works
game[legacy]: try to allow missile spell to triger specials
2022-06-30 01:11:48 -04:00
ALONSO Laurent
5522c268bb continue to check correct bounds when accessing scen_monsters, idem for party.summons
Scenario Editor: save default talking picture even if its value is NO_PICT
Character Editor: save correctly the number of days
2022-06-30 01:11:48 -04:00
ALONSO Laurent
c5044967aa save_creatures: delete them when we exist a scenario
all: begin to check index access for scen_monsters, to be continued...
2022-06-30 01:11:48 -04:00
ALONSO Laurent
d5b5f8ae5e special[context]: if it is a scenario or a party's special, allow OUT_MOVE to be
called if the party is out, ...
special[check_special_terrain]: if a IF_IN_BOAT special is found and the party is
  not in boat, check also the next special...
2022-06-30 01:11:48 -04:00
ALONSO Laurent
b13b633d3e legacy[picture]: try to display correctly custom facial pictures +
try to retrieve some unusual pictures called by special
+ minor modifications: escape key allows to escape pick/bash, ...
2022-06-30 01:11:48 -04:00
ALONSO Laurent
d6c988e56d legacy[items]: try to retrieve more descriptions strings
+ correct some details
2022-06-30 01:11:48 -04:00
Laurent alonso
bbaaa4779c boe.items.cpp: try to display the recovered stored items with good picture,
boe.locutils.cpp: protect loc_off_act_area against array bound
2022-06-30 01:10:47 -04:00
Laurent alonso
baa0bf81c4 Scenario Editor: display town's name when selecting a town... 2022-06-30 01:10:46 -04:00
Laurent alonso
2ad286b12d Scenario Editor: try improve the scenario events' edition... 2022-06-30 01:10:46 -04:00
Laurent alonso
e6c45a3162 game: try to always use the game's preferences: easy_mode and less_wanderings... 2022-06-30 01:10:46 -04:00
ALONSO Laurent
afc17ba754 scenario.cpp: check item types before adding a default description,
party.cpp: minor cleaninggs...
2022-06-30 01:10:46 -04:00