mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-12-25 20:30:31 +00:00
tfv: enable keyboard auto-repeat in SDL
This commit is contained in:
parent
a3d5057560
commit
9e89f7fa9d
@ -377,6 +377,8 @@ int grsim_init(void) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, SDL_DEFAULT_REPEAT_INTERVAL);
|
||||
|
||||
/* Init screen */
|
||||
for(x=0x400;x<0x800;x++) ram[x]=0;
|
||||
|
||||
|
@ -407,6 +407,7 @@ static void show_map(void) {
|
||||
* * EXPERIENCE: 0 *
|
||||
* * NEXT LEVEL: 16 *
|
||||
* * *
|
||||
* * MONEY: $1 *
|
||||
* * TIME: 0:00 *
|
||||
******************************************
|
||||
Inc level at 4, so 64 levels
|
||||
@ -571,12 +572,15 @@ static int do_battle(void) {
|
||||
|
||||
1 BEACH LANDING GR/\ASS FORREST
|
||||
|
||||
2 BEACH GRASS GR/\ASS FORREST
|
||||
2 BEACH GRASS COLLEGE FORREST
|
||||
|
||||
3 BEACH BEACH COLLEGE BEACH
|
||||
3 BEACH BEACH BEACH BEACH
|
||||
|
||||
*/
|
||||
|
||||
/* Walk through bushes, beach water */
|
||||
/* Make landing a sprite? Stand behind things? */
|
||||
|
||||
static int world_map(void) {
|
||||
|
||||
int ch;
|
||||
|
Loading…
Reference in New Issue
Block a user