Commit graph

70 commits

Author SHA1 Message Date
Strangerke
ca5b883ce7 LILLIPUT: Add one core function, some renaming 2018-03-28 17:36:57 +02:00
Strangerke
c77a3e2e51 LILLIPUT: Some renaming 2018-03-28 17:36:57 +02:00
Strangerke
ab3b7972e0 LILLIPUT: Add sprite mirroring to fix display of characters looking left 2018-03-28 17:36:57 +02:00
Strangerke
f06dbf19af LILLIPUT: Fix a bug on 16675 2018-03-28 17:36:57 +02:00
Strangerke
7320966cd7 LILLIPUT: fix (?) a couple of things in 16626, implement several core functions 2018-03-28 17:36:57 +02:00
sylvaintv
70afb0b9c5 LILLIPUT: More opcodes2
Building decompiler array for opcode2 at the same time
2018-03-28 17:36:57 +02:00
Strangerke
8023057999 LILLIPUT: Implement some more opcodes 2018-03-28 17:36:57 +02:00
Strangerke
6eccd8e6f3 LILLIPUT: Add a couple of missing debugC 2018-03-28 17:36:57 +02:00
Strangerke
974c223a43 LILLIPUT: Split palette functions, implement some core functions 2018-03-28 17:36:57 +02:00
Strangerke
dd81316528 LILLIPUT: Implement some functions related to string display 2018-03-28 17:36:57 +02:00
sylvaintv
6dfec1f58e LILLIPUT: Last opcodes1 + first step of script decompiler 2018-03-28 17:36:57 +02:00
Strangerke
2462b8d340 LILLIPUT: Fix bug 2018-03-28 17:36:57 +02:00
Strangerke
d65cd866e7 LILLIPUT: Implement 2 opcodes, fix a duplicate variable detected by SylvainTV 2018-03-28 17:36:57 +02:00
sylvaintv
566954c8e6 LILLIPUT: More opcodes 2018-03-28 17:36:57 +02:00
sylvaintv
d19e92fbb0 LILLIPUT: Several opcodes & renaming
Rename character related variables
2018-03-28 17:36:57 +02:00
Strangerke
b2ac6e0631 LILLIPUT: Replace MemoryReadStream by a custom read/write stream 2018-03-28 17:36:57 +02:00
Strangerke
1f7cf60ddb LILLIPUT: Fixsome problems reported by clone2727 2018-03-28 17:36:57 +02:00
sylvaintv
576f0217e0 LILLIPUT: Implements Load Map opcode
Loads graphics, fade out/in, display points
2018-03-28 17:36:57 +02:00
sylvaintv
0be54f0b1b LILLIPUT: Maybe fix a problem in sub12F37
Unlocked new opcodes !
2018-03-28 17:36:57 +02:00
Strangerke
5ede42cd6a LILLIPUT: Some renaming, implement a couple of functions 2018-03-28 17:36:57 +02:00
Strangerke
5b6014fb77 LILLIPUT: Implement 4 more opcodes 2018-03-28 17:36:57 +02:00
sylvaintv
b525867d4a LILLIPUT: Small fixes and renaming
Renamed variables about character positions
Fixed heroism display
2018-03-28 17:36:57 +02:00
sylvaintv
bbea84b4b1 LILLIPUT: Character rendering
Characters are now rendered (no animation yet though)
2018-03-28 17:36:57 +02:00
Strangerke
9054e0f0d6 LILLIPUT: Fix a couple of glitches 2018-03-28 17:36:57 +02:00
Strangerke
59b9b70413 LILLIPUT: Implement some more functions 2018-03-28 17:36:57 +02:00
sylvaintv
1b86a778f3 LILLIPUT: Implements displayFunction18
Draw characters (men or men2)
2018-03-28 17:36:57 +02:00
sylvaintv
b348db605b LILLIPUT: Implements character display on map
Draw and restore points
2018-03-28 17:36:57 +02:00
Strangerke
1864f1e518 LILLIPUT: Implement some more core functions 2018-03-28 17:36:57 +02:00
sylvaintv
a8699a809e LILLIPUT: Add missing addition in sub16DD5 2018-03-28 17:36:57 +02:00
sylvaintv
7bbfe71785 LILLIPUT: Implemented sub16DD5
It looks like a collision line test between 2 points
2018-03-28 17:36:57 +02:00
Strangerke
8d5c377b45 LILLIPUT: (Hopefully) fix sub16CA0 2018-03-28 17:36:57 +02:00
sylvaintv
98b39800a8 LILLIPUT: Implementation of sub16CA0
Big sub16CA0 function implementation
2018-03-28 17:36:57 +02:00
sylvaintv
8bc2d28e5d LILLIPUT: Small additions
Small implementations of the int8 functions
2018-03-28 17:36:57 +02:00
Strangerke
c4dc1e3761 LILLIPUT: Add display heroism bar 2018-03-28 17:36:57 +02:00
Strangerke
ebb7f492f0 LILLIPUT: Fix a couple of check errors in sub16626, implement some more more core functions 2018-03-28 17:36:57 +02:00
sylvaintv
c6ee25b179 LILLIPUT: Minor fixes
Prevents unexpected values in sub16626
2018-03-28 17:36:57 +02:00
Strangerke
16ec550df5 LILLIPUT: Fix display string functions, some renaming 2018-03-28 17:36:57 +02:00
Strangerke
5d21c237f7 LILLIPUT: Add display string, accelerate fading to 50Hkz 2018-03-28 17:36:57 +02:00
Strangerke
8f8dadb9e1 LILLIPUT: Implement some more functions 2018-03-28 17:36:57 +02:00
Strangerke
f2512b82c2 LILLIPUT: Put sound stubs in a separated class 2018-03-28 17:36:57 +02:00
Strangerke
70f1d349c5 LILLIPUT: Implement some more parts of "int 8" 2018-03-28 17:36:57 +02:00
sylvaintv
0139ce6853 LILLIPUT: Fix 20ms frame glitch
Skip late frames if we are too slow
2018-03-28 17:36:57 +02:00
sylvaintv
c3ca01737b LILLIPUT: Int8 called every 20ms
Makes also the title stars work
2018-03-28 17:36:57 +02:00
Strangerke
4fd8507768 LILLIPUT: Start implementing engine update (int 8 replacement in the original)
The screen now moves to the point expected in intro
2018-03-28 17:36:57 +02:00
sylvaintv
eeb69f46bc LILLIPUT: Implement fade in/fade out
Fade from/to black
2018-03-28 17:36:57 +02:00
Strangerke
3780999f3d LILLIPUT: Implement two more display functions 2018-03-28 17:36:57 +02:00
sylvaintv
c67d5e127d LILLIPUT: Isomap rendering complete
Fixed more small things, the map renders as in game.
2018-03-28 17:36:57 +02:00
sylvaintv
0c0182d364 LILLIPUT: Fix to render cubes
We can see some isometric cubes but wrongly placed.
2018-03-28 17:36:57 +02:00
Strangerke
3ffb103d57 LILLIPUT: Some more display functions 2018-03-28 17:36:57 +02:00
Strangerke
847098c705 LILLIPUT: Implement display function 6, start implementing display function 12.
Background is now displayed properly
2018-03-28 17:36:57 +02:00