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
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
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
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
f3cf88601c
try to make Scene Editor less CPU hungry...
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
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
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
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
6c753ee0f0
[calref/cboe]: Split out cContainer, cLed, and cLedGroup into their own files
2022-06-30 01:10:44 -04:00
Laurent alonso
92eee35b66
graphics: finish to change code to store some images as Texture, ...
2022-06-30 01:08:48 -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)
31b433d6c7
BoE Scenario 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
7b93726383
Replace 4-character constants with enums
...
This covers only the places where they were used to indicate
a preset selection in constructors.
The usage in qdpict where they're actually passed to the Resource Manager,
as well as the 4-character constants representing file types and creator
codes, are still present.
2020-02-21 00:16:58 -05:00
43b4379772
Fix Edit Custom Sheets option not working in an unpacked scenario
2020-02-10 08:35:59 -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
335fb87e51
Store custom graphics classifications as symbols instead of integers
2020-02-09 12:10:52 -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
c4c201db6e
Implement the most important menu key accelerators for Linux
...
Patch from @x-qq
2020-02-02 21:40:58 -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
1d61d48ec3
Enable UI scaling in the scenario and implement Linux menus
...
Patch from @x-qq
Addresses #195
Note: UI scaling for the scenario editor still needs some work,
but it's basically functional.
2020-01-28 20:13:24 -05:00
d530abe00b
Make use of the new resource manager's purgeable flag
2020-01-26 16:14:39 -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
a5a7f161c8
Remove the init thread from the scenario editor
...
The reasoning is the same as for the main game.
2020-01-19 15:39:41 -05:00
e4b98a1634
Add a hidden preference to skip the Spiderweb logo at startup
...
The same preference also skips the scenario editor startup splash
In order to enable that, the scenario editor now loads prefs.
2020-01-19 15:39:41 -05:00
6f96222c37
Remove the 30-item limit in shops
2019-12-02 01:16:34 -05:00
4ad84e6cf8
Missed some when fixing #191
2018-04-07 09:38:13 -04:00
9073063423
Merge branch 'merge_linux' of https://github.com/murlock/cboe
2018-03-03 17:52:59 -05:00
Mark Clark
e70c360e11
Minor fixes to get build working for vs2017 project;
2018-02-25 14:55:13 -05:00
8759aad90a
Move Xcode project to a separate tree parallel to src
2018-02-19 02:11:29 -05:00
c21b0b8de7
Fix #155
2018-02-18 16:26:10 -05:00
Michael Bonfils
12c3ce26f8
Fix compilation of linux
2018-02-10 17:08:33 +01:00