Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decomp: mood-tables #460

Merged
merged 6 commits into from
May 12, 2021
Merged

decomp: mood-tables #460

merged 6 commits into from
May 12, 2021

Conversation

xTVaser
Copy link
Member

@xTVaser xTVaser commented May 12, 2021

Unlike level-info this doesn't contain the weird quote'ing behaviour, hopefully this passes CI successfully.

Copy link
Collaborator

@water111 water111 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it's close to working, but I think there will be a few issues when it compiles. You can always try it out locally by running the REPL and just doing (build-game).

;; definition for function make-light-kit
(defun
make-light-kit
((arg0 light-group) (arg1 float) (arg2 float) (arg3 float) (arg4 float))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like to put all these on the same line:
(defun make-light-kit ((arg0 light-group) (arg1 float) (arg2 float) (arg3 float) (arg4 float))
Not a huge deal, but having the name on the same line as defun makes it easier to search for defun make-light-kit.

(let ((s4-0 (new 'stack-no-clear 'matrix)))
(matrix-rotate-y! s4-0 arg1)
(let ((v1-0 (-> arg0 dir0)))
(set! (-> v1-0 direction x) (l.f L87))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll need to add these labels to label_types.json, until I get around to fixing #461. These are just floats.


;; definition for symbol *default-interp-table*, type sky-color-day
(define
*default-interp-table*
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd recommend putting define and *default-interp-table* on the same line here and in all the other defines.

@coveralls
Copy link

coveralls commented May 12, 2021

Pull Request Test Coverage Report for Build 834028438

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 69.212%

Totals Coverage Status
Change from base Build 833817222: 0.0%
Covered Lines: 34271
Relevant Lines: 49516

💛 - Coveralls

@water111 water111 merged commit 3897258 into open-goal:master May 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants