README.DC
author Ozkan Sezer <sezeroz@gmail.com>
Fri, 22 Jun 2018 21:03:40 +0300
branchSDL-1.2
changeset 12026 67f391c74aee
parent 1462 c17d82103614
permissions -rw-r--r--
SDLMain.m: replace CPS* stuff with activateIgnoringOtherApps (bug #4114)

CPS stuff are deprecated and emit warnings at runtime, e.g.:

warning: CPSGetCurrentProcess(): This call is deprecated and should not be called anymore
warning: CPSSetForegroundOperationState() (as above)
warning: capture_display; Captured mirror master 0x350000c1 (unit 1) on behalf of slave 0x042716c0 (unit 0)

http://lists.libsdl.org/pipermail/sdl-libsdl.org/2006-April/055749.html
suggests doing something like:

ProcessSerialNumber psn = { 0, kCurrentProcess};
TransformProcessType (&psn, kProcessTransformToForegroundApplication);
SetFrontProcess (&psn);

And SetFrontProcess() is deprecated in 10.9. Processes.h suggests
[[NSApplication sharedApplication] activateIgnoringOtherApps: YES]
to make one's own application frontmost.
slouken@509
     1
SDL for Dreamcast (beta2)
slouken@509
     2
slouken@509
     3
	BERO
slouken@1460
     4
	berobero@users.sourceforge.net 
slouken@509
     5
slouken@509
     6
	http://www.geocities.co.jp/Playtown/2004/
slouken@509
     7
slouken@509
     8
this work with kos-newlib
slouken@509
     9
http://sourceforge.net/projects/dcquake/
slouken@509
    10
slouken@509
    11
compile
slouken@1462
    12
- source environ.sh (from the KOS distribution)
slouken@509
    13
- make -f Makefile.dc
slouken@509
    14
slouken@509
    15
compile with gl support
slouken@509
    16
- install latest libgl from http://sourceforge.net/projects/dcquake/
slouken@509
    17
- uncomment GL=1 in Makefile.dc
slouken@509
    18
- make -f Makefile.dc clean
slouken@509
    19
- make -f Makefile.dc
slouken@509
    20
slouken@509
    21
install
slouken@509
    22
- copy include/*.h and libSDL.a or libSDL_gl.a for your enviroment
slouken@509
    23
slouken@509
    24
changelog:
slouken@509
    25
slouken@509
    26
beta2
slouken@509
    27
- OpenGL support
slouken@509
    28
- Hardware page flip support
slouken@509
    29
slouken@509
    30
beta
slouken@509
    31
- thread, timer don't tested so much.
slouken@509
    32
- not support OpenGL