Glenn Maynard
b03f9af702
fix windows compile
2004-06-16 07:10:09 +00:00
Glenn Maynard
85cbccad56
unsigned -> size_t for string::find returns
2004-06-16 07:03:25 +00:00
Glenn Maynard
47d43cee82
unsigned -> size_t for string::find returns
2004-06-16 07:01:12 +00:00
Glenn Maynard
251661d269
remove OpenRWops
2004-06-16 04:25:03 +00:00
Glenn Maynard
2ec6b55568
try using conditions for semaphores; standard semaphores are apparently too hard for OSX
2004-06-16 04:23:50 +00:00
Glenn Maynard
cd59c6a68b
cleanup
2004-06-16 04:07:19 +00:00
Glenn Maynard
0ff2366110
asserts
2004-06-16 03:52:10 +00:00
Glenn Maynard
8ce2ae57d9
whoops
2004-06-16 03:41:33 +00:00
Glenn Maynard
7cb385a56f
improve output
2004-06-16 03:39:43 +00:00
Glenn Maynard
92e389f019
DoEmergencyShutdown
2004-06-16 03:32:46 +00:00
Glenn Maynard
78411846e0
simplify; use SemaImpl_Pthreads instead of using low-level semaphores in two places
2004-06-16 03:13:11 +00:00
Glenn Maynard
075bc0ff9a
compile fix
2004-06-16 03:08:21 +00:00
Glenn Maynard
f6876a8f12
set piThreadID
2004-06-16 03:07:28 +00:00
Glenn Maynard
48b6c6b50a
compile fix
2004-06-16 03:01:54 +00:00
Glenn Maynard
3a56c870ba
cleanup
2004-06-16 02:58:58 +00:00
Glenn Maynard
9911c10540
remove BACKTRACE_METHOD_BACKTRACE
2004-06-16 02:55:13 +00:00
Glenn Maynard
f4ec12fb09
compile fix
2004-06-16 02:52:37 +00:00
Glenn Maynard
dfa5cd9348
remove backtrace() support; system backtrace isn't good enough
2004-06-16 02:50:34 +00:00
Glenn Maynard
bcc6ad83a7
fix compile
2004-06-16 02:38:15 +00:00
Glenn Maynard
c73edb179e
compile fix
2004-06-16 02:35:07 +00:00
Glenn Maynard
f5a35af702
use errno
2004-06-16 02:20:14 +00:00
Glenn Maynard
7821347dee
use errno
2004-06-16 02:18:56 +00:00
Glenn Maynard
994c367deb
don't throw in thread setup
2004-06-16 02:17:20 +00:00
Glenn Maynard
76f41546e2
fix various races
2004-06-16 01:53:27 +00:00
Glenn Maynard
c246f7bdc2
fix UnknownThreadSlot
2004-06-16 01:14:43 +00:00
Glenn Maynard
8e72c0d28b
fix more dialog bugs (crashes when showing an error before init)
2004-06-16 01:12:56 +00:00
Glenn Maynard
624aebcb93
fix Dialog bugs
2004-06-16 01:08:38 +00:00
Glenn Maynard
91e3269798
better error output
2004-06-16 00:29:52 +00:00
Glenn Maynard
ec8b899889
fix SDL dep
2004-06-15 06:07:52 +00:00
Glenn Maynard
de64d8a953
cleanup
2004-06-15 05:52:51 +00:00
Glenn Maynard
a5cde1da0b
do host stuff earlier, so other macros can use it if they want
2004-06-15 05:13:01 +00:00
Glenn Maynard
178fb7dbd6
WITHOUT_NETWORKING
2004-06-15 02:21:16 +00:00
Glenn Maynard
387e7c74e1
add --without-network
2004-06-15 02:14:34 +00:00
Glenn Maynard
3d3f3a4702
fix compile on archs without OS_RNG_AVAILABLE
2004-06-15 01:46:03 +00:00
Glenn Maynard
02ed651ed3
go away, Linux, I'll do it myself
2004-06-15 00:31:12 +00:00
Glenn Maynard
a83e2f4980
do it like this
2004-06-15 00:17:50 +00:00
Glenn Maynard
1dfafc21da
cleanup
2004-06-14 23:59:14 +00:00
Glenn Maynard
e91d77f6aa
RageDisplay base no longer needs SDL
2004-06-14 22:27:16 +00:00
Glenn Maynard
6c80079f04
RageSurface_Save_BMP
2004-06-14 22:26:23 +00:00
Glenn Maynard
46c37bb848
RageSurface_Load_BMP
2004-06-14 22:24:20 +00:00
Glenn Maynard
d9f5ba7821
try extern C-ing asm/byteorder.h
2004-06-14 22:00:22 +00:00
Glenn Maynard
a6047d407f
revert; this is here for a reason, please don't change core files if you don't understand them
2004-06-14 21:53:01 +00:00
Glenn Maynard
b3265ff301
use RageSurface_Load_BMP
2004-06-14 20:32:15 +00:00
Glenn Maynard
74134ec257
RageSurface_Load_BMP
2004-06-14 20:31:50 +00:00
Glenn Maynard
8cbf965af0
fix warnings
2004-06-14 20:31:23 +00:00
Glenn Maynard
aac0dd6ecc
add native BMP reader
2004-06-14 20:26:53 +00:00
Glenn Maynard
c4f0b8e6ce
cleanup
2004-06-14 20:26:25 +00:00
Glenn Maynard
0176820e03
unused
2004-06-14 17:19:18 +00:00
Glenn Maynard
5cd0e91ea5
EmergencyShutdownSDL, moved out of ArchHooks
2004-06-14 17:13:46 +00:00
Glenn Maynard
78ed3f3be6
oops; use DoEmergencyShutdown
2004-06-14 17:04:57 +00:00
Glenn Maynard
690b86936d
test set now links without SDL
2004-06-14 07:12:59 +00:00
Glenn Maynard
2ab9a8e073
add EmergencyShutdown, cleanup
2004-06-14 07:08:21 +00:00
Glenn Maynard
12fc5b9440
add EmergencyShutdown
2004-06-14 07:06:37 +00:00
Glenn Maynard
b73e2614bb
split out SDL- and arch-specific stuff from arch base stuff
2004-06-14 06:44:05 +00:00
Glenn Maynard
1182fa0390
pull in GL ourself
2004-06-14 05:54:01 +00:00
Glenn Maynard
7ef3d3e6bb
set g_X11Display
2004-06-14 05:50:40 +00:00
Glenn Maynard
6440ee4936
LowLevelWindow is responsible for setting g_X11Display
2004-06-14 05:48:28 +00:00
Glenn Maynard
ec75189203
comment
2004-06-14 05:47:17 +00:00
Glenn Maynard
025780fc21
(no, don't use SDL for the rest)
2004-06-14 05:46:49 +00:00
Glenn Maynard
344ab681ef
cleanup
2004-06-14 05:46:13 +00:00
Glenn Maynard
4459d84a17
use RageSemaphore
2004-06-14 05:36:42 +00:00
Glenn Maynard
22fe9d6841
RageSemaphore
2004-06-14 05:29:12 +00:00
Glenn Maynard
1f0ac3792d
#include <pthread.h>, just in case
2004-06-14 05:28:30 +00:00
Glenn Maynard
003ba7cb63
fix compile
2004-06-14 05:25:25 +00:00
Glenn Maynard
cf9d31917f
add TryLock
...
add semaphores
2004-06-14 05:21:46 +00:00
Glenn Maynard
34b3862833
log SDL version
2004-06-14 05:19:42 +00:00
Glenn Maynard
e534493c42
split out SetupSDL
2004-06-14 05:18:09 +00:00
Glenn Maynard
7fd8f3d3cc
define HAVE_SDL
2004-06-14 04:12:19 +00:00
Glenn Maynard
235935572e
remove SDL version check; we only required 1.2.6 due to an alpha blit
...
bug in 1.2.5, and we no longer use SDL's blits
2004-06-14 04:00:14 +00:00
Glenn Maynard
c2d109dc02
events
2004-06-14 03:55:38 +00:00
Glenn Maynard
58cf9f21c5
HandleSDLEvents is too small to be worth splitting
...
handle hwnd changes within the renderers, since it's tied to the window
2004-06-14 03:54:46 +00:00
Glenn Maynard
aa7ad967ae
HandleSDLEvents is too small to be worth splitting
...
all code that handles SDL events is also responsible for enabling and
disabling those events
2004-06-14 03:53:41 +00:00
Glenn Maynard
03e11c81a1
call SDL_UpdateHWnd
2004-06-14 03:34:38 +00:00
Glenn Maynard
b1d49657ab
UpdateHWnd -> SDL_UpdateHWnd in utils
2004-06-14 03:32:32 +00:00
Glenn Maynard
66397a57d3
add HAVE_SDL
2004-06-14 03:23:44 +00:00
Glenn Maynard
04aa247bd7
add HAVE_SDL
2004-06-14 03:16:44 +00:00
Glenn Maynard
9f72b10743
don't call HandleSDLEvents; cleanup
2004-06-14 03:14:00 +00:00
Glenn Maynard
f4cea53212
HandleSDLEvents, comment
2004-06-14 03:13:13 +00:00
Glenn Maynard
56af82b1c9
HandleSDLEvents
2004-06-14 03:12:32 +00:00
Glenn Maynard
47a277ce2b
move HandleSDLEvents to SDL_utils; the renderer is now responsible
...
for calling this
2004-06-14 03:11:39 +00:00
Glenn Maynard
bc7a7b0d37
FocusChanged prototype
2004-06-14 03:09:28 +00:00
Glenn Maynard
6de244ebb1
fix stack framing (why is vc so bad at inline asm?)
2004-06-14 03:02:16 +00:00
Glenn Maynard
0fbd740a37
fix linux compile
2004-06-14 02:32:41 +00:00
Glenn Maynard
bd9494fd43
split out FocusChanged
2004-06-14 02:13:44 +00:00
Glenn Maynard
a69428d17b
explicit RET (return value goes in EAX)
2004-06-14 02:10:47 +00:00
Glenn Maynard
7481f3fcb3
remove PATH_MAX check
2004-06-14 01:23:02 +00:00
Glenn Maynard
2c3db44464
error handling fixes; SDL color key fix
2004-06-14 01:13:31 +00:00
Glenn Maynard
87823229c5
error handling fixes
2004-06-14 01:12:22 +00:00
Glenn Maynard
40c9749d54
fix warning
2004-06-14 01:10:26 +00:00
Glenn Maynard
66fb9eece6
use RageSurface
2004-06-14 01:09:11 +00:00
Glenn Maynard
b481fc465b
excessively large commit: use RageSurface
2004-06-14 00:51:00 +00:00
Glenn Maynard
201b1b1f22
fix error
2004-06-14 00:48:50 +00:00
Glenn Maynard
0c055d5ea4
RageSurface
2004-06-14 00:46:49 +00:00
Glenn Maynard
b44f1404ce
RageSurface, to replace SDL_Surface.
...
Most of SDL_utils is moved to RageSurfaceUtils, and does not require
SDL; SDL_utils is now only utils that actually need SDL.
(My goal isn't to eliminate SDL; it's to make it a back-end library, that
can be disabled on some platforms, rather than a required library as it
is now.)
2004-06-14 00:37:55 +00:00
Glenn Maynard
49259c1b12
fix ArchSwap24
2004-06-13 23:14:13 +00:00
Glenn Maynard
f2578fe6a9
s/RageSurface/RageSurfaceUtils/
2004-06-13 20:19:28 +00:00
Glenn Maynard
bc9bbb392c
cleanup
2004-06-13 20:05:36 +00:00
Glenn Maynard
dd4bc636f4
cleanups
2004-06-13 20:03:18 +00:00
Glenn Maynard
ee7a6bd261
unneeded include
2004-06-13 19:59:21 +00:00
Glenn Maynard
b58fa07741
sdl, linux, unix automake conditionals
2004-06-13 19:58:07 +00:00