Commit Graph

297 Commits

Author SHA1 Message Date
a/
cb9004e2a0
SAGA2: Add debug channel for palettes 2021-07-01 01:37:01 +02:00
a/
d57f807e55
SAGA2: Insert osystem draw functions 2021-07-01 01:37:01 +02:00
a/
943df6181e
SAGA2: Fix mouseimg alloc-dealloc problem 2021-07-01 01:37:01 +02:00
a/
9642a17a0b
SAGA2: Fix drawPage initialization 2021-07-01 01:37:01 +02:00
Eugene Sandulenko
201743952c
JANITORIAL: Code formatting 2021-07-01 01:37:01 +02:00
a/
36d672189e
SAGA2: Fix global buffer overflow in terrain.cpp 2021-07-01 01:37:01 +02:00
a/
d6caa21992
SAGA2: Fix activeItemData loading 2021-07-01 01:37:01 +02:00
a/
4520b3ffa3
SAGA2: Fix assocList reading 2021-07-01 01:37:00 +02:00
Eugene Sandulenko
653998e4f1
SAGA2: Cleanup unneeded stubs 2021-07-01 01:37:00 +02:00
Eugene Sandulenko
8f19630ded
SAGA2: JANITORIAL: Fix code formatting 2021-07-01 01:37:00 +02:00
Eugene Sandulenko
1fd59c3759
SAGA2: Fix warnings 2021-07-01 01:37:00 +02:00
a/
91d47cb480
SAGA2: Cleanup handles in drawObject 2021-07-01 01:37:00 +02:00
a/
99d0035d61
SAGA2: Fix pose/colorscheme loading 2021-07-01 01:37:00 +02:00
Eugene Sandulenko
96bebe4853
SAGA2: Fix warnings 2021-07-01 01:37:00 +02:00
Eugene Sandulenko
e916e99d5f
SAGA2: Fix warnings 2021-07-01 01:37:00 +02:00
Eugene Sandulenko
6edd3ae7b5
SAGA2: Fix warnings 2021-07-01 01:36:59 +02:00
Eugene Sandulenko
6f21e5f7cc
SAGA2: Implement palette setting 2021-07-01 01:36:59 +02:00
a/
1c41a3098a
SAGA2: Fix MetaTile loading 2021-07-01 01:36:59 +02:00
Eugene Sandulenko
982f6f8725
SAGA2: Cleanup event-related stubs 2021-07-01 01:36:59 +02:00
Eugene Sandulenko
6c9e092973
SAGA2: Implement breakEventLoop() 2021-07-01 01:36:59 +02:00
Eugene Sandulenko
05c3ed6ea0
SAGA2: Implement keyboard/mouse event handling 2021-07-01 01:36:59 +02:00
a/
6a96f6d87c
SAGA2: Fix sprite banks loading 2021-07-01 01:36:59 +02:00
a/
9ac480ef36
SAGA2: Increase maxSensorSize 2021-07-01 01:36:59 +02:00
a/
98a454470e
SAGA2: Replace memory management methods in tile.cpp 2021-07-01 01:36:59 +02:00
a/
4e605d24f8
SAGA2: Fix ActiveItemStates initialization 2021-07-01 01:36:58 +02:00
a/
c628f16be1
SAGA2: Fix game object loading 2021-07-01 01:36:58 +02:00
a/
9bde6969e1
SAGA2: Fix object prototype loading 2021-07-01 01:36:58 +02:00
a/
d54d3a0dce
SAGA2: Fix ResourceActor size 2021-07-01 01:36:58 +02:00
a/
b8cdec88bd
SAGA2: Fix ResourceActor loading 2021-07-01 01:36:58 +02:00
Eugene Sandulenko
ea35f4728e
SAGA2: Load image cursors from .exe, delete images.* 2021-07-01 01:36:58 +02:00
Eugene Sandulenko
72b159095f
SAGA2: Turn loading from .exe into a data-driven 2021-07-01 01:36:58 +02:00
a/
f74ed3eabb
SAGA2: Fix objects.cpp more 2021-07-01 01:36:58 +02:00
a/
5969577a2b
SAGA2: Fix object prototypes initialization 2021-07-01 01:36:57 +02:00
a/
34af614f8e
SAGA2: Fix actor sprite initialization 2021-07-01 01:36:57 +02:00
Eugene Sandulenko
9ba0a2e46c
SAGA2: Finish reducing include dependencies 2021-07-01 01:36:57 +02:00
Eugene Sandulenko
68bbf3c16c
SAGA2: Reduce header dependency 2021-07-01 01:36:57 +02:00
Eugene Sandulenko
4a5b055e10
SAGA2: Reduce header dependencies 2021-07-01 01:36:57 +02:00
a/
6d3cc8c9e4
SAGA2: Fix Route Data initialization 2021-07-01 01:36:57 +02:00
a/
392690a107
SAGA2: Fix RES_ID calls 2021-07-01 01:36:57 +02:00
a/
3e0d5ec5cd
SAGA2: Fix panel loading 2021-07-01 01:36:57 +02:00
a/
2d0fdf1fe2
SAGA2: Fix palette loading 2021-07-01 01:36:57 +02:00
Eugene Sandulenko
7fbe19751b
SAGA2: Cleanup task.h 2021-07-01 01:36:56 +02:00
Eugene Sandulenko
6e8a939be7
SAGA2: Fix initSystemTimer() stub 2021-07-01 01:36:56 +02:00
Eugene Sandulenko
b9162e3de5
SAGA2: Cleanup test code on the engine start 2021-07-01 01:36:56 +02:00
Eugene Sandulenko
9a8c31cde3
SAGA2: Finish work on the nested includes 2021-07-01 01:36:56 +02:00
Eugene Sandulenko
46f062d54a
SAGA2: Fix warnings 2021-07-01 01:36:56 +02:00
a/
78d8cf362e
SAGA2: Fix more memory-related errors 2021-07-01 01:36:56 +02:00
a/
238c445ba3
SAGA2: Fix memory-magament issues in speldraw.cpp 2021-07-01 01:36:56 +02:00
a/
358c3f7f84
SAGA2: Cleanup path.cpp 2021-07-01 01:36:56 +02:00
Eugene Sandulenko
0dba551dd5
SAGA2: Further work on include dependency reduction 2021-07-01 01:36:56 +02:00
Eugene Sandulenko
3e79f9cd1b
SAGA2: Remove rmemfta.h 2021-07-01 01:36:55 +02:00
Eugene Sandulenko
c571279f1b
SAGA2: Reduced header dependency for fta.h 2021-07-01 01:36:55 +02:00
Eugene Sandulenko
a6b19daa9a
SAGA2: Fix include order 2021-07-01 01:36:55 +02:00
Eugene Sandulenko
a24d6c7a1c
SAGA2: More work on includes 2021-07-01 01:36:55 +02:00
Eugene Sandulenko
20e0ee7e70
SAGA2: More work on reducing header dependency 2021-07-01 01:36:55 +02:00
Eugene Sandulenko
eca51bba37
SAGA2: Reduce header dependency 2021-07-01 01:36:55 +02:00
Eugene Sandulenko
14781813ca
SAGA2: Reduce header dependency 2021-07-01 01:36:55 +02:00
a/
d7ea7c0541
SAGA2: Import drawTile from SAGA 2021-07-01 01:36:55 +02:00
a/
5708989481
SAGA2: Fix display-related system initializations 2021-07-01 01:36:54 +02:00
a/
137e62441e
SAGA2: Cleanup intrface.cpp 2021-07-01 01:36:54 +02:00
a/
b1ac2cfe01
SAGA2: Cleanup playmode.cpp 2021-07-01 01:36:54 +02:00
Eugene Sandulenko
8d16b5156d
SAGA2: Further include dependency reduction 2021-07-01 01:36:54 +02:00
a/
d5dca40781
SAGA2: Add draw map test 2021-07-01 01:36:54 +02:00
Eugene Sandulenko
e71207f680
SAGA2: Reduce header dependency in audio.* 2021-07-01 01:36:54 +02:00
Eugene Sandulenko
a58fb4ac29
SAGA2: Reduce header dependency 2021-07-01 01:36:54 +02:00
Eugene Sandulenko
65060ab0ca
SAGA2: Decrease header dependency 2021-07-01 01:36:54 +02:00
Eugene Sandulenko
6e47bc1dcd
SAGA2: Implement SMK videoplayer and play intro video 2021-07-01 01:36:53 +02:00
Eugene Sandulenko
c9f74624ac
SAGA2: Rename itevideo.cpp -> video.cpp and move it to Saga2Engine 2021-07-01 01:36:53 +02:00
Eugene Sandulenko
5d86b6c2f6
SAGA2: Remove video routines 2021-07-01 01:36:53 +02:00
a/
ee8ffa657d
SAGA2: Fix tile cycle initialization 2021-07-01 01:36:53 +02:00
a/
2fe25abd98
SAGA2: Add kDebugTiles 2021-07-01 01:36:53 +02:00
a/
a51985c8fb
SAGA2: Cleanup tile.cpp a bit 2021-07-01 01:36:53 +02:00
a/
308c258b4b
SAGA2: Fix resource loading in hResContext constructor 2021-07-01 01:36:53 +02:00
a/
dfaf98b2a7
SAGA2: Cleanup initMaps() more 2021-07-01 01:36:53 +02:00
a/
5d8c85234f
SAGA2: Cleanup some of initMaps() 2021-07-01 01:36:53 +02:00
a/
4d2202da09
SAGA2: Fix filename in resource functions 2021-07-01 01:36:52 +02:00
a/
e64f3079bb
SAGA2: Fix compilation 2021-07-01 01:36:52 +02:00
a/
08b6aca44b
SAGA2: Fix tile initialization 2021-07-01 01:36:52 +02:00
a/
2b9663ded4
SAGA2: Organize debug messages 2021-07-01 01:36:52 +02:00
a/
ccc04196bc
SAGA2: Allow looping through the scripts 2021-07-01 01:36:52 +02:00
Eugene Sandulenko
a6f50cc6e0
SAGA2: Skip videoplayer initialization 2021-07-01 01:36:52 +02:00
Eugene Sandulenko
a02aaadc73
SAGA2: Started cleanup for the video classes 2021-07-01 01:36:52 +02:00
Eugene Sandulenko
7a053bf1e3
SAGA2: Remove graphics initializer 2021-07-01 01:36:52 +02:00
Eugene Sandulenko
238380fd5b
SAGA2: Cleanup gpointer.cpp 2021-07-01 01:36:51 +02:00
a/
d4e1abcac7
SAGA2: Store (index, pointer) pairs into a HashMap 2021-07-01 01:36:51 +02:00
a/
58ad6895eb
SAGA2: Organize hresmgr functions 2021-07-01 01:36:51 +02:00
a/
3cb251421b
SAGA2: Fix _numEntries 2021-07-01 01:36:51 +02:00
Eugene Sandulenko
53d520e2cf
SAGA2: Remove osexcept.* 2021-07-01 01:36:51 +02:00
Eugene Sandulenko
7271d3b52a
SAGA2: More removal of forbidden symbols 2021-07-01 01:36:51 +02:00
Eugene Sandulenko
44d293f6fc
SAGA2: Load ColorMapRanges from the .exe, kill maprange.cpp 2021-07-01 01:36:51 +02:00
Eugene Sandulenko
426e750347
SAGA2: Code formatting 2021-07-01 01:36:51 +02:00
Eugene Sandulenko
cd6261fca3
SAGA2: Remove iff.* 2021-07-01 01:36:51 +02:00
Eugene Sandulenko
3ee9ab9930
SAGA2: Replace rand() 2021-07-01 01:36:50 +02:00
a/
af8adadc73
SAGA2: Fix endianness in reading in lookupExport 2021-07-01 01:36:50 +02:00
a/
0eefd3b657
SAGA2: Make test script runnable 2021-07-01 01:36:50 +02:00
a/
676fd24e9c
SAGA2: Initialize Thread in Saga2::run() 2021-07-01 01:36:50 +02:00
a/
e5e85e2ff8
SAGA2: Get rid of some pointer arithmetic 2021-07-01 01:36:50 +02:00
a/
6d218247bb
SAGA2: Fix initScripts() 2021-07-01 01:36:50 +02:00
a/
389de83222
SAGA2: Add warnings when ID is not found 2021-07-01 01:36:50 +02:00
a/
bb044850a3
SAGA2: Add functions to get resource pointer and size by id 2021-07-01 01:36:50 +02:00
a/
df22001476
SAGA2: Fix if statements to agree with conventions 2021-07-01 01:36:49 +02:00
a/
44455e469e
SAGA2: Fix resource loading and add initScripts() prototype 2021-07-01 01:36:49 +02:00
Eugene Sandulenko
177aa92900
SAGA2: Replace custom assert macros 2021-07-01 01:36:49 +02:00
Eugene Sandulenko
36ead351f1
SAGA2: Fix incorrect change 2021-07-01 01:36:49 +02:00
Eugene Sandulenko
a2a6c82bc2
SAGA2: Fix more warnings 2021-07-01 01:36:49 +02:00
Eugene Sandulenko
cda89805f1
SAGA2: Fix more warnings 2021-07-01 01:36:49 +02:00
Eugene Sandulenko
f8024e73cc
SAGA2: More warning fixes 2021-07-01 01:36:49 +02:00
a/
5eadf11a37
SAGA2: Fix more formatting 2021-07-01 01:36:49 +02:00
a/
ac551e3c24
SAGA2: Fix formatting for unpackImage() 2021-07-01 01:36:49 +02:00
Eugene Sandulenko
0ad7e918d9
SAGA2: Fix gPort initialization 2021-07-01 01:36:48 +02:00
a/
8d5c31359e
SAGA2: Blit test image to screen 2021-07-01 01:36:48 +02:00
Eugene Sandulenko
4319fd55f5
SAGA2: Fix more warnings 2021-07-01 01:36:48 +02:00
Eugene Sandulenko
97fa02d7b8
SAGA2: Fix duplicated enums 2021-07-01 01:36:48 +02:00
Eugene Sandulenko
b036dddc9d
SAGA2: Fix warnings 2021-07-01 01:36:48 +02:00
Eugene Sandulenko
b76a1121d6
SAGA2: Const'ness 2021-07-01 01:36:48 +02:00
Eugene Sandulenko
a41d378fed
SAGA2: Remove mono.* 2021-07-01 01:36:48 +02:00
Eugene Sandulenko
1f1947c39a
SAGA2: Remove winini.* 2021-07-01 01:36:48 +02:00
Eugene Sandulenko
edceb1d824
SAGA2: Remove unneeded messagers and replace them with debugC() 2021-07-01 01:36:47 +02:00
Eugene Sandulenko
a531df5354
SAGA2: Exposed random source 2021-07-01 01:36:47 +02:00
Eugene Sandulenko
b8ab6203e4
SAGA2: Rename abort() methods 2021-07-01 01:36:47 +02:00
a/
863adf7918
SAGA2: Replace image unpack routines with original 2021-07-01 01:36:47 +02:00
Eugene Sandulenko
e9e3313ada
SAGA2: Cleanup and removing unused files 2021-07-01 01:36:47 +02:00
a/
a9da39baed
SAGA2: Change debug message in unpackImage 2021-07-01 01:36:47 +02:00
Eugene Sandulenko
04ecb9e275
SAGA2: Remove custom error handling 2021-07-01 01:36:47 +02:00
Eugene Sandulenko
10c78758f4
SAGA2: Restored msgbox.* 2021-07-01 01:36:47 +02:00
Eugene Sandulenko
91c749d2d6
SAGA2: More comment cleanup 2021-07-01 01:36:47 +02:00
Eugene Sandulenko
ee924d93ab
SAGA2: Cleanup and fixing warnings 2021-07-01 01:36:46 +02:00
a/
823bdc404d
SAGA2: Use Common::File operations for LoadResource 2021-07-01 01:36:46 +02:00
Eugene Sandulenko
e7cfeb8bab
SAGA2: Move FORBIDDEN_SYMBOL_ALLOW_ALL to individual files 2021-07-01 01:36:46 +02:00
a/
fde112d2b1
SAGA2: Import image decoding routines from SAGA 2021-07-01 01:36:46 +02:00
a/
1a0d619a7e
SAGA2: Change RES_ID to MKTAG in some files 2021-07-01 01:36:46 +02:00
a/
95057bdc18
SAGA2: Read category from resource 2021-07-01 01:36:46 +02:00
Eugene Sandulenko
1cce8104b1
SAGA2: Fixed a few warnings 2021-07-01 01:36:46 +02:00
a/
5497cdf89c
SAGA2: Clean up main.cpp a bit 2021-07-01 01:36:46 +02:00
a/
dd18bce545
SAGA2: Switch memory routines for portable ones 2021-07-01 01:36:45 +02:00
a/
055e58738a
SAGA2: Rename resource class names according to conventions 2021-07-01 01:36:45 +02:00
a/
25df9a7570
SAGA2: Make some code agree with conventions 2021-07-01 01:36:45 +02:00
a/
7d0d52ed8e
SAGA2: Update debug channels to include resources 2021-07-01 01:36:45 +02:00
a/
5eab675ee7
SAGA2: Implement openResources() with Common::File 2021-07-01 01:36:45 +02:00
a/
18a51673a2
SAGA2: Kill graphics/audio init in towerfta.cpp 2021-07-01 01:36:45 +02:00
a/
354713cb36
SAGA2: Kill file checking routines 2021-07-01 01:36:45 +02:00
Eugene Sandulenko
18c43a8402
SAGA2: Support original CD layout for FTA2 2021-07-01 01:36:45 +02:00
a/
57b3eb2e21
SAGA2: Replace one instance of clamp with CLIP 2021-07-01 01:36:45 +02:00
Eugene Sandulenko
6c9dc80384
SAGA2: Implement updateLoadMode() 2021-07-01 01:36:44 +02:00
Eugene Sandulenko
051e97c365
SAGA2: Unstub initializeGame() 2021-07-01 01:36:44 +02:00
Eugene Sandulenko
984a6b5739
SAGA2: Remove duplicated functions 2021-07-01 01:36:44 +02:00
Eugene Sandulenko
62e5f32dd8
SAGA2: Initial engine commit 2021-07-01 01:36:44 +02:00