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.
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 :-~
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.
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
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)