Anders Jenbo
08aa6a860a
Move generic helpers out of miniwin
6 years ago
qndel
c2587d9786
use enums ( #1997 )
6 years ago
qndel
3008439bc7
enums and stuff
6 years ago
Anders Jenbo
cee06d07a7
Correct spelling of color
6 years ago
Anders Jenbo
0c90ad0527
Set bool values TRUE/FALSE
6 years ago
Anders Jenbo
5fa0c5781b
Backport cleanups from Hellfire branch
6 years ago
galaxyhaxz
eab1de117f
Fix missing assert for FindGetItem
6 years ago
Anders Jenbo
af0a7c0653
Apply SPANEL_WIDTH
6 years ago
Anders Jenbo
45844b71ae
Make controls more responsive
...
- Fix double events
- Fix ignored events
- Allow moving diagonal in the inventory
- Fix mouse wobbling in inventory when scalling
- Make controler actions cursor independants
- Make sure secoundery and primery key doesn't fire each others events
- Highlight both primary and secondary target
- Automatic switch between controller and keyboard+mouse
- Allow the user to change facing direction when blocked
- Make code event based instead of relying on time outs
6 years ago
galaxyhaxz
67fedd9e99
Fix unknown struct field and drawpanflag
6 years ago
Anders Jenbo
92ab05ea13
Decompose more magic numbers
6 years ago
Anders Jenbo
933262d701
Remove support for partial cel decoding
...
Since we no longer make use of this it should result in a small speed up
6 years ago
Anders Jenbo
2348c3a8fd
Documentations, enums and clean ups
6 years ago
Robin Eklind
e155a9423e
rename random to random_ to avoid collision with random in stdlib.h
...
Fixes #1813 .
6 years ago
qndel
57f1fcce4c
some enums ( #1816 )
7 years ago
Anders Jenbo
337bc9b125
Render text in screen cordinates instead of buffer offsets
7 years ago
Anders Jenbo
ad7a621e5f
Drop PitchTbl to avoid resolution restriction
7 years ago
Anders Jenbo
8ed4515727
Strip clipping from town and scroll
7 years ago
galaxyhaxz
85afd0768a
Add bugfix for dupe bug
7 years ago
Anders Jenbo
6597688eac
Rename cell functions
7 years ago
qndel
6b286941f3
enums
7 years ago
Anders Jenbo
27e3696df4
Use consts for drawing ui
7 years ago
Anders Jenbo
f605138c79
Strip ASM code
7 years ago
Anders Jenbo
68d51e7d27
Implementing Spawned Shareware version
7 years ago
Alex Yatskov
f1da6e6a38
Fix invalid file and line constants ( #222 )
...
* Fix invalid file and line constants
* add macros
* remove ASSERT_FAIL macro
7 years ago
Anders Jenbo
6fba17eec5
Correct GLOBAL types based on PSX SYM 3
7 years ago
Anders Jenbo
3bc8ba66b0
Use defines for more screen geometry values
7 years ago
Anders Jenbo
32a51d17ca
Align function signatures with PSX symbols
...
Using
https://github.com/diasurgical/scalpel/tree/master/psx/_dump_/3/_dump_c_src_/diabpsx/source
as a reference
7 years ago
Anders Jenbo
7c071924ad
Format recently cleaned code
7 years ago
Duarte Alvim
6a4142fb08
Add gold constants
7 years ago
Anders Jenbo
0022702c38
Clean up CalcPlrInv calls
7 years ago
Manuel K
97c1edd3a0
Use BUFFER_WIDTH
7 years ago
Manuel K
896933f55e
Replace magic number 352 with VIEWPORT_HEIGHT ( #1232 )
7 years ago
Sergey Semushin
85a7151d37
Fix min diff in SpecialAutoPlace.
7 years ago
Sergey Semushin
ccc72fda2e
Fix min diff in UseInvItem.
7 years ago
Sergey Semushin
a549d5ebc4
Clean up CheckInvPaste (bin exact) ( #1205 )
7 years ago
Anders Jenbo
46d96eacad
Clean up objects.cpp
7 years ago
galaxyhaxz
167a6aae4e
Fix StartGoldDrop
7 years ago
Anders Jenbo
55a0396f8f
Clean up mem_free_dbg style
7 years ago
galaxyhaxz
777c517b8e
Change ASM macro
7 years ago
galaxyhaxz
540892ff9d
Preliminary support for fixed header files
7 years ago
galaxyhaxz
740e91e881
rename screen_y_times_768
7 years ago
Anders Jenbo
190106c8c5
Clean up CheckInvHLight
7 years ago
Anders Jenbo
bd12c6cce9
Clean up UseInvItem
7 years ago
Anders Jenbo
4a99a4a25b
Clean up SyncPutItem
7 years ago
Anders Jenbo
1dc7f98d6d
Clean up AutoGetItem
7 years ago
Anders Jenbo
c0531bfc4c
Some booleans
7 years ago
Anders Jenbo
26737a1594
Clean up StoreAutoPlace ( #956 )
7 years ago
Anders Jenbo
051af2cacc
Clean up InvPutItem
7 years ago
Anders Jenbo
310744866c
Clean up SpecialAutoPlace
7 years ago