Commit Graph

71 Commits

Author SHA1 Message Date
Fireboyd78
934132c25f Fixed strange bugs in FEPrintString caused by refactor. 2020-08-26 11:00:14 -07:00
Fireboyd78
f4cf0d3f75 Refactor: FEMAIN.C 2020-08-26 09:41:47 -07:00
Ilya Shurumov
e4b1d3840b - improve backgrounds for CityCutOffScreen 2020-08-22 21:25:39 +06:00
Ilya Shurumov
e27a7bf5c3 - implement CentreScreen, CopDiffLevelScreen, VibroOnOffScreen, SetVolumeScreen
- fix crash in frontend when no buttons displayed (controller screen)
2020-08-22 21:14:44 +06:00
Ilya Shurumov
ada773975c - move secret car fun cheat menu item upper
- city backgrounds only for PC
2020-08-22 13:57:32 +06:00
Fireboyd78
0c2afe8007 Make the Take a Ride screen have more pizazz to it. 2020-08-21 23:48:17 -07:00
Fireboyd78
2ecc0b3619 Refactor: CityCutOffScreen 2020-08-21 16:31:18 -07:00
Fireboyd78
a1d16f7488 Implement: CutSceneCitySelectScreen
- [PC] Blocked out code that tries to redraw the screen
2020-08-21 16:31:07 -07:00
Fireboyd78
3f573381bc Refactor: MissionCityScreen
- [PC] Blocked out code that tries to redraw the screen
2020-08-21 16:30:15 -07:00
Fireboyd78
62e94e337a Refactor: CarSelectScreen
- [PC] Blocked out code that tries to redraw the screen
2020-08-21 16:23:53 -07:00
Fireboyd78
977859d0b5 Refactor + Fix: DoFrontEnd
- [PC] Fixed a bug where the screen would draw too many times
2020-08-21 16:22:16 -07:00
Fireboyd78
f16f189285 Refactor: HandleKeyPress 2020-08-21 16:20:31 -07:00
Fireboyd78
0548a79326 Clean: DrawScreen 2020-08-21 16:16:04 -07:00
Fireboyd78
2456d7007d Fixed a bug in DrawScreen caused by refactoring. 2020-08-21 16:14:36 -07:00
Fireboyd78
c58690e3a4 Refactor: MissionCityScreen, MissionSelectScreen
- Better code flow for handling button input

- Fixed 'bP' being used incorrectly
2020-08-20 21:20:03 -07:00
Fireboyd78
26379945cc Refactor: FEInitCdIcon 2020-08-20 13:53:46 -07:00
Fireboyd78
bca2617df4 Clean: DisplayScoreTable - remove casts, change hex to decimal 2020-08-20 13:34:04 -07:00
Fireboyd78
f411d084f2 Refactor: MissionCityScreen 2020-08-20 13:27:57 -07:00
Fireboyd78
f914cf6053 Refactor: MissionSelectScreen 2020-08-20 13:20:53 -07:00
Fireboyd78
6286cf4fbb Clean: FEPrintString - use GTE macros 2020-08-20 13:20:18 -07:00
Fireboyd78
7cec4caca4 Refactor: NewSelection 2020-08-20 13:15:40 -07:00
Fireboyd78
a61fc7cad8 Clean: ReInitScreens 2020-08-20 13:15:04 -07:00
Fireboyd78
84b6e7a28d Refactor: SetupExtraPoly 2020-08-20 13:13:40 -07:00
Fireboyd78
fa3ddeb8ce Refactor: DisplayOnScreenText 2020-08-20 13:13:00 -07:00
Fireboyd78
6e9191e733 Refactor: DrawScreen 2020-08-20 13:12:25 -07:00
Fireboyd78
e238d3234f Clean: SetupScreenSprts 2020-08-20 13:11:59 -07:00
Fireboyd78
3d9ab1110b Refactor: SetupBackgroundPolys 2020-08-20 13:03:40 -07:00
Fireboyd78
dbee3aa19a Refactor: LoadBackgroundFile 2020-08-20 13:03:05 -07:00
Fireboyd78
052de1f1c5 Refactor: LoadFrontendScreens 2020-08-20 13:02:49 -07:00
Fireboyd78
1ee8d21d98 Clean: SetVariable 2020-08-20 13:00:39 -07:00
Ilya Shurumov
96731534e7 - fix frontend ReInitScreens 2020-06-06 17:35:10 +06:00
Ilya Shurumov
b7189f99f7 - allow cop cars to be selected in MP after game completion 2020-06-06 16:27:18 +06:00
Ilya Shurumov
6c14702b24 - [EMU] make GPU DR_* commands properly parsed
- [EMU] use ptag length instead of primitive_size
- [EMU] drawing area offset support
2020-06-06 13:51:27 +06:00
Ilya Shurumov
8c202856ef - fix SetupDrawBuffers, SetupDrawBufferData, InitaliseDrawEnv
- handle EndScene manually
2020-06-06 02:50:57 +06:00
Ilya Shurumov
cf2fc3cd92 - [EMU] LibGPU DrawPrim drawing always in front with polygon offset (and Z buffer) 2020-06-05 23:50:29 +06:00
Ilya Shurumov
dd05236d5b - implement TunnelSkyFade 2020-06-05 01:30:34 +06:00
Ilya Shurumov
c1e923a4e2 - implement LoadReplayFromBuffer, LoadAttractReplay 2020-05-21 00:30:02 +06:00
Ilya Shurumov
abda37108c - fix some frontend bugs
- fix the fixed
2020-05-20 21:46:52 +06:00
Ilya Shurumov
0cd7771884 - fix FEPrintString bug 2020-05-19 21:45:27 +06:00
Ilya Shurumov
647bd655cc - implement MissionCityScreen, MissionSelectScreen
- replay buffer allocation
- preparations
- bug fixes
2020-05-19 00:32:09 +06:00
Ilya Shurumov
ac84cb24bd - proper spooled models freeing 2020-05-16 18:33:44 +06:00
Ilya Shurumov
012f87bd62 - USE_CRT_MALLOC - use dynamic malloc whenever possible
- fix buildNewCarFromModel bug
2020-05-16 15:56:08 +06:00
Ilya Shurumov
8657ed5e8c - pretty pause code 2020-05-12 10:00:52 +06:00
Ilya Shurumov
5535f1f069 - allow secret cars in DEBUG 2020-04-28 12:48:18 +06:00
Ilya Shurumov
b8028d4faf - remove semi transparent flag from text on PC version 2020-04-26 06:33:43 +06:00
Ilya Shurumov
ecd8d93f3c - implement GetTEXINFName, GetTextureInfoName 2020-04-22 14:07:28 +06:00
Ilya Shurumov
7bb37e30f1 - implement CheatNumlayerSelect, GameNameScreen, GamePlayScreen
- implement InvincibleOnOffScreen, ImmunityOnOffScreen
- implement CheatScreen, ControllerScreen, SubtitlesOnOffScreen, DisplayScoreTable, ScoreScreen
2020-04-22 14:05:07 +06:00
Ilya Shurumov
e19a9c2be1 - fix possible bugs 2020-04-20 14:19:24 +06:00
Ilya Shurumov
ad962d1cf6 - temporariy allow all cities 2020-04-19 13:59:51 +06:00
Fireboyd78
2ddcda382c Implemented various functions + code cleanup.
* Added GetCarPalIndex

* Added GetRandomChase

* Added FindMissionLadderPos

* Added FindPrevMissionFromLadderPos

* Added EndGame

* Added Find_TexID

* Updated GameStart
 - Improved code flow
 - Removed gotos
 - Removed garbage "debug check"
 - Fixed code for cheats
 - Added inline helper functions to reduce bloat

* Updated ProcessLumps
 - Cleaned up code

* Updated DrawGame
 - Cleaned up code
 - Better VSync waiting

* Updated ProcessTextureInfo
 - Improved code flow
 - Cleaned up garbled non-sense code

* Updated SetVariable
 - Improved code flow
 - Removed gotos
 - Fixed code for cheats

* Updated HandleKeyPress
 - Improved code flow
 - Fixed decompilation bugs

* Updated PadChecks
 - Improved code flow
2020-04-10 15:12:50 -07:00