aperturesecurity
839d4cdccf
changed build to automatically provide build copy everytime
7 years ago
Robin Eklind
8ed5573766
engine: clean up CelDecDatLightEntry and Cel2DecDatLightEntry ( #524 )
...
Now, these functions no longer use references. Instead they
use pointer to pointer. Furthermore, they've been simplified
to for loops, as essentially, the decompiled functions were
unrolled loops (as seen in the memset function).
7 years ago
Anders Jenbo
87ea335ec4
Compile gamemenu.cpp, track.cpp & trigs.cpp as C ( #525 )
...
This enables processing pfile.h as a C header, this adds two minor
warnings to the compile process but should be fine (game works)
7 years ago
Robin Eklind
6817fecc34
cursor.h and objects.h no longer have collisions
7 years ago
Robin Eklind
e915623726
rename SetCursor to SetCursor_ to avoid collision with windows.h
...
Translation done automatically using:
$ find . -type f -name '*.h' | xargs -I '{}' sar -i "([ \t])(SetCursor)[(]" '${1}${2}_(' '{}'
$ find . -type f -name '*.h' | xargs -I '{}' sar -i "([ \t])(SetCursor)[(]" '${1}${2}_(' '{}'
7 years ago
Robin Eklind
a94ac659a7
rename DeleteObject to DeleteObject_ to avoid collision with windows.h
7 years ago
Anders Jenbo
629dfa2083
Compile as c ( #522 )
...
* Reorder lib
This is the orhter that they appear in the exe imports
* Make includes C compatible
cursor.h: SetCursor conflicts with existing function
engine.h: CelDecDatLightEntry and Cel2DecDatLightEntry use by reference
*&
objects.h: DeleteObject conflicts with existing function
* Start compiling select files as C
* Clean up
pfile still emits warnings when parsed as C:
err:msvcrt:demangle_datatype Unknown type @
err:msvcrt:demangle_datatype Unknown type @
7 years ago
aperturesecurity
f88b32a834
added a halt to all channels if needed
7 years ago
ApertureSecurity
2ed093c0a6
Merge pull request #12 from Chance4us/master
...
Update sound.cpp
7 years ago
ApertureSecurity
85208ccb90
Merge branch 'master' into master
7 years ago
Anders Jenbo
db801ea4fd
Clean up MAI_Fireman ( #517 )
7 years ago
Anders Jenbo
024d99fc9e
C compatability from s ( #521 )
7 years ago
Chance4us
036d1cf9fe
Update sound.cpp
7 years ago
Anders Jenbo
9cb6f0748c
Merge branch 'nightly' into msg.cpp2
7 years ago
Anders Jenbo
b5f69dccdc
C compatability from d-p ( #519 )
7 years ago
Anders Jenbo
47bf82b059
C compatability from a-d ( #518 )
7 years ago
aperturesecurity
62357a25c7
removed more dependancies
7 years ago
ApertureSecurity
8a783f565d
Merge pull request #10 from Chance4us/master
...
Update sound.cpp
7 years ago
Anders Jenbo
4a62a7c678
Code style
7 years ago
Chance4us
62591c7be8
Update sound.cpp
...
line 104 / Mix_OpenAudio / third parameter had to be reverted
7 years ago
aperturesecurity
789aec38de
removed image and font dependancies from SDL now only SDL.h and SDL_Mixer should be needed
7 years ago
Chance4us
14ecc7d290
Update sound.cpp
...
great audio quality improvement from 8 to 16 bit format
7 years ago
aperturesecurity
ececadf59d
new game and difficulty selection added
7 years ago
aperturesecurity
e16df4f333
blacked out new game menu
7 years ago
aperturesecurity
3b84f7eeb1
Removed a game breaking feature with new game
7 years ago
Anders Jenbo
fe92bebaba
Clean up MAI_* ( #515 )
...
* Clean up MAI_Bat
* Apply MM_* enums to AI
* Clean up MAI_Fallen
* Unify MAI_* code style
7 years ago
aperturesecurity
51d7f36566
updated readme
7 years ago
aperturesecurity
e70aabf8eb
Added resizable screen. Game after starting game the mouse wont be allowed to leave screen
7 years ago
aperturesecurity
e30e9fad6b
Fixed part of a menu
7 years ago
aperturesecurity
2060a8ea30
Removed cursor when game starts
7 years ago
Anders Jenbo
43f98614b0
Clean up MAI_Zombie ( #514 )
7 years ago
aperturesecurity
26128adad3
Menu simplified and almost complete
7 years ago
Anders Jenbo
d26d307194
Towners.cpp ( #513 )
...
* Clean up FreeTownerGFX
* Apply talk_id
7 years ago
Anders Jenbo
5bc5da3597
Clean up DeltaLoadLevel
7 years ago
aperturesecurity
a33593c05c
changing menu items
7 years ago
Anders Jenbo
f1c2d3ddb6
Clean up PlrDeadItem
7 years ago
galaxyhaxz
040b4b0cc9
Cleanup game_loop
7 years ago
galaxyhaxz
eceb1c3b5b
Fix tempstr length, add array
7 years ago
galaxyhaxz
c302881060
Fix gszHero
7 years ago
galaxyhaxz
849ec37b70
Fix TBuffer type and buffer_init
7 years ago
Anders Jenbo
cd408cf3ee
Fix multiplayer crashing
...
Fixes #487 again
7 years ago
Anders Jenbo
f917bdbd9b
Clean up delta_put_item
7 years ago
Anders Jenbo
a40db4682b
Clean up DeltaImportJunk
7 years ago
Anders Jenbo
b262d34a5a
Clean up DeltaAddItem
7 years ago
Anders Jenbo
7973fde92f
Clean up DeltaExportJunk
7 years ago
Anders Jenbo
9a56a19c2b
Clean up DeltaExportData
7 years ago
Anders Jenbo
ec60523956
Clean up msg_wait_resync
7 years ago
Anders Jenbo
de1fb3c002
Clean up ParseCmd
7 years ago
Anders Jenbo
bd310ff8d5
Delta data ( #504 )
...
* Clean up DeltaImport*
* Clean up DeltaExportData related functions
7 years ago
Anders Jenbo
69d68254d5
Clean up msg.cpp ( #502 )
...
* Clean up msg_wait_for_turns
* Clean up msg_get_next_packet
* Clean up msg_pre_packet
* Clean up DeltaSaveLevel
* Simple clean ups for msg.cpp
* Clean up NetSendCmdQuest
* Clean up NetSendCmdGItem
* Clean up NetSendCmdGItem2
* Clean up NetSendCmdPItem
* Clean up NetSendCmdChItem
* Clean up NetSendCmdDItem
* Clean up multi_send_packet
* Clean up msg_errorf
* Clean up i_own_level
* Clean up msg_free_packets
7 years ago