[00:44:40] --> Yuv422 has joined #nuvie
[00:46:47] --> Malignant_Manor has joined #nuvie
[00:47:02] <Yuv422> hi Malignant_Manor
[00:47:13] <Malignant_Manor> Yuv422: Hi Eric
[00:47:46] <Malignant_Manor> What are the full screen changes for Nuvie with SDL2?
[00:48:18] <Yuv422> https://github.com/nuvie/nuvie/tree/feature/sdl2
[00:48:31] <Yuv422> the gfx changes were fairly minor
[00:48:39] <Yuv422> it’s all the input handling changes
[00:49:01] <Yuv422> this was more of a spike to see how much effort was required
[00:49:11] <Yuv422> so I haven’t tried to do things nicely
[00:49:32] <Yuv422> or with a view for backwards compatibility with SDL 1.2
[00:50:35] <Yuv422> I’m still not sure if we should bother being backwards compatible with SDL 1.2
[00:50:52] <Malignant_Manor> Well, it has a header that would fix a lot of the key constants.
[00:51:09] <Yuv422> ah k
[00:53:42] <Malignant_Manor> I think things like defining SDL_keysym SDL_Keysym also reduce a lot of changes.
[00:54:13] <Malignant_Manor> I remember the graphics code having things not compatible.
[00:55:44] <Malignant_Manor> I can see my long block of the joystick hack of treating it as a keyboard.
[00:56:26] <Yuv422> yeah I haven’t really looked at the input logic yet
[00:56:34] <Yuv422> I was focused on getting something on the screen
[00:56:56] <Malignant_Manor> Well, that should be able to stay the same.
[00:57:56] <Malignant_Manor> I know I had some untested commented out joystick code that would only work with SDL2.
[00:58:31] <Yuv422> there was alot of mouse wheel logic in there
[00:58:38] <Yuv422> that will need refactoring
[00:58:59] <Yuv422> or we could emulate the sdl1 mouse wheel button events
[01:00:05] <Malignant_Manor> I didn't think it need much modification with compatibility header.
[01:00:30] <Malignant_Manor> It was quite awhile ago when I looked at it.
[01:00:36] <Yuv422> is the compat header provided by SDL?
[01:00:46] <Malignant_Manor> It was mainly the pixel stuff that had issues.
[01:01:38] <Malignant_Manor> Yeah, I forget where it is and it could have been deleted from the repository by now.
[01:02:08] <Malignant_Manor> You could search filenames for SDL_compat.h
[01:03:29] <Malignant_Manor> I can't remember if I still have a Nuvie repository with SDL2 patched in (of course video didn't work because of pixel opperations).
[01:04:13] <Yuv422> have a look at my branch to see the video changes I made
[01:04:17] <Yuv422> it wasn’t much at all
[01:04:32] <Yuv422> just a texture and a new surface that writes to it
[01:04:53] <Malignant_Manor> Well, I lack technical knowledge so it was beyond me.
[01:05:16] --> DominusExult has joined #nuvie
[01:06:08] <Malignant_Manor> Does your code still scale the border instead of being able to add black bars after scaling?
[01:06:18] <-- Dominus has left IRC (Ping timeout: 240 seconds)
[01:06:19] --- DominusExult is now known as Dominus
[01:06:27] <Malignant_Manor> Our graphics code is terrible.
[01:53:02] <Malignant_Manor> Yuv422: I don't seem to have kept a patch of my SDL2 work.
[02:15:44] <-- Malignant_Manor has left IRC (Quit: ChatZilla 0.9.92 [Firefox 41.0.2/20151014143721])
[02:34:09] --> DominusExult has joined #nuvie
[02:37:10] <-- Dominus has left IRC (Ping timeout: 244 seconds)
[02:37:10] --- DominusExult is now known as Dominus
[02:41:25] <-- Yuv422 has left IRC (Quit: Yuv422)
[06:47:27] <-- Lightkey has left IRC (Ping timeout: 240 seconds)
[07:00:37] --> Lightkey has joined #nuvie
[09:44:08] --> Yuv422 has joined #nuvie
[12:17:57] <-- Yuv422 has left IRC (Quit: Yuv422)
[18:11:31] <Dominus> malignant, did you mean the compatibility header of Exult?
[20:20:41] --> Malignant_Manor has joined #nuvie
[20:20:56] <Malignant_Manor> Dominus: I meant http://hg.libsdl.org/SDL/file/06be4b33029d/include/SDL_compat.h
[20:21:05] <Malignant_Manor> Exult's is a variation of that
[20:21:43] <Malignant_Manor> It was removed from the code before the SDL2 release.
[20:38:50] <-- Malignant_Manor has left IRC (Quit: ChatZilla 0.9.92 [Firefox 41.0.2/20151014143721])
[20:44:49] --> Yuv422 has joined #nuvie
[21:12:22] <Dominus> But SDL is under public version control, you can get that file quite easily...
[21:12:43] <Dominus> Nighty night ;)
[22:37:25] <-- Yuv422 has left IRC (Quit: Yuv422)