Code

History

Commits on master to src/data.c13
  1. Updating the credits in the code files.Rezmason committed 5 years ago187d464
  2. Renaming some util functions to better represent what they do, and not collide with library functionsRezmason committed 5 years ago7dabdc2
  3. We've now got our own strtok_r in the util module. Turned a character array that was missing its null terminator into a straight up char pointer. The game now hides the cursor when there's a keyboard interaction, and shows it again when there's a mouse movement. Fixed a few other issues that Devine reported.Rezmason committed 5 years agoe9588da
  4. Basis and input now handle keydown and keyup events. Fixed a bunch of uninitialized character arrays. The reset and walkthrough systems are now exposed through a press-and-hold system that's visually indicated by a screen-wide tinting effect. Images that fail to load instead use a one-pixel surface to populate a texture. In debug, that surface is magenta.Rezmason committed 5 years ago05b17a5
  5. Chapter locks and the walkthrough are implemented. Changed the way seal doors work and are encoded in data, to make it easier to define a chapter lock for one of them.Rezmason committed 5 years agob5fca70
  6. Endgame credit terminal now sets the completed flag on the game state. If the game loads and the state is completed, it gets automatically reset. Also moved some state reset logic to the node module.Rezmason committed 5 years agob563bc5
  7. Entente implemented.Rezmason committed 5 years ago883ea08
  8. Moved door and terminal logic into their respective modules.Rezmason committed 5 years ago2a7e6c2
  9. Node IDs are now strings! I renamed them all to be a letter representing their zone, followed by a letter representing their position. There's now a helpful map in the data file.Rezmason committed 5 years ago2b78ed8
  10. Shoving all the data into one file, that gets loaded, cut apart and handed to the different modelsRezmason committed 5 years ago5efa20b
  11. Implemented terminals. Fixed bugs all over the place.Rezmason committed 5 years agoad10e58
  12. Isolated door and terminal data from puzzle data. Isolated doors and terminals from puzzles. Added logic functions to all doors except for Entente. Merged some secret door types with the types that they're based on. Moved terminal billboards below HUD billboards. Moved GameState into datatypes.h.Rezmason committed 5 years agoea7a074
  13. Moved the data types to datatypes.h. data.h and data.c are now the top-level interface for all the nodes and puzzles that get loaded in.Rezmason committed 5 years ago52561e2

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t