Mathieu Schroeter
39a2cf926b
Optimize the wide background stuff by loading only on demand
...
It uses less memory.
2018-07-30 18:39:08 +02:00
Mathieu Schroeter
b321d915d3
Add a getter ofr retrieving a texture
2018-07-24 23:59:52 +02:00
Mathieu Schroeter
bc0a7cbc76
Do not prepend SDL headers by SDL2/
...
It's not always the case.
2018-07-17 18:13:08 +02:00
Mathieu Schroeter
375388b22f
Fix mouse position when changing zoom and fullscreen
2018-06-25 22:17:39 +02:00
Mathieu Schroeter
c79961e803
Merge branch 'wip/fullscreen' into wip/landscape
2018-06-13 23:42:55 +02:00
Mathieu Schroeter
b3c6b53693
WIP: add impl. of fullscreen desktop
...
It's possible to switch between both mode (fullscreen 640x480 and
fullscreen desktop). The zoom option is used for this switch in
fullscreen. The textes must be adapted in this case.
2018-06-13 23:16:59 +02:00
Mathieu Schroeter
0289b0224b
WIP: add handling support for desktop fullscreen mode
2018-06-13 23:15:23 +02:00
Mathieu Schroeter
daf70260de
Pass the event manager to pixmap
2018-06-13 23:10:24 +02:00
Mathieu Schroeter
108c577b85
Use the back-build image as stretched background for wide screen
...
Concerns only screens provided with the map builder.
2017-10-21 15:31:38 +02:00
Mathieu Schroeter
56af742d0a
Merge branch 'master' into wip/landscape
2017-10-21 10:52:54 +02:00
Mathieu Schroeter
a64b03c1da
Remove obsolete mask argument of many draw functions
2017-10-18 07:04:35 +02:00
Mathieu Schroeter
f7640e92ce
WIP: add an expanded mode for the backgrounds
...
It's just partially working.
2017-10-15 11:23:02 +02:00
Mathieu Schroeter
e56b83e87c
Merge branch 'master' into wip/landscape
2017-10-11 16:21:40 +02:00
Mathieu Schroeter
1b242ca3aa
Adapt the mouse cursor size according to the zoom
2017-10-11 16:08:27 +02:00
Mathieu Schroeter
dcbfd5cc35
Add a method to create an empty texture
2017-10-10 18:28:09 +02:00
Mathieu Schroeter
bb1fe04257
Remove dead code
2017-08-26 23:07:26 +02:00
Mathieu Schroeter
8cd1cacb89
Rename windows types to something else
2017-08-21 22:08:25 +02:00
Mathieu Schroeter
7f3f7e4f37
Change some Sint32 to MouseSprites
2017-08-13 21:41:06 +02:00
Mathieu Schroeter
03e12faa48
Pass MouseSprites instead of int for some cases
2017-08-13 19:12:03 +02:00
Mathieu Schroeter
4b2cf9417d
Reformat with clang-format file
2017-08-04 00:21:47 +02:00
Mathieu Schroeter
57b6190a53
Add license header in all source files
2017-08-03 22:51:40 +02:00
Mathieu Schroeter
512bf0d6f6
Add missing include for std::string
2017-07-30 00:17:35 +02:00
Mathieu Schroeter
643f5eead2
Fix mask when building an object
...
It uses a white and black mask. See BuildIconMask for details.
2017-07-22 18:08:50 +02:00
Mathieu Schroeter
8de7181458
Remove useless mouse type code
2017-03-03 22:44:09 +01:00
Mathieu Schroeter
fc37ddd017
Reload the textures (target) when the window size changes
2017-03-03 17:43:01 +01:00
Mathieu Schroeter
c1875fd3ab
Remove useless MAXIMAGE define
2017-03-03 07:05:18 +01:00
Mathieu Schroeter
d652db22e2
Use the TextureInfo struct for dimensions
2017-03-03 06:56:32 +01:00
Mathieu Schroeter
3b027424a1
Replace the static texture array by a map
2017-03-02 22:37:17 +01:00
Mathieu Schroeter
cdc8234934
Remove unused fullscreen bool
2017-02-26 17:57:40 +01:00
Mathieu Schroeter
cceeed43f7
Remove dead code
2017-02-26 17:47:24 +01:00
Mathieu Schroeter
cb43055e13
Remove obsolete member
2017-02-24 18:44:05 +01:00
Mathieu Schroeter
2ff130b8a9
Cosmetic: remove noise (mostly comments)
2017-02-20 18:14:37 +01:00
Mathieu Schroeter
01c8b5a042
Cosmetic: change coding style with
...
astyle src/*.{cpp,h} -s4 -Y -m0 -p -xg -xd -H -k3 -W3 -y -xb -xj -O -c -xy -xC80 -U
2017-02-12 13:14:22 +01:00
Mathieu Schroeter
59698849e1
Use type with explicit length especially for long
...
The long type on win64 is 32 bits, and 64 bits on linux 64.
2017-02-12 00:51:38 +01:00
Mathieu Schroeter
0e338b45db
Convert to UTF-8
2017-02-12 00:44:46 +01:00
Mathieu Schroeter
14385461fa
Fix a lot of warnings
2017-02-11 18:33:40 +01:00
Mathieu Schroeter
90ba4b791c
WIP: convert to CMake
2017-02-10 23:03:33 +01:00