Andrei "Akari" Alexeyev
c82928a8da
WIP transition from resource scanning to manual preloading
2017-03-11 21:36:25 +02:00
Andrei "Akari" Alexeyev
915c15c766
Inverted some resource flags
...
Preparing to remove directory scanning
2017-03-11 21:32:00 +02:00
Andrei "Akari" Alexeyev
ffd623f1a5
Fixed loading resources by name
...
Also added a basic path function for animations
Added a TAISEI_NOSCAN environment variable, set to 1 to disable
autoloading resources on startup. They will then be loaded as they are
needed, which may cause the game to stutter when that happens.
2017-03-07 03:13:06 +02:00
Andrei "Akari" Alexeyev
ca16c30966
large refactoring WIP
...
windows & osx untested
bgm untested
too many changes to comment on
2017-03-05 00:39:17 +02:00
Andrei "Akari" Alexeyev
ebe7d22c6c
fix minor issues
2017-03-01 18:43:22 +02:00
Andrei "Akari" Alexeyev
18652576d6
Use hashtables for resource management
2017-02-28 22:51:47 +02:00
Andrei "Akari" Alexeyev
8668021710
Replaced strncat/strncpy with strlcat/strlcpy
...
The strncat/strncpy functions have dangerously counter-intuitive
semantics. They are meant to be used with fixed-width,
non-null-terminated strings, which is in, 99% cases, not what you want.
The strlcat/strlcpy ones are non-standard, however SDL provides its own
implementations on platforms that do not have them.
2017-02-16 08:29:18 +02:00
Martin Herkt
582b2f9dd9
Fix minor pointer/memory management issues
2017-02-15 14:35:07 +01:00
Andrei "Akari" Alexeyev
9a7a874783
Use the standard bool type instead of that stupid enum
...
Also removed all of the annoying trailing tabs/whitespaces
2017-02-11 05:56:47 +02:00
Andrei "Akari" Alexeyev
8566c65f4b
Fixed clang warnings
2017-02-07 20:34:55 +02:00
laochailan
fa973116a3
Merge branch 'master' of github.com:laochailan/taisei
2012-08-10 22:17:59 +02:00
laochailan
f0225149f5
added missing fclose()
2012-08-10 22:09:15 +02:00
Andrew "Akari" Alexeyew
779ff58684
Fixed all the () prototypes, changed to (void)
2012-08-10 23:08:51 +03:00
Andrew "Akari" Alexeyew
0f78b1a7eb
Got rid of inline prototypes
2012-08-10 22:27:46 +03:00
laochailan
b4feea1cb6
replacement for strtok_r
2012-07-18 13:42:04 +02:00
laochailan
9d26e50d2b
Added Stage 4 BG
2012-07-16 18:13:58 +02:00
laochailan
13e5f310a7
OBJ model loader implemented.
2012-07-15 08:15:47 +02:00