Thomas Bernard
609eb7061d
minor
2019-03-09 15:15:17 +01:00
Thomas Bernard
01c16b488d
Log info about Joysticks
2019-02-21 09:51:03 +01:00
Thomas Bernard
508b2ef3f5
Set mouse cursor at the center of the screen at start
2019-02-20 13:56:01 +01:00
Thomas Bernard
bf16f3fe7d
Atari: Exit_handler
2019-02-09 04:10:36 +01:00
Thomas Bernard
08b2448e33
Do not need SDL Joystick module unless built with USE_JOYSTICK
2019-01-28 11:54:40 +01:00
Nic Soudée
228e651b4f
Correct some spelling mistakes
...
Automaticaly --> Automatically
Invalide --> Invalid
Strech --> Stretch
allows to --> allows one to
attachement --> attachment
contraints --> constraints
inconsistant --> inconsistent
occured --> occurred
occurences --> occurrences
permits to --> permits one to
postion --> position
regularily --> regularly
transfered --> transferred
2019-01-24 08:32:58 -05:00
Thomas Bernard
8372736c98
fix compilation of Init_program()
2019-01-20 22:15:31 +01:00
Thomas Bernard
e68c16dd34
move Get_unicode_filename() to io.c. correclty select last directory in
...
filesel
2018-12-19 14:03:30 +01:00
Thomas Bernard
b706566f57
WIN32: get Unicode filename of Dropped files
2018-12-18 17:52:28 +01:00
Thomas Bernard
c81ffb0d6e
Automatically set Drawing mode when loading Thomson, C64 and Apple 2 files
2018-12-11 12:25:39 +01:00
Thomas Bernard
ec4ad8adb2
Load "default.pal" at startup
2018-12-09 22:03:47 +01:00
Thomas Bernard
b2f310d1d5
Make Light_color/Dark_color ini settings work
...
see http://pulkomandy.tk/projects/GrafX2/ticket/81
I don't know why they were disabled...
2018-12-08 18:32:48 +01:00
Thomas Bernard
878568c7f5
round() is not available in old MSVC++ versions
2018-11-28 23:02:11 +01:00
Thomas Bernard
a880045aba
minor things
...
- link to HTML version of inline help
- fix type in Test_C64()
- remove extra spaces at end of line
2018-11-22 10:19:58 +01:00
Thomas Bernard
50f3b99106
store unicode filename for brush
2018-11-09 12:50:45 +01:00
Thomas Bernard
725da6307e
Remove warnings with GCC 7
...
GCC 7 introduced a new warning in switch() statements :
warning: this statement may fall through [-Wimplicit-fallthrough=]
2018-10-17 16:42:54 +02:00
Thomas Bernard
65c761345f
fix: MSVC defines _DEBUG, not DEBUG
2018-09-16 00:23:13 +02:00
Nic Soudée
0953bc1f9b
Fix bug in -help video mode listing
...
The mode_index is being incremented by 12, but we are
only displaying 6 video modes per line. This results in
the "Available video modes" listing to ignore half of the
valid video modes.
2018-08-16 09:15:57 -04:00
Nic Soudée
78d99fd337
Move command line analysis down a bit
...
This is necessary so that the list of available video modes
is populated, making the -mode parameter work again.
2018-08-16 09:14:33 -04:00
Thomas Bernard
72972a8b49
doxygen comments in main.c.
...
Includes the mainpage section
2018-07-27 14:29:25 +02:00
Thomas Bernard
715bda292b
silence a warning
2018-07-20 12:27:58 +02:00
Thomas Bernard
05d6a4b3dd
properly handle long filenames of preloade files
2018-07-16 14:39:25 +02:00
Thomas Bernard
4978a7cfe2
convert Warning() and DEBUG() to GFX2_Log()
2018-07-12 20:41:49 +02:00
Thomas Bernard
7fb77f85f1
Add GFX2_Log() function
2018-07-12 19:11:39 +02:00
Thomas Bernard
153363d52f
Mac OS X : ignore -psn command line argument
2018-07-04 13:34:24 +02:00
Thomas Bernard
1d023c49e2
X11: open window on its previous position
...
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-04 01:05:32 +02:00
Thomas Bernard
c53b86d6c9
Fix Endian dependent code when compiled without SDL or SDL2
...
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-02 11:38:52 +02:00
Thomas Bernard
a514f7e9a2
use MessageBox() to display error messages under Win32
2018-07-02 11:38:51 +02:00
Thomas Bernard
cb2d479867
add GFX2_Get_Window_Handle() to get the win32 HWND
...
and use it
2018-07-02 11:38:51 +02:00
Thomas Bernard
af25970c09
Fix Joystick support (with SDL and SDL2)
2018-07-02 11:38:51 +02:00
Thomas Bernard
d809adb540
Process Win32 commandline
2018-07-02 11:38:51 +02:00
Thomas Bernard
9f9c21de21
backup position of windows (Win32 API)
2018-07-02 11:38:51 +02:00
Thomas Bernard
4b28894bb8
cross compilation of Win32 version (using win32 API)
2018-07-02 11:38:51 +02:00
Thomas Bernard
9ac4267468
Working win32 API implementation with mouse
...
(no keyboard yet)
2018-07-02 11:38:51 +02:00
Thomas Bernard
4d86b8a0c1
change all references to SDLK_xxxxx to KEY_xxxx
...
+ some fixes
2018-07-02 11:38:51 +02:00
Thomas Bernard
77005eb780
use screen.h instead of sdlscreen.h, etc.
...
Create grafx2-win32 MSVC++ project
create keycode.h
various fixes
2018-07-02 11:38:51 +02:00
Thomas Bernard
d86efa58e4
Compilation with SDL2 (to be finalized) > API=sdl2 make
2018-07-02 11:38:51 +02:00
Thomas Bernard
72fea0290f
isolate dependencies to SDL
...
Do not access directly the SDL_Surface Screen_pixels
use new functions Get_Screen_pixel_ptr() Set_Screen_pixel(),
Get_Screen_pixel()
And SetPalette()
Signed-off-by: Thomas Bernard <miniupnp@free.fr>
2018-07-02 11:38:51 +02:00
Thomas Bernard
92facef46d
Convert comments to UTF-8
...
most were encoded in Latin1 / CP1252
but a few lines in op_c.c were using IBM437/850 !
2018-06-26 11:37:19 +02:00
Philip Linde
b91cfe4ed3
Call Button_Quit and Button_Page with correct enum
...
These functions are called explicitly in a few places and need to be
handed the corresponding enum value to correctly get the button value.
Since they were previously called with -1, they would cause segfaults.
These seemed to happen when restoring backups or loading images to both
pages.
2018-06-03 20:03:34 +00:00
Thomas Bernard
d4746ea72e
Fix MacOS file case in include
...
<corefoundation/corefoundation.h>
should be
<CoreFoundation/CoreFoundation.h>
Many MacOS FS are case insensitives, but not all, so we must use
the correct case.
Issue detected by the MacPorts buildbot : https://trac.macports.org/ticket/56490
2018-05-15 15:33:15 +02:00
boomlinde
2639dec301
Add -size commandline argument
2018-05-14 19:46:19 +02:00
Thomas Bernard
30f23b93ef
Massive change of button callback function prototypes
2018-03-10 00:46:11 +01:00
Thomas Bernard
3870cc8afb
Program_shutdown() free all images, backups, brushes.
2018-03-05 09:22:02 +01:00
Thomas Bernard
37eac890c2
memory leak fix : free the main page on exit
2018-03-05 09:22:02 +01:00
Thomas Bernard
5acf27c1b4
call iconv_close() to free iconv resources
2018-03-05 09:22:02 +01:00
Thomas Bernard
dc4926b7c0
Fix to compile windows build with MinGW32
2018-02-20 15:45:45 +01:00
Thomas Bernard
c48e881a54
WIN32 versions of io functions
2018-02-20 15:45:45 +01:00
Thomas Bernard
6f48d7fefe
Add MSVC 2010 project file and a make the project compile
2018-02-20 15:45:45 +01:00
Thomas Bernard
689aebf264
Unicode support in keyboard editable field for filename
2018-02-20 15:44:39 +01:00