rexim
ea11a9410c
Add RENDERER_CONFIG
2019-12-30 03:02:51 +07:00
rexim
5d78ef62df
Print the name of the driver on start
2019-12-30 02:56:58 +07:00
ivanhoe
81830e937b
tsoding#1225 don't init SDL haptic subsystem
2019-12-29 19:06:24 +01:00
rexim
ea185ab734
Generalize extrema functions
2019-12-10 20:32:16 +07:00
rexim
0bc119a5de
Make 60 FPS a default
2019-12-06 21:10:51 +07:00
rexim
26d40dd2ea
( #974 ) Remove debug logging
2019-12-01 01:38:40 +07:00
zhiayang
bceb35ac1f
( #974 ) Revert that. I can't program, apparently.
2019-11-25 11:53:41 +08:00
zhiayang
e4078f8d1f
( #974 ) Skip rescaling the events if the scale is 1.
2019-11-25 11:45:37 +08:00
zhiayang
bba6b7f644
( #974 ) Fix float -> int casting
2019-11-25 11:35:11 +08:00
zhiayang
ff428de0b0
( #974 ) Clean up redundant code checks.
...
PS: I don't think anybody manufactures a screen that has different
x and y pixel scale...
2019-11-25 11:21:30 +08:00
zhiayang
3c9409f3c1
( #974 ) Support non-1x display resolution scale
2019-11-25 11:09:47 +08:00
PaprikaX33
73baf69522
added the symlink indirection directory
2019-10-24 10:47:23 +07:00
rexim
ed72f0b925
( #1108 ) NothingXP
2019-10-21 00:51:32 +07:00
rexim
41321346fc
( #1108 ) add development ding
2019-10-21 00:29:43 +07:00
rexim
83295c8f08
point.h -> vec.h
2019-09-29 03:24:30 +07:00
destroycomputers
9a823d8f75
Explicitly set numeric locale to "C". Fixes tsoding/nothing#1019
...
SDL_Init sets current locale to system locale, which
alters default floating-point format and results in
level definition parsing failure due to invalid floating
point value format.
2019-08-18 23:55:24 +03:00
rexim
c49a4a9c43
( #874 ) Make level-folder autodiscoverable
2019-06-02 00:48:19 +07:00
rexim
23b3690fa5
( #532 ) Proper SDL2 includes
2019-05-25 20:29:35 +07:00
rexim
0f9cce409a
( #612 ) Remove lt_adapters
2019-05-21 01:08:00 +07:00
rexim
928c260d4b
( #612 ) Remove SDL_mixer deps to simply initial Windows support
2019-05-20 23:45:05 +07:00
rexim
2cc2c1e039
Make Lt dynamic again
2019-05-13 01:54:25 +07:00
rexim
eaa7ee235a
Remove `lt == NULL` checks
...
lt is not a pointer anymore
2019-05-13 01:17:12 +07:00
rexim
d2d40e79cd
create_lt() -> {0}
2019-05-13 00:37:25 +07:00
rexim
350ba42863
`Lt *` -> `Lt `
2019-05-13 00:36:29 +07:00
rexim
45858e5212
( #718 ) Update Usage output of the game
2019-03-11 00:16:26 +07:00
rexim
8a35916b96
( #721 ) level_filename -> level_folder
2019-03-10 23:34:55 +07:00
rexim
c048086081
( #677 ) Switch the relative mouse mode depending on flying mode
2019-02-10 23:02:49 +07:00
rexim
80b3b50a4a
( #227 ) Introduce flying mode
2019-02-09 23:22:38 +07:00
rexim
d2d43373cd
( #647 ) Introduce math/extrema.h
2019-01-22 11:19:31 +07:00
rexim
e0a0be083d
( #475 ) Remove error unit
2018-11-12 18:26:06 +07:00
rexim
bae775fd42
( #476 ) Replace printf with log_info
2018-11-06 10:08:05 +07:00
rexim
5871d278cf
( #476 ) Replace fprintf(stderr, ...) with log_fail
2018-11-06 10:01:52 +07:00
Valentin Ignatev
e1b808584c
Fix #404
2018-10-27 02:19:36 +03:00
rexim
0dd2fa4012
( #350 ) Use SDL Text Input for EditField
2018-10-14 06:00:35 +07:00
Frank Lyder Bredland
0fc5f689c2
Using defines should be fine for the two instances of min and max
2018-10-06 21:14:40 +02:00
rexim
926684a8cd
find -type f -exec sed -i "s/\b\(\w\)\(\w*\)_t\b/\U\1\E\2/g" {} \;
2018-08-19 00:03:01 +07:00
rexim
355eb70c9c
Lock game to 30 fps because of #251
2018-07-22 23:05:38 +07:00
rexim
68ca2d7c44
Don't even invoke game_render if it's not the render time
2018-07-22 22:41:41 +07:00
rexim
7b1a028569
Put the text into the game
2018-07-16 02:18:53 +07:00
rexim
ec8d50d2b0
( #238 ) Make sprite_font support arbitrary colors
2018-07-16 01:51:07 +07:00
rexim
fc801c7e9a
( #238 ) Make black color transparent for sprite_font
2018-07-16 00:59:24 +07:00
rexim
7f1a62b8c6
Limit delay from the bottom
2018-07-15 23:33:15 +07:00
rexim
3529f8a524
( #234 ) remove SDL_ttf dependency
2018-07-15 01:28:20 +07:00
rexim
b46aa05b9c
( #234 ) Implement sprite_font
2018-07-15 01:22:38 +07:00
rexim
819f259cfa
Round delta times
2018-07-09 15:42:36 +07:00
rexim
d0ea762a4a
( #157 ) Fix fps
2018-07-09 02:32:08 +07:00
rexim
2116887be1
( #157 ) Separate fps of physics and rendering
2018-07-09 02:13:39 +07:00
rexim
f87c738095
Simplify game loop
2018-07-09 01:48:06 +07:00
rexim
88a9d51075
Implement render_text_shaded function
2018-07-09 00:25:33 +07:00
rexim
0ad0f5bcdc
Move SDL_Quit_lt and Mix_CloseAudio_lt to lt_adapters
2018-06-20 02:00:14 +07:00